Guest User

Untitled

a guest
Jan 23rd, 2017
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import QtQuick 2.0
  2. import Sailfish.Silica 1.0
  3.  
  4. Dialog {
  5. property alias connectionUrl: urlField.text
  6. // property string connectionUrl: urlField.text
  7.  
  8.  
  9.  
  10. id: connectDialog
  11.  
  12. SilicaListView {
  13. id:silicaView
  14. anchors.fill: parent
  15. header: Column{
  16. id:headerColumn
  17. width:parent.width
  18.  
  19.  
  20. TextField{
  21. id: urlField
  22. placeholderText: qsTr("Server")
  23. label: qsTr("Url")
  24. width: parent.width
  25. EnterKey.onClicked: accept()
  26. }
  27. }
  28. }
  29. }
RAW Paste Data