1import Common 1.0
2
3import App.Styles 1.0
4
5// =============================================================================
6
7AbstractStartingCall {
8  ActionBar {
9    anchors.centerIn: parent
10    iconSize: CallStyle.actionArea.iconSize
11
12    ActionButton {
13      icon: 'video_call_accept'
14
15      onClicked: call.acceptWithVideo()
16    }
17
18    ActionButton {
19      icon: 'call_accept'
20
21      onClicked: call.accept()
22    }
23  }
24
25  ActionBar {
26    anchors {
27      right: parent.right
28      rightMargin: CallStyle.actionArea.rightButtonsGroupMargin
29      verticalCenter: parent.verticalCenter
30    }
31    iconSize: CallStyle.actionArea.iconSize
32
33    ActionButton {
34      icon: 'hangup'
35
36      onClicked: call.terminate()
37    }
38  }
39}
40