Commit 1b11e400 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/Calls/ConferenceManager): in progress

parent 1982234f
...@@ -368,7 +368,7 @@ Server url not configured.</translation> ...@@ -368,7 +368,7 @@ Server url not configured.</translation>
<name>ConferenceControls</name> <name>ConferenceControls</name>
<message> <message>
<source>conference</source> <source>conference</source>
<translation type="unfinished"></translation> <translation>CONFERENCE</translation>
</message> </message>
</context> </context>
<context> <context>
......
...@@ -368,7 +368,7 @@ Url du serveur non configurée.</translation> ...@@ -368,7 +368,7 @@ Url du serveur non configurée.</translation>
<name>ConferenceControls</name> <name>ConferenceControls</name>
<message> <message>
<source>conference</source> <source>conference</source>
<translation type="unfinished"></translation> <translation>CONFÉRENCE</translation>
</message> </message>
</context> </context>
<context> <context>
......
...@@ -327,6 +327,7 @@ ...@@ -327,6 +327,7 @@
<file>ui/modules/Linphone/Styles/Calls/CallControlsStyle.qml</file> <file>ui/modules/Linphone/Styles/Calls/CallControlsStyle.qml</file>
<file>ui/modules/Linphone/Styles/Calls/CallsStyle.qml</file> <file>ui/modules/Linphone/Styles/Calls/CallsStyle.qml</file>
<file>ui/modules/Linphone/Styles/Calls/CallStatisticsStyle.qml</file> <file>ui/modules/Linphone/Styles/Calls/CallStatisticsStyle.qml</file>
<file>ui/modules/Linphone/Styles/Calls/ConferenceControlsStyle.qml</file>
<file>ui/modules/Linphone/Styles/Chat/ChatStyle.qml</file> <file>ui/modules/Linphone/Styles/Chat/ChatStyle.qml</file>
<file>ui/modules/Linphone/Styles/Codecs/CodecsViewerStyle.qml</file> <file>ui/modules/Linphone/Styles/Codecs/CodecsViewerStyle.qml</file>
<file>ui/modules/Linphone/Styles/Contact/AvatarStyle.qml</file> <file>ui/modules/Linphone/Styles/Contact/AvatarStyle.qml</file>
......
...@@ -107,6 +107,8 @@ function resetSelectedCall () { ...@@ -107,6 +107,8 @@ function resetSelectedCall () {
function setIndexWithCall (call) { function setIndexWithCall (call) {
var count = calls.count var count = calls.count
var model = calls.model
for (var i = 0; i < count; i++) { for (var i = 0; i < count; i++) {
if (call === model.data(model.index(i, 0))) { if (call === model.data(model.index(i, 0))) {
updateSelectedCall(call, i) updateSelectedCall(call, i)
......
...@@ -12,7 +12,6 @@ Rectangle { ...@@ -12,7 +12,6 @@ Rectangle {
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
property alias signIcon: signIcon.icon
property alias textColor: text.color property alias textColor: text.color
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
...@@ -21,8 +20,8 @@ Rectangle { ...@@ -21,8 +20,8 @@ Rectangle {
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
color: CallControlsStyle.color color: ConferenceControlsStyle.color
height: CallControlsStyle.height height: ConferenceControlsStyle.height
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
...@@ -30,22 +29,11 @@ Rectangle { ...@@ -30,22 +29,11 @@ Rectangle {
onClicked: callControls.clicked() onClicked: callControls.clicked()
} }
Icon {
id: signIcon
anchors {
left: parent.left
top: parent.top
}
iconSize: CallControlsStyle.signSize
}
RowLayout { RowLayout {
anchors { anchors {
fill: parent fill: parent
leftMargin: CallControlsStyle.leftMargin leftMargin: ConferenceControlsStyle.leftMargin
rightMargin: CallControlsStyle.rightMargin rightMargin: ConferenceControlsStyle.rightMargin
} }
spacing: 0 spacing: 0
...@@ -56,7 +44,10 @@ Rectangle { ...@@ -56,7 +44,10 @@ Rectangle {
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
font.bold: true
text: qsTr('conference') text: qsTr('conference')
verticalAlignment: Text.AlignVCenter
} }
} }
} }
pragma Singleton
import QtQuick 2.7
import Common 1.0
// =============================================================================
QtObject {
property color color: Colors.e
property int height: 60
property int leftMargin: 12
property int rightMargin: 12
}
...@@ -11,9 +11,10 @@ singleton RequestBlockStyle 1.0 Blocks/RequestBlockStyle.qml ...@@ -11,9 +11,10 @@ singleton RequestBlockStyle 1.0 Blocks/RequestBlockStyle.qml
singleton ChatStyle 1.0 Chat/ChatStyle.qml singleton ChatStyle 1.0 Chat/ChatStyle.qml
singleton CallsStyle 1.0 Calls/CallsStyle.qml
singleton CallControlsStyle 1.0 Calls/CallControlsStyle.qml singleton CallControlsStyle 1.0 Calls/CallControlsStyle.qml
singleton CallsStyle 1.0 Calls/CallsStyle.qml
singleton CallStatisticsStyle 1.0 Calls/CallStatisticsStyle.qml singleton CallStatisticsStyle 1.0 Calls/CallStatisticsStyle.qml
singleton ConferenceControlsStyle 1.0 Calls/ConferenceControlsStyle.qml
singleton CodecsViewerStyle 1.0 Codecs/CodecsViewerStyle.qml singleton CodecsViewerStyle 1.0 Codecs/CodecsViewerStyle.qml
......
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