Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.0
- import Sailfish.Silica 1.0
- Page {
- id: page
- SilicaListView {
- id:connList
- anchors.fill: parent
- VerticalScrollDecorator { flickable:connList }
- PullDownMenu {
- MenuItem {
- text: qsTr("About")
- onClicked: pageStack.push(Qt.resolvedUrl("A.qml"))
- }
- MenuItem {
- text: qsTr("New S connection")
- onClicked: pageStack.push(Qt.resolvedUrl("CreateS.qml"))
- }
- MenuItem {
- text: qsTr("New M connection")
- onClicked: pageStack.push(Qt.resolvedUrl("CreateM.qml"))
- }
- }
- PageHeader {
- Image {
- source: "logo.png"
- height: 200
- width: 200
- fillMode: Image.PreserveAspectFit
- anchors {
- horizontalCenter: parent.horizontalCenter
- }
- }
- Button {
- text: "FIll conn"
- anchors.horizontalCenter: parent.horizontalCenter
- onClicked: {
- console.log("Generating content...")
- connectionsColumn.model = 15
- console.log("Done!")
- }
- }
- }
- SectionHeader {
- text: qsTr("Conns")
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement