mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-28 09:19:19 +00:00
feat(ui/modules/Linphone/TelKeypad): in progress
This commit is contained in:
parent
a148be8145
commit
20ba71a0be
4 changed files with 57 additions and 0 deletions
|
|
@ -318,6 +318,8 @@
|
|||
<file>ui/modules/Linphone/Styles/qmldir</file>
|
||||
<file>ui/modules/Linphone/Styles/SmartSearchBarStyle.qml</file>
|
||||
<file>ui/modules/Linphone/Styles/TimelineStyle.qml</file>
|
||||
<file>ui/modules/Linphone/TelKeypad/TelKeypadButton.qml</file>
|
||||
<file>ui/modules/Linphone/TelKeypad/TelKeypad.qml</file>
|
||||
<file>ui/modules/Linphone/Timeline.qml</file>
|
||||
<file>ui/scripts/LinphoneUtils/linphone-utils.js</file>
|
||||
<file>ui/scripts/LinphoneUtils/qmldir</file>
|
||||
|
|
|
|||
48
linphone-desktop/ui/modules/Linphone/TelKeypad/TelKeypad.qml
Normal file
48
linphone-desktop/ui/modules/Linphone/TelKeypad/TelKeypad.qml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
import QtQuick 2.7
|
||||
|
||||
// =============================================================================
|
||||
|
||||
Grid {
|
||||
property var call
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
columns: 3
|
||||
|
||||
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: '#'
|
||||
}]
|
||||
|
||||
TelKeypadButton {
|
||||
icon: modelData.icon
|
||||
text: modelData.text
|
||||
|
||||
onClicked: console.log('TODO')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
|
||||
// =============================================================================
|
||||
|
||||
Item {}
|
||||
|
|
@ -27,4 +27,6 @@ PresenceLevel 1.0 Presence/PresenceLevel.qml
|
|||
|
||||
SmartSearchBar 1.0 SmartSearchBar.qml
|
||||
|
||||
TelKeypad 1.0 TelKeypad.qml
|
||||
|
||||
Timeline 1.0 Timeline.qml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue