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
e01b4ef0
Commit
e01b4ef0
authored
Nov 02, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(MainWindow/Contacts): show indicator on hovered contact
parent
3ffb25a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
Borders.qml
tests/ui/modules/Common/Borders.qml
+1
-1
Contacts.qml
tests/ui/views/App/MainWindow/Contacts.qml
+17
-2
ContactsStyle.qml
tests/ui/views/App/Styles/MainWindow/ContactsStyle.qml
+5
-0
No files found.
tests/ui/modules/Common/Borders.qml
View file @
e01b4ef0
...
...
@@ -44,7 +44,7 @@ Item {
id
:
rightBorder
anchors.right
:
parent
.
right
color
:
borderColor
!=
null
?
borderColor
:
rig
th
Color
color
:
borderColor
!=
null
?
borderColor
:
rig
ht
Color
height
:
parent
.
height
width
:
borderWidth
!=
null
?
borderWidth
:
rightWidth
}
...
...
tests/ui/views/App/MainWindow/Contacts.qml
View file @
e01b4ef0
...
...
@@ -26,7 +26,7 @@ ColumnLayout {
}
function
_removeContact
(
contact
)
{
Utils
.
openConfirmDialog
(
contact
,
{
Utils
.
openConfirmDialog
(
window
,
{
descriptionText
:
qsTr
(
'
removeContactDescription
'
),
exitHandler
:
function
(
status
)
{
console
.
log
(
'
remove contact
'
,
status
)
...
...
@@ -97,7 +97,7 @@ ColumnLayout {
}
delegate
:
Borders
{
bo
rder
Color
:
ContactsStyle
.
contact
.
border
.
color
bo
ttom
Color
:
ContactsStyle
.
contact
.
border
.
color
bottomWidth
:
ContactsStyle
.
contact
.
border
.
width
height
:
ContactsStyle
.
contact
.
height
width
:
parent
.
width
...
...
@@ -108,6 +108,15 @@ ColumnLayout {
anchors.fill
:
parent
color
:
ContactsStyle
.
contact
.
backgroundColor
.
normal
Rectangle
{
id
:
indicator
anchors.left
:
parent
.
left
color
:
'
transparent
'
height
:
parent
.
height
width
:
ContactsStyle
.
contact
.
indicator
.
width
}
MouseArea
{
id
:
mouseArea
...
...
@@ -215,6 +224,12 @@ ColumnLayout {
color
:
ContactsStyle
.
contact
.
backgroundColor
.
hovered
target
:
contact
}
PropertyChanges
{
color
:
ContactsStyle
.
contact
.
indicator
.
color
target
:
indicator
}
PropertyChanges
{
target
:
container1
;
visible
:
false
}
PropertyChanges
{
target
:
container2
;
visible
:
true
}
}
...
...
tests/ui/views/App/Styles/MainWindow/ContactsStyle.qml
View file @
e01b4ef0
...
...
@@ -36,6 +36,11 @@ QtObject {
property
int
width
:
1
}
property
QtObject
indicator
:
QtObject
{
property
color
color
:
Colors
.
i
property
int
width
:
5
}
property
QtObject
username
:
QtObject
{
property
color
color
:
'
#4B5964
'
property
int
width
:
220
...
...
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