![]() |
2012-09-26
, 18:39
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#2
|
![]() |
2012-09-26
, 21:13
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#3
|
import QtQuick 1.0 Rectangle { id:root width: 800 height: 400 property string number color:"black" Component { id:numberDelegate Rectangle { width:100 height:100 color:(mouseArea.pressed) ? "blue" : "darkblue" Text { anchors.centerIn: parent text:model.number color:"white" font.pixelSize: 20 } MouseArea { id:mouseArea anchors.fill:parent onClicked: { root.number+=model.number } } } } ListModel { id:numberModel ListElement { number:"1"} ListElement { number:"2"} ListElement { number:"3"} ListElement { number:"4"} ListElement { number:"5"} ListElement { number:"6"} ListElement { number:"7"} ListElement { number:"8"} ListElement { number:"9"} ListElement { number:"+"} ListElement { number:"0"} ListElement { number:"#"} } Text { anchors.top:parent.top anchors.left:parent.left anchors.right:numberView.left id:input wrapMode: Text.WrapAnywhere text:"01234567890p12341234#p1234#p1#" + root.number + "p1pp*" color:"white" } GridView { id: numberView anchors.top:parent.top anchors.right:parent.right width: 300 height: 400 cellHeight: 100 cellWidth: 100 interactive: false delegate: numberDelegate model: numberModel } Row { anchors.left:parent.left anchors.bottom:parent.bottom Rectangle { width:70 height:70 color:(mouseArea.pressed) ? "blue" : "darkblue" Text { anchors.centerIn: parent text:"<-" color:"white" font.pixelSize: 20 } MouseArea { id:mouseArea anchors.fill: parent onClicked: { if(root.number.length>0) { root.number = root.number.substring(0,root.number.length-1) } } } } Rectangle { width:210 height:70 color:(mouseArea.pressed) ? "blue" : "darkblue" Text { anchors.centerIn: parent text:"Dial" color:"white" font.pixelSize: 20 } MouseArea { id:dialMouseArea anchors.fill: parent onClicked: { if(root.number.length>0) { Qt.openUrlExternally("tel:"+input.text) } } } } } }
The Following 7 Users Say Thank You to nicolai For This Useful Post: | ||
![]() |
2012-09-26
, 22:45
|
Posts: 282 |
Thanked: 220 times |
Joined on Aug 2011
|
#4
|
CONST=01234567890p12341234#p1234#p1# NUM=$(zenity --entry --text="Enter your variable") dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:"$CONST$NUM" uint32:0
The Following 3 Users Say Thank You to davdav For This Useful Post: | ||
![]() |
2012-09-26
, 22:46
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#5
|
![]() |
2012-09-26
, 23:06
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#6
|
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2012-09-27
, 00:09
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#8
|
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2012-09-27
, 16:57
|
Posts: 87 |
Thanked: 46 times |
Joined on Nov 2010
@ lisbon, portugal
|
#9
|
![]() |
2012-09-27
, 17:55
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#10
|
Definitely deserves own application, with configurable options, and contact book integration!
did you try conference manager. It let's you configure steps and codes...
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
Instead of calling an operator.
Currently I have to call the number and use pauses in the phone application to get to a point where there is a variable.
This is an example of the number I have currently in my phone book.
Press 1 for x, press 2 for y etc...
If I want to use 1 the output would be...
Python? Script? Dbus?
Anybody got anything out there at the moment that does this?
Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -
Before posting or starting a thread please try this.
Last edited by sixwheeledbeast; 2012-09-21 at 16:53. Reason: 9 digit variable not 7