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
70c26565
Commit
70c26565
authored
Apr 19, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/modules/Linphone/Calls/CallStatistics): better style and reworking
parent
4c9f5807
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
15 deletions
+28
-15
CallStatistics.qml
...hone-desktop/ui/modules/Linphone/Calls/CallStatistics.qml
+15
-6
CallStatisticsStyle.qml
.../ui/modules/Linphone/Styles/Calls/CallStatisticsStyle.qml
+8
-6
Incall.qml
linphone-desktop/ui/views/App/Calls/Incall.qml
+1
-3
CallStyle.qml
linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml
+4
-0
No files found.
linphone-desktop/ui/modules/Linphone/Calls/CallStatistics.qml
View file @
70c26565
...
...
@@ -15,7 +15,7 @@ AbstractDropDownMenu {
// ---------------------------------------------------------------------------
function
_computeHeight
()
{
return
callStatistics
.
height
return
CallStatisticsStyle
.
height
}
// ---------------------------------------------------------------------------
...
...
@@ -25,14 +25,16 @@ AbstractDropDownMenu {
RowLayout
{
spacing
:
CallStatisticsStyle
.
spacing
width
:
parent
.
width
// -----------------------------------------------------------------------
----
// -----------------------------------------------------------------------
Text
{
Layout.preferredWidth
:
CallStatisticsStyle
.
key
.
width
color
:
CallStatisticsStyle
.
key
.
color
elide
:
Text
.
ElideRight
font
{
pointSize
:
CallStatisticsStyle
.
key
.
fontSize
bold
:
true
...
...
@@ -44,10 +46,11 @@ AbstractDropDownMenu {
text
:
modelData
.
key
}
// -----------------------------------------------------------------------
----
// -----------------------------------------------------------------------
Text
{
Layout.fillWidth
:
true
color
:
CallStatisticsStyle
.
value
.
color
elide
:
Text
.
ElideRight
font.pointSize
:
CallStatisticsStyle
.
value
.
fontSize
...
...
@@ -63,17 +66,20 @@ AbstractDropDownMenu {
id
:
media
Column
{
width
:
parent
.
width
Text
{
width
:
parent
.
width
color
:
CallStatisticsStyle
.
title
.
color
font
{
bold
:
true
pointSize
:
CallStatisticsStyle
.
title
.
fontSize
}
elide
:
Text
.
ElideRight
horizontalAlignment
:
Text
.
AlignHCenter
text
:
$label
height
:
contentHeight
+
CallStatisticsStyle
.
title
.
bottomMargin
width
:
parent
.
width
}
Repeater
{
...
...
@@ -92,6 +98,7 @@ AbstractDropDownMenu {
Row
{
anchors
{
fill
:
parent
topMargin
:
CallStatisticsStyle
.
topMargin
leftMargin
:
CallStatisticsStyle
.
leftMargin
rightMargin
:
CallStatisticsStyle
.
rightMargin
}
...
...
@@ -99,6 +106,7 @@ AbstractDropDownMenu {
Loader
{
property
string
$label
:
qsTr
(
"
audioStatsLabel
"
)
property
var
$data
:
callStatistics
.
call
.
audioStats
sourceComponent
:
media
width
:
parent
.
width
/
2
}
...
...
@@ -106,6 +114,7 @@ AbstractDropDownMenu {
Loader
{
property
string
$label
:
qsTr
(
"
videoStatsLabel
"
)
property
var
$data
:
callStatistics
.
call
.
videoStats
sourceComponent
:
media
width
:
parent
.
width
/
2
}
...
...
linphone-desktop/ui/modules/Linphone/Styles/Calls/CallStatisticsStyle.qml
View file @
70c26565
...
...
@@ -7,24 +7,26 @@ import Common 1.0
QtObject
{
property
color
color
:
Colors
.
e
property
int
height
:
6
0
property
int
height
:
25
0
property
int
leftMargin
:
12
property
int
rightMargin
:
12
property
int
width
:
240
property
int
spacing
:
8
property
int
topMargin
:
10
property
QtObject
title
:
QtObject
{
property
color
color
:
Colors
.
l
property
color
color
:
Colors
.
d
property
int
bottomMargin
:
20
property
int
fontSize
:
16
}
property
QtObject
key
:
QtObject
{
property
int
width
:
200
property
color
color
:
Colors
.
l
property
color
color
:
Colors
.
d
property
int
fontSize
:
10
property
int
width
:
200
}
property
QtObject
value
:
QtObject
{
property
color
color
:
Colors
.
l
property
color
color
:
Colors
.
d
property
int
fontSize
:
10
}
}
linphone-desktop/ui/views/App/Calls/Incall.qml
View file @
70c26565
...
...
@@ -87,14 +87,12 @@ Rectangle {
id
:
callStatistics
call
:
incall
.
call
height
:
container
.
height
width
:
container
.
width
launcher
:
callQuality
relativeTo
:
callQuality
relativeY
:
info
.
height
+
elapsedTime
.
height
*
2
relativeY
:
CallStyle
.
header
.
stats
.
relativeY
}
}
...
...
linphone-desktop/ui/views/App/Styles/Calls/CallStyle.qml
View file @
70c26565
...
...
@@ -66,5 +66,9 @@ QtObject {
property
int
fontSize
:
10
property
int
fullscreenFontSize
:
12
}
property
QtObject
stats
:
QtObject
{
property
int
relativeY
:
90
}
}
}
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