Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
4939fadd
Commit
4939fadd
authored
May 29, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/Calls/ConferenceManager): in progress
parent
ec112a8e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
61 deletions
+78
-61
resources.qrc
linphone-desktop/resources.qrc
+1
-0
Conference.qml
linphone-desktop/ui/views/App/Calls/Conference.qml
+47
-54
CallStyle.qml
linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml
+0
-7
ConferenceStyle.qml
...one-desktop/ui/views/App/Styles/Calls/ConferenceStyle.qml
+29
-0
qmldir
linphone-desktop/ui/views/App/Styles/qmldir
+1
-0
No files found.
linphone-desktop/resources.qrc
View file @
4939fadd
...
...
@@ -405,6 +405,7 @@
<file>
ui/views/App/Styles/Calls/CallStyle.qml
</file>
<file>
ui/views/App/Styles/Calls/CallsWindowStyle.qml
</file>
<file>
ui/views/App/Styles/Calls/ConferenceManagerStyle.qml
</file>
<file>
ui/views/App/Styles/Calls/ConferenceStyle.qml
</file>
<file>
ui/views/App/Styles/Main/AboutStyle.qml
</file>
<file>
ui/views/App/Styles/Main/Assistant/ActivateLinphoneSipAccountWithEmailStyle.qml
</file>
<file>
ui/views/App/Styles/Main/Assistant/AssistantAbstractViewStyle.qml
</file>
...
...
linphone-desktop/ui/views/App/Calls/Conference.qml
View file @
4939fadd
...
...
@@ -33,7 +33,7 @@ Rectangle {
Layout.fillWidth
:
true
Layout.leftMargin
:
CallStyle
.
header
.
leftMargin
Layout.rightMargin
:
CallStyle
.
header
.
rightMargin
Layout.preferredHeight
:
C
allStyle
.
header
.
conferenceD
escription
.
height
Layout.preferredHeight
:
C
onferenceStyle
.
d
escription
.
height
ActionBar
{
id
:
leftActions
...
...
@@ -49,15 +49,15 @@ Rectangle {
horizontalAlignment
:
Text
.
AlignHCenter
text
:
qsTr
(
'
conferenceTitle
'
)
color
:
C
allStyle
.
header
.
conferenceD
escription
.
color
color
:
C
onferenceStyle
.
d
escription
.
color
font
{
bold
:
true
pointSize
:
C
allStyle
.
header
.
conferenceD
escription
.
fontSize
pointSize
:
C
onferenceStyle
.
d
escription
.
fontSize
}
height
:
parent
.
height
width
:
parent
.
width
-
rightActions
.
width
-
leftActions
.
width
-
C
allStyle
.
header
.
conferenceD
escription
.
width
width
:
parent
.
width
-
rightActions
.
width
-
leftActions
.
width
-
C
onferenceStyle
.
d
escription
.
width
}
// -----------------------------------------------------------------------
...
...
@@ -93,47 +93,66 @@ Rectangle {
Layout.fillHeight
:
true
Layout.margins
:
CallStyle
.
container
.
margins
GridView
{
id
:
grid
anchors.fill
:
parent
cellHeight
:
145
cellWidth
:
154
cellHeight
:
ConferenceStyle
.
grid
.
cell
.
height
cellWidth
:
ConferenceStyle
.
grid
.
cell
.
width
model
:
ConferenceModel
{
id
:
conference
}
delegate
:
ColumnLayout
{
readonly
property
string
sipAddress
:
$call
.
sipAddress
readonly
property
var
sipAddressObserver
:
SipAddressesModel
.
getSipAddressObserver
(
sipAddress
)
delegate
:
Item
{
height
:
grid
.
cellHeight
width
:
grid
.
cellWidth
ContactDescription
{
id
:
contactDescription
Column
{
readonly
property
string
sipAddress
:
$call
.
sipAddress
readonly
property
var
sipAddressObserver
:
SipAddressesModel
.
getSipAddressObserver
(
sipAddress
)
anchors
{
fill
:
parent
margins
:
ConferenceStyle
.
grid
.
spacing
}
Layout.preferredHeight
:
35
Layout.fillWidth
:
true
spacing
:
ConferenceStyle
.
grid
.
cell
.
spacing
horizontalTextAlignment
:
Text
.
AlignHCenter
sipAddress
:
parent
.
sipAddressObserver
.
sipAddress
username
:
LinphoneUtils
.
getContactUsername
(
parent
.
sipAddressObserver
.
contact
||
parent
.
sipAddress
)
}
ContactDescription
{
id
:
contactDescription
height
:
ConferenceStyle
.
grid
.
cell
.
contactDescription
.
height
width
:
parent
.
width
horizontalTextAlignment
:
Text
.
AlignHCenter
sipAddress
:
parent
.
sipAddressObserver
.
sipAddress
username
:
LinphoneUtils
.
getContactUsername
(
parent
.
sipAddressObserver
.
contact
||
parent
.
sipAddress
)
}
Avatar
{
readonly
property
int
size
:
Math
.
min
(
parent
.
width
,
parent
.
height
-
contactDescription
.
height
-
parent
.
spacing
)
anchors.horizontalCenter
:
parent
.
horizontalCenter
height
:
size
width
:
size
backgroundColor
:
CallStyle
.
container
.
avatar
.
backgroundColor
foregroundColor
:
$call
.
status
===
CallModel
.
CallStatusPaused
?
CallStyle
.
container
.
pause
.
color
:
'
transparent
'
Avatar
{
height
:
parent
.
width
width
:
parent
.
width
image
:
{
var
contact
=
parent
.
sipAddressObserver
.
contact
if
(
contact
)
{
return
contact
.
vcard
.
avatar
}
}
backgroundColor
:
CallStyle
.
container
.
avatar
.
backgroundColor
foregroundColor
:
incall
.
call
.
status
===
CallModel
.
CallStatusPaused
?
CallStyle
.
container
.
pause
.
color
:
'
transparent
'
image
:
parent
.
sipAddressObserver
.
contact
&&
parent
.
sipAddressObserver
.
contact
.
vcard
.
avatar
username
:
contactDescription
.
username
username
:
contactDescription
.
username
}
}
}
}
...
...
@@ -155,32 +174,6 @@ Rectangle {
}
spacing
:
ActionBarStyle
.
spacing
Row
{
spacing
:
CallStyle
.
actionArea
.
vu
.
spacing
VuMeter
{
Timer
{
interval
:
50
repeat
:
true
running
:
micro
.
enabled
onTriggered
:
parent
.
value
=
conference
.
microVu
}
enabled
:
micro
.
enabled
}
ActionSwitch
{
id
:
micro
enabled
:
!
conference
.
microMuted
icon
:
'
micro
'
iconSize
:
CallStyle
.
actionArea
.
iconSize
onClicked
:
conference
.
microMuted
=
enabled
}
}
}
ActionBar
{
...
...
linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml
View file @
4939fadd
...
...
@@ -66,13 +66,6 @@ QtObject {
property
int
width
:
150
}
property
QtObject
conferenceDescription
:
QtObject
{
property
color
color
:
Colors
.
x
property
int
fontSize
:
12
property
int
height
:
60
property
int
width
:
150
}
property
QtObject
elapsedTime
:
QtObject
{
property
color
color
:
Colors
.
j
property
int
fontSize
:
10
...
...
linphone-desktop/ui/views/App/Styles/Calls/ConferenceStyle.qml
0 → 100644
View file @
4939fadd
pragma
Singleton
import
QtQuick
2.7
import
Common
1.0
// =============================================================================
QtObject
{
property
QtObject
description
:
QtObject
{
property
color
color
:
Colors
.
x
property
int
fontSize
:
12
property
int
height
:
60
property
int
width
:
150
}
property
QtObject
grid
:
QtObject
{
property
int
spacing
:
5
property
QtObject
cell
:
QtObject
{
property
int
height
:
145
property
int
spacing
:
5
property
int
width
:
154
property
QtObject
contactDescription
:
QtObject
{
property
int
height
:
35
}
}
}
}
linphone-desktop/ui/views/App/Styles/qmldir
View file @
4939fadd
...
...
@@ -7,6 +7,7 @@ module App.Styles
singleton CallStyle 1.0 Calls/CallStyle.qml
singleton CallsWindowStyle 1.0 Calls/CallsWindowStyle.qml
singleton ConferenceManagerStyle 1.0 Calls/ConferenceManagerStyle.qml
singleton ConferenceStyle 1.0 Calls/ConferenceStyle.qml
singleton ActivateLinphoneSipAccountWithEmailStyle 1.0 Main/Assistant/ActivateLinphoneSipAccountWithEmailStyle.qml
singleton AssistantAbstractViewStyle 1.0 Main/Assistant/AssistantAbstractViewStyle.qml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment