Commit fedf0cae authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/IncallFullscreen): escape quit fullscreen

parent ffd3b4b4
...@@ -30,6 +30,9 @@ Window { ...@@ -30,6 +30,9 @@ Window {
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
height: Screen.height
width: Screen.width
visible: true visible: true
visibility: Window.FullScreen visibility: Window.FullScreen
...@@ -40,7 +43,9 @@ Window { ...@@ -40,7 +43,9 @@ Window {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
color: '#000000' // Not a style. color: '#000000' // Not a style.
} focus: true
Keys.onEscapePressed: incall.close()
Camera { Camera {
id: camera id: camera
...@@ -57,9 +62,9 @@ Window { ...@@ -57,9 +62,9 @@ Window {
spacing: 0 spacing: 0
// ------------------------------------------------------------------------- // -----------------------------------------------------------------------
// Call info. // Call info.
// ------------------------------------------------------------------------- // -----------------------------------------------------------------------
Item { Item {
id: info id: info
...@@ -95,9 +100,9 @@ Window { ...@@ -95,9 +100,9 @@ Window {
} }
} }
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
// Timer. // Timer.
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
Text { Text {
id: elapsedTime id: elapsedTime
...@@ -124,9 +129,9 @@ Window { ...@@ -124,9 +129,9 @@ Window {
} }
} }
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
// Video actions. // Video actions.
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
ActionBar { ActionBar {
anchors.right: parent.right anchors.right: parent.right
...@@ -154,9 +159,9 @@ Window { ...@@ -154,9 +159,9 @@ Window {
} }
} }
// ------------------------------------------------------------------------- // -----------------------------------------------------------------------
// Action Buttons. // Action Buttons.
// ------------------------------------------------------------------------- // -----------------------------------------------------------------------
Item { Item {
Layout.alignment: Qt.AlignBottom Layout.alignment: Qt.AlignBottom
...@@ -231,4 +236,5 @@ Window { ...@@ -231,4 +236,5 @@ Window {
} }
} }
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment