feat(ui/modules/Linphone/TelKeypad): in progress

This commit is contained in:
Ronan Abhamon 2017-04-14 15:44:11 +02:00
parent a148be8145
commit 20ba71a0be
4 changed files with 57 additions and 0 deletions

View file

@ -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>

View 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')
}
}
}

View file

@ -0,0 +1,5 @@
import QtQuick 2.7
// =============================================================================
Item {}

View file

@ -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