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
81c95124
Commit
81c95124
authored
Jan 17, 2018
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/modules/Linphone/TelKeypad): supports A, B, C and D keys (close #107)
parent
767f3fe2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
33 deletions
+10
-33
TelKeypadStyle.qml
ui/modules/Linphone/Styles/TelKeypad/TelKeypadStyle.qml
+1
-1
TelKeypad.qml
ui/modules/Linphone/TelKeypad/TelKeypad.qml
+9
-31
TelKeypadButton.qml
ui/modules/Linphone/TelKeypad/TelKeypadButton.qml
+0
-1
No files found.
ui/modules/Linphone/Styles/TelKeypad/TelKeypadStyle.qml
View file @
81c95124
...
...
@@ -10,7 +10,7 @@ QtObject {
property
int
columnSpacing
:
0
property
int
height
:
180
property
int
rowSpacing
:
0
property
int
width
:
1
5
0
property
int
width
:
1
8
0
property
color
color
:
Colors
.
k
property
QtObject
button
:
QtObject
{
...
...
ui/modules/Linphone/TelKeypad/TelKeypad.qml
View file @
81c95124
...
...
@@ -30,40 +30,19 @@ Rectangle {
anchors.fill
:
parent
columns
:
3
// Not a style.
columns
:
4
// Not a style.
rows
:
4
// Same idea.
columnSpacing
:
TelKeypadStyle
.
columnSpacing
rowSpacing
:
TelKeypadStyle
.
rowSpacing
Repeater
{
model
:
[{
text
:
'
1
'
,
icon
:
'
answering_machine
'
},
{
text
:
'
2
'
},{
text
:
'
3
'
},
{
text
:
'
4
'
},
{
text
:
'
5
'
},
{
text
:
'
6
'
},
{
text
:
'
7
'
},
{
text
:
'
8
'
},
{
text
:
'
9
'
},
{
text
:
'
*
'
},
{
text
:
'
0
'
,
icon
:
'
plus
'
},
{
text
:
'
#
'
}]
model
:
[
'
1
'
,
'
2
'
,
'
3
'
,
'
A
'
,
'
4
'
,
'
5
'
,
'
6
'
,
'
B
'
,
'
7
'
,
'
8
'
,
'
9
'
,
'
C
'
,
'
*
'
,
'
0
'
,
'
#
'
,
'
D
'
,
]
TelKeypadButton
{
property
var
_timeout
...
...
@@ -71,10 +50,9 @@ Rectangle {
Layout.fillHeight
:
true
Layout.fillWidth
:
true
icon
:
modelData
.
icon
||
''
text
:
modelData
.
text
text
:
modelData
onClicked
:
telKeypad
.
call
.
sendDtmf
(
modelData
.
text
)
onClicked
:
telKeypad
.
call
.
sendDtmf
(
modelData
)
}
}
}
...
...
ui/modules/Linphone/TelKeypad/TelKeypadButton.qml
View file @
81c95124
...
...
@@ -9,7 +9,6 @@ Item {
id
:
button
property
color
color
:
TelKeypadStyle
.
button
.
color
.
normal
property
string
icon
:
''
property
string
text
:
''
signal
clicked
...
...
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