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
c5427180
Commit
c5427180
authored
Jan 09, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/MainWindow/MainWindow): display a tooltip on account info
parent
cf3f2bb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
Tooltip.qml
tests/ui/modules/Common/Tooltip/Tooltip.qml
+5
-4
MainWindow.qml
tests/ui/views/App/MainWindow/MainWindow.qml
+4
-0
No files found.
tests/ui/modules/Common/Tooltip/Tooltip.qml
View file @
c5427180
...
...
@@ -10,7 +10,7 @@ import Utils 1.0
ToolTip
{
id
:
tooltip
property
string
_edge
:
'
left
'
property
var
_edge
:
'
left
'
// ---------------------------------------------------------------------------
...
...
@@ -51,6 +51,7 @@ ToolTip {
}
else
if
(
a
.
y
>
b
.
y
+
b
.
height
)
{
_edge
=
'
bottom
'
}
else
{
_edge
=
null
console
.
warn
(
'
Unable to get the tooltip arrow position.
'
)
}
}
...
...
@@ -101,9 +102,9 @@ ToolTip {
fillMode
:
Image
.
PreserveAspectFit
height
:
TooltipStyle
.
arrowSize
source
:
Constants
.
imagesPath
+
'
tooltip_arrow_
'
+
_edge
+
Constants
.
imagesFormat
source
:
_edge
?
(
Constants
.
imagesPath
+
'
tooltip_arrow_
'
+
_edge
+
Constants
.
imagesFormat
)
:
''
visible
:
tooltip
.
visible
&&
_edge
width
:
TooltipStyle
.
arrowSize
z
:
Constants
.
zMax
...
...
tests/ui/views/App/MainWindow/MainWindow.qml
View file @
c5427180
...
...
@@ -115,6 +115,10 @@ ApplicationWindow {
account
:
AccountSettingsModel
TooltipArea
{
text
:
AccountSettingsModel
.
sipAddress
}
onClicked
:
Utils
.
openWindow
(
'
ManageAccounts
'
,
window
)
}
...
...
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