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
6e1cdc70
Commit
6e1cdc70
authored
Oct 31, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring (in progress)
parent
0813eda3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
13 deletions
+25
-13
Colors.qml
tests/ui/modules/Common/Colors.qml
+2
-3
ForceScrollBar.qml
tests/ui/modules/Common/ForceScrollBar.qml
+4
-1
ForceScrollBarStyle.qml
tests/ui/modules/Common/Styles/ForceScrollBarStyle.qml
+2
-4
Contact.qml
tests/ui/modules/Linphone/Contact/Contact.qml
+2
-1
TimelineStyle.qml
tests/ui/modules/Linphone/Styles/TimelineStyle.qml
+8
-1
Timeline.qml
tests/ui/modules/Linphone/Timeline.qml
+6
-1
MainWindow.qml
tests/ui/views/App/MainWindow/MainWindow.qml
+1
-1
MainWindowStyle.qml
tests/ui/views/App/Styles/MainWindow/MainWindowStyle.qml
+0
-1
No files found.
tests/ui/modules/Common/Colors.qml
View file @
6e1cdc70
...
...
@@ -4,7 +4,6 @@ import QtQuick 2.7
QtObject
{
property
color
a
:
'
transparent
'
property
color
b
:
'
#5E5E5F
'
// Pressed toolbar.
property
color
c
:
'
#C5C5C5
'
// Released toolbar.
property
color
d
:
'
#5A585B
'
// Text color.
...
...
@@ -12,8 +11,6 @@ QtObject {
property
color
f
:
'
#808080
'
// Popup shadow.
property
color
l
:
'
#000000
'
// Text color.
property
color
m
:
'
#D1D1D1
'
// SmallButton Normal.
...
...
@@ -35,6 +32,8 @@ QtObject {
// -----------------------------------------------------------------
property
color
g
:
'
#6B7A86
'
property
color
g10
:
'
#1A6b7a86
'
property
color
g20
:
'
#336b7a86
'
property
color
h
:
'
#687680
'
property
color
i
:
'
#FE5E00
'
property
color
j
:
'
#4B5964
'
...
...
tests/ui/modules/Common/ForceScrollBar.qml
View file @
6e1cdc70
...
...
@@ -10,7 +10,10 @@ import Common.Styles 1.0
ScrollBar
{
id
:
scrollBar
background
:
ForceScrollBarStyle
.
background
background
:
Rectangle
{
anchors.fill
:
parent
color
:
ForceScrollBarStyle
.
backgroundColor
}
contentItem
:
Rectangle
{
color
:
scrollBar
.
pressed
?
ForceScrollBarStyle
.
color
.
pressed
...
...
tests/ui/modules/Common/Styles/ForceScrollBarStyle.qml
View file @
6e1cdc70
...
...
@@ -6,9 +6,7 @@ import Common 1.0
// ===================================================================
QtObject
{
property
Rectangle
background
:
Rectangle
{
color
:
Colors
.
a
}
property
color
backgroundColor
:
Colors
.
g20
property
Rectangle
contentItem
:
Rectangle
{
implicitHeight
:
100
...
...
@@ -18,7 +16,7 @@ QtObject {
property
QtObject
color
:
QtObject
{
property
color
hovered
:
Colors
.
h
property
color
normal
:
Colors
.
c
property
color
normal
:
Colors
.
g20
property
color
pressed
:
Colors
.
b
}
}
tests/ui/modules/Linphone/Contact/Contact.qml
View file @
6e1cdc70
...
...
@@ -7,13 +7,14 @@ import Linphone.Styles 1.0
// ===================================================================
Item
{
Rectangle
{
property
alias
actions
:
actionBar
.
data
property
alias
sipAddressColor
:
description
.
sipAddressColor
property
alias
usernameColor
:
description
.
usernameColor
property
var
contact
color
:
'
transparent
'
// No color by default.
height
:
ContactStyle
.
height
RowLayout
{
...
...
tests/ui/modules/Linphone/Styles/TimelineStyle.qml
View file @
6e1cdc70
...
...
@@ -3,11 +3,18 @@ import QtQuick 2.7
import
Common
1.0
// ===================================================================
QtObject
{
property
QtObject
contact
:
QtObject
{
property
color
colorA
:
Colors
.
g10
property
color
colorB
:
Colors
.
a
property
int
height
:
60
}
property
QtObject
legend
:
QtObject
{
property
color
backgroundColor
:
Colors
.
u
property
color
color
:
Colors
.
k
property
int
bottomMargin
:
10
property
int
fontSize
:
12
property
int
height
:
30
property
int
iconSize
:
10
...
...
tests/ui/modules/Linphone/Timeline.qml
View file @
6e1cdc70
...
...
@@ -9,8 +9,9 @@ import Linphone.Styles 1.0
ColumnLayout
{
property
alias
model
:
view
.
model
spacing
:
0
Rectangle
{
Layout.bottomMargin
:
TimelineStyle
.
legend
.
bottomMargin
Layout.fillWidth
:
true
Layout.preferredHeight
:
TimelineStyle
.
legend
.
height
color
:
TimelineStyle
.
legend
.
backgroundColor
...
...
@@ -48,7 +49,11 @@ ColumnLayout {
Layout.fillWidth
:
true
delegate
:
Contact
{
color
:
index
%
2
==
0
?
TimelineStyle
.
contact
.
colorA
:
TimelineStyle
.
contact
.
colorB
contact
:
$contact
height
:
TimelineStyle
.
contact
.
height
width
:
parent
.
width
}
}
...
...
tests/ui/views/App/MainWindow/MainWindow.qml
View file @
6e1cdc70
...
...
@@ -100,7 +100,7 @@ ApplicationWindow {
Layout.fillHeight
:
true
Layout.maximumWidth
:
MainWindowStyle
.
menu
.
width
Layout.preferredWidth
:
MainWindowStyle
.
menu
.
width
spacing
:
MainWindowStyle
.
menu
.
spacing
spacing
:
0
Menu
{
entryHeight
:
MainWindowStyle
.
menu
.
entryHeight
...
...
tests/ui/views/App/Styles/MainWindow/MainWindowStyle.qml
View file @
6e1cdc70
...
...
@@ -14,7 +14,6 @@ QtObject {
property
QtObject
menu
:
QtObject
{
property
int
entryHeight
:
50
property
int
spacing
:
0
property
int
width
:
250
}
...
...
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