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
87ee80bb
Commit
87ee80bb
authored
Nov 23, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(Linphone/Timeline): display a shadow below tooltip
parent
f4f047da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
PopupStyle.qml
tests/ui/modules/Common/Styles/PopupStyle.qml
+3
-3
Tooltip.qml
tests/ui/modules/Common/Tooltip/Tooltip.qml
+5
-0
Chat.qml
tests/ui/modules/Linphone/Chat/Chat.qml
+2
-2
Timeline.qml
tests/ui/modules/Linphone/Timeline.qml
+7
-7
No files found.
tests/ui/modules/Common/Styles/PopupStyle.qml
View file @
87ee80bb
...
@@ -15,9 +15,9 @@ QtObject {
...
@@ -15,9 +15,9 @@ QtObject {
property
QtObject
shadow
:
QtObject
{
property
QtObject
shadow
:
QtObject
{
property
color
color
:
Colors
.
l
property
color
color
:
Colors
.
l
property
int
horizontalOffset
:
4
property
int
horizontalOffset
:
2
property
int
radius
:
8
property
int
radius
:
10
property
int
samples
:
15
property
int
samples
:
15
property
int
verticalOffset
:
4
property
int
verticalOffset
:
2
}
}
}
}
tests/ui/modules/Common/Tooltip/Tooltip.qml
View file @
87ee80bb
...
@@ -80,6 +80,11 @@ ToolTip {
...
@@ -80,6 +80,11 @@ ToolTip {
background
:
Item
{
background
:
Item
{
id
:
container
id
:
container
layer
{
enabled
:
true
effect
:
PopupShadow
{}
}
Rectangle
{
Rectangle
{
anchors
{
anchors
{
fill
:
parent
fill
:
parent
...
...
tests/ui/modules/Linphone/Chat/Chat.qml
View file @
87ee80bb
...
@@ -62,7 +62,7 @@ ColumnLayout {
...
@@ -62,7 +62,7 @@ ColumnLayout {
// Cast section to integer because Qt converts the
// Cast section to integer because Qt converts the
// $dateSection in string!!!
// $dateSection in string!!!
text
:
new
Date
(
+
section
).
toLocaleDateString
(
text
:
new
Date
(
+
section
).
toLocaleDateString
(
Qt
.
locale
()
Qt
.
locale
(
App
.
locale
()
)
)
)
}
}
}
}
...
@@ -144,7 +144,7 @@ ColumnLayout {
...
@@ -144,7 +144,7 @@ ColumnLayout {
color
:
ChatStyle
.
entry
.
time
.
color
color
:
ChatStyle
.
entry
.
time
.
color
font.pointSize
:
ChatStyle
.
entry
.
time
.
fontSize
font.pointSize
:
ChatStyle
.
entry
.
time
.
fontSize
text
:
new
Date
(
$timestamp
).
toLocaleString
(
text
:
new
Date
(
$timestamp
).
toLocaleString
(
Qt
.
locale
(),
Qt
.
locale
(
App
.
locale
()
),
'
hh:mm
'
'
hh:mm
'
)
)
verticalAlignment
:
Text
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
...
...
tests/ui/modules/Linphone/Timeline.qml
View file @
87ee80bb
...
@@ -95,14 +95,14 @@ ColumnLayout {
...
@@ -95,14 +95,14 @@ ColumnLayout {
usernameColor
:
view
.
currentIndex
===
index
usernameColor
:
view
.
currentIndex
===
index
?
TimelineStyle
.
contact
.
username
.
color
.
selected
?
TimelineStyle
.
contact
.
username
.
color
.
selected
:
TimelineStyle
.
contact
.
username
.
color
.
normal
:
TimelineStyle
.
contact
.
username
.
color
.
normal
}
Loader
{
Loader
{
anchors.fill
:
parent
anchors.fill
:
parent
sourceComponent
:
TooltipArea
{
sourceComponent
:
TooltipArea
{
text
:
$timelineEntry
.
timestamp
.
toLocaleString
(
text
:
$timelineEntry
.
timestamp
.
toLocaleString
(
Qt
.
locale
(
App
.
locale
()),
Locale
.
ShortFormat
Qt
.
locale
(
App
.
locale
()),
Locale
.
ShortFormat
)
)
}
}
}
}
}
...
...
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