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
95ce08e7
Commit
95ce08e7
authored
Jan 09, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/modules/Linphone/SmartSearchBar): handle correctly mouse hover header
parent
c5427180
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
95 additions
and
86 deletions
+95
-86
SmartSearchBar.qml
tests/ui/modules/Linphone/SmartSearchBar.qml
+95
-86
No files found.
tests/ui/modules/Linphone/SmartSearchBar.qml
View file @
95ce08e7
...
@@ -17,9 +17,11 @@ SearchBox {
...
@@ -17,9 +17,11 @@ SearchBox {
signal
launchCall
(
string
sipAddress
)
signal
launchCall
(
string
sipAddress
)
signal
launchVideoCall
(
string
sipAddress
)
signal
launchVideoCall
(
string
sipAddress
)
// ---------------------------------------------------------------------------
// Header.
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
header
:
Column
{
header
:
MouseArea
{
readonly
property
string
interpretableSipAddress
:
SipAddressesModel
.
interpretUrl
(
searchBox
.
filter
)
readonly
property
string
interpretableSipAddress
:
SipAddressesModel
.
interpretUrl
(
searchBox
.
filter
)
height
:
{
height
:
{
...
@@ -28,11 +30,18 @@ SearchBox {
...
@@ -28,11 +30,18 @@ SearchBox {
}
}
width
:
parent
.
width
width
:
parent
.
width
// Workaround to handle mouse.
// Without it, the mouse can be given to items list when it is hover header.
hoverEnabled
:
true
Column
{
anchors.fill
:
parent
spacing
:
0
spacing
:
0
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
// Default contact.
// Default contact.
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
Loader
{
Loader
{
id
:
defaultContact
id
:
defaultContact
...
@@ -94,9 +103,9 @@ SearchBox {
...
@@ -94,9 +103,9 @@ SearchBox {
}
}
}
}
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
// Add contact button.
// Add contact button.
// --
-----------------------------------------------------------------------
//
-----------------------------------------------------------------------
MouseArea
{
MouseArea
{
id
:
addContactButton
id
:
addContactButton
...
@@ -143,7 +152,7 @@ SearchBox {
...
@@ -143,7 +152,7 @@ SearchBox {
}
}
}
}
}
}
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// Entries.
// Entries.
...
...
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