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
bdf3d566
Commit
bdf3d566
authored
Apr 18, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/modules/Linphone/TelKeypad/TelKeypadButton): add a line below each button
parent
e56412e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
19 deletions
+42
-19
TelKeypadStyle.qml
...p/ui/modules/Linphone/Styles/TelKeypad/TelKeypadStyle.qml
+10
-1
TelKeypadButton.qml
...desktop/ui/modules/Linphone/TelKeypad/TelKeypadButton.qml
+32
-18
No files found.
linphone-desktop/ui/modules/Linphone/Styles/TelKeypad/TelKeypadStyle.qml
View file @
bdf3d566
...
...
@@ -18,9 +18,18 @@ QtObject {
property
color
pressed
:
Colors
.
i
}
property
QtObject
line
:
QtObject
{
property
color
color
:
Colors
.
l50
property
int
bottomMargin
:
4
property
int
height
:
2
property
int
leftMargin
:
8
property
int
rightMargin
:
8
property
int
topMargin
:
0
}
property
QtObject
text
:
QtObject
{
property
color
color
:
Colors
.
d
property
int
fontSize
:
1
0
property
int
fontSize
:
1
1
}
}
}
linphone-desktop/ui/modules/Linphone/TelKeypad/TelKeypadButton.qml
View file @
bdf3d566
import
QtQuick
2.7
import
QtQuick
.
Controls
2.0
import
QtQuick
.
Layouts
1.3
import
Linphone
.
Styles
1.0
...
...
@@ -16,30 +16,44 @@ Item {
// ---------------------------------------------------------------------------
Button
{
Rectangle
{
anchors.fill
:
parent
color
:
button
.
color
background
:
Rectangle
{
color
:
button
.
color
}
ColumnLayout
{
anchors.fill
:
parent
contentItem
:
Text
{
color
:
TelKeypadStyle
.
button
.
text
.
color
spacing
:
0
font
{
bold
:
true
pointSize
:
TelKeypadStyle
.
button
.
text
.
fontSize
}
Text
{
Layout.fillHeight
:
true
Layout.fillWidth
:
true
elide
:
Text
.
ElideRight
text
:
button
.
tex
t
color
:
TelKeypadStyle
.
button
.
text
.
color
elide
:
Text
.
ElideRigh
t
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
}
font
{
bold
:
true
pointSize
:
TelKeypadStyle
.
button
.
text
.
fontSize
}
hoverEnabled
:
true
text
:
button
.
text
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
}
onClicked
:
button
.
clicked
()
Rectangle
{
Layout.fillWidth
:
true
Layout.preferredHeight
:
TelKeypadStyle
.
button
.
line
.
height
Layout.bottomMargin
:
TelKeypadStyle
.
button
.
line
.
bottomMargin
Layout.leftMargin
:
TelKeypadStyle
.
button
.
line
.
leftMargin
Layout.rightMargin
:
TelKeypadStyle
.
button
.
line
.
rightMargin
Layout.topMargin
:
TelKeypadStyle
.
button
.
line
.
topMargin
color
:
TelKeypadStyle
.
button
.
line
.
color
}
}
}
}
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