Commit a7a5c96d authored by Ronan Abhamon's avatar Ronan Abhamon

feat(app): calls views in progress

parent 854cbeb6
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="statut_avatar_available_l"> <g id="statut_avatar_available_l">
<path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" fill="#9ECD1D"></path> <path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" fill="#9ECD1D"></path>
<use stroke="#FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use> <use stroke="#00FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use>
</g> </g>
</g> </g>
</svg> </svg>
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="statut_avatar_absent_l"> <g id="statut_avatar_absent_l">
<path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" fill="#EFAE00"></path> <path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" fill="#EFAE00"></path>
<use stroke="#FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use> <use stroke="#00FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use>
</g> </g>
</g> </g>
</svg> </svg>
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="statut_avatar_busy_l"> <g id="statut_avatar_busy_l">
<path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" id="statut_avatar_busy_s" fill="#DC4100"></path> <path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" id="statut_avatar_busy_s" fill="#DC4100"></path>
<use id="statut_avatar_busy_s" stroke="#FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use> <use id="statut_avatar_busy_s" stroke="#00FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use>
</g> </g>
</g> </g>
</svg> </svg>
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="statut_avatar_disconnected_l"> <g id="statut_avatar_disconnected_l">
<path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" fill="#B1B1B1"></path> <path d="M7.9995,16 C3.581,16 0,12.4185 0,8 C0,3.582 3.581,0 7.9995,0 C12.418,0 16,3.582 16,8 C16,12.4185 12.418,16 7.9995,16 Z" fill="#B1B1B1"></path>
<use stroke="#FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use> <use stroke="#00FFFFFF" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use>
</g> </g>
</g> </g>
</svg> </svg>
\ No newline at end of file
...@@ -44,6 +44,9 @@ ...@@ -44,6 +44,9 @@
<file>assets/images/led_red.svg</file> <file>assets/images/led_red.svg</file>
<file>assets/images/led_white.svg</file> <file>assets/images/led_white.svg</file>
<file>assets/images/linphone.png</file> <file>assets/images/linphone.png</file>
<file>assets/images/micro_off_hovered.svg</file>
<file>assets/images/micro_off_normal.svg</file>
<file>assets/images/micro_off_pressed.svg</file>
<file>assets/images/micro_on_hovered.svg</file> <file>assets/images/micro_on_hovered.svg</file>
<file>assets/images/micro_on_normal.svg</file> <file>assets/images/micro_on_normal.svg</file>
<file>assets/images/micro_on_pressed.svg</file> <file>assets/images/micro_on_pressed.svg</file>
...@@ -51,6 +54,9 @@ ...@@ -51,6 +54,9 @@
<file>assets/images/missed_outgoing_call.svg</file> <file>assets/images/missed_outgoing_call.svg</file>
<file>assets/images/outgoing_call.svg</file> <file>assets/images/outgoing_call.svg</file>
<file>assets/images/search.svg</file> <file>assets/images/search.svg</file>
<file>assets/images/speaker_off_hovered.svg</file>
<file>assets/images/speaker_off_normal.svg</file>
<file>assets/images/speaker_off_pressed.svg</file>
<file>assets/images/speaker_on_hovered.svg</file> <file>assets/images/speaker_on_hovered.svg</file>
<file>assets/images/speaker_on_normal.svg</file> <file>assets/images/speaker_on_normal.svg</file>
<file>assets/images/speaker_on_pressed.svg</file> <file>assets/images/speaker_on_pressed.svg</file>
......
...@@ -17,7 +17,7 @@ Button { ...@@ -17,7 +17,7 @@ Button {
// `icon`_pressed, `icon`_hovered and `icon`_normal. // `icon`_pressed, `icon`_hovered and `icon`_normal.
property string icon property string icon
// ----------------------------------------------------------------- // -----------------------------------------------------------------
function _getIcon () { function _getIcon () {
if (!useStates) { if (!useStates) {
...@@ -31,7 +31,7 @@ Button { ...@@ -31,7 +31,7 @@ Button {
) )
} }
// ----------------------------------------------------------------- // -----------------------------------------------------------------
background: Rectangle { background: Rectangle {
color: 'transparent' color: 'transparent'
......
...@@ -3,25 +3,25 @@ import QtQuick 2.7 ...@@ -3,25 +3,25 @@ import QtQuick 2.7
// =================================================================== // ===================================================================
Item { Item {
property alias useStates: actionButton.useStates property alias useStates: actionButton.useStates
property int iconSize // Optionnal. property int iconSize // Optionnal.
property string icon property string icon
property bool enabled: true property bool enabled: true
signal onClicked signal clicked
// ----------------------------------------------------------------- // -----------------------------------------------------------------
height: iconSize || parent.iconSize || parent.height height: iconSize || parent.iconSize || parent.height
width: iconSize || parent.iconSize || parent.height width: iconSize || parent.iconSize || parent.height
ActionButton { ActionButton {
id: actionButton id: actionButton
anchors.fill: parent anchors.fill: parent
icon: parent.icon + (parent.enabled ? '_on' : '_off') icon: parent.icon + (parent.enabled ? '_on' : '_off')
onClicked: parent.onClicked onClicked: parent.clicked()
} }
} }
...@@ -58,6 +58,7 @@ Item { ...@@ -58,6 +58,7 @@ Item {
} }
text: _computeInitials() text: _computeInitials()
visible: roundedImage.status !== Image.Ready
} }
PresenceLevel { PresenceLevel {
...@@ -68,7 +69,7 @@ Item { ...@@ -68,7 +69,7 @@ Item {
right: parent.right right: parent.right
} }
height: parent.height / 3 height: parent.height / 4
width: parent.width / 3 width: parent.width / 4
} }
} }
import QtQuick 2.7
import Common 1.0 import Common 1.0
// =================================================================== // ===================================================================
...@@ -9,21 +11,31 @@ AbstractCall { ...@@ -9,21 +11,31 @@ AbstractCall {
ActionBar { ActionBar {
anchors { anchors {
left: parent.left left: parent.left
leftMargin: 50 leftMargin: 50
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
} }
iconSize: 40 iconSize: 40
ActionSwitch { ActionSwitch {
icon: 'micro' icon: 'micro'
onClicked: enabled = !enabled
} }
ActionSwitch { ActionSwitch {
icon: 'speaker' icon: 'speaker'
onClicked: enabled = !enabled
} }
} }
Rectangle {
anchors.centerIn: parent
color: 'red'
width: 130
height: 80
visible: isVideoCall
}
ActionBar { ActionBar {
anchors { anchors {
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
......
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