Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
Created March 5, 2015 02:40
Show Gist options
  • Save jacobmischka/67396d16b16e5bf46ec0 to your computer and use it in GitHub Desktop.
Save jacobmischka/67396d16b16e5bf46ec0 to your computer and use it in GitHub Desktop.
import QtQuick 2.0
Rectangle {
id: oauth
width: 640
height: 480
color: "#ccd6dd"
Text {
id: link
text: link_text
onLinkActivated: Qt.openUrlExternally(link)
}
Rectangle {
objectName: "textBorder"
border.color: "black"
width: 110
height: 30
anchors.top: link.bottom
anchors.margins: 8
TextInput {
objectName: "textInput"
id: pin
text: "PIN"
width: 100
height: 30
anchors.top: parent.top
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment