Permalink
Browse files

updated with assets

updated with assets
  • Loading branch information...
1 parent ecd573e commit c7d562434e47529dfe25c4e79aa384994c94c6e0 Gurtej Sandhu committed Mar 28, 2013
Showing with 52 additions and 0 deletions.
  1. +52 −0 bb10-pjsipdemo/assets/main.qml
@@ -0,0 +1,52 @@
+import bb.cascades 1.0
+
+Page {
+ content: Container {
+ id: createOrLoginContainer
+ layout: DockLayout {
+ }
+ Container {
+ leftPadding: 80
+ rightPadding: leftPadding
+ topPadding: 200
+ layout: StackLayout {
+ orientation: LayoutOrientation.TopToBottom
+ }
+ horizontalAlignment: HorizontalAlignment.Center
+ verticalAlignment: VerticalAlignment.Center
+
+ Container {
+ layout: StackLayout {
+ orientation: LayoutOrientation.TopToBottom
+ }
+ horizontalAlignment: HorizontalAlignment.Center
+ verticalAlignment: VerticalAlignment.Center
+ TextField {
+ id: calledNumber
+ objectName: "calledNumber"
+ hintText: "00441234567890"
+ topMargin: 200
+ inputMode: TextFieldInputMode.PhoneNumber
+ }
+ }
+ Container {
+ leftPadding: 80
+ rightPadding: leftPadding
+ topPadding: 50
+ layout: StackLayout {
+ orientation: LayoutOrientation.TopToBottom
+ }
+ horizontalAlignment: HorizontalAlignment.Center
+ verticalAlignment: VerticalAlignment.Center
+ Button {
+ id: callButton
+ objectName: "calledButton"
+ text: "Call"
+ onClicked: {
+ //pjsipEngine.call(calledNumber.text);
+ }
+ }
+ }
+ }
+ }
+}

0 comments on commit c7d5624

Please sign in to comment.