Commit f90daf8c authored by Nicolas Fella's avatar Nicolas Fella

Post 1

parent 39757c64
import QtQuick 2.2
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.4
import org.kde.kirigami 2.4 as Kirigami
Kirigami.Page
{
title: "Connections"
}
import QtQuick 2.2
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.4
import org.kde.kirigami 2.0 as Kirigami
Kirigami.Page
{
title: "Start journey"
actions.main: Kirigami.Action {
icon.name: "search"
text: "Search"
onTriggered: pageStack.push(Qt.resolvedUrl("ConnectionsPage.qml"))
}
ColumnLayout {
width: parent.width
Label {
text: "From:"
}
TextField {
Layout.fillWidth: true
placeholderText: "Würzburg..."
}
Label {
text: "To:"
}
TextField {
id: dest
Layout.fillWidth: true
placeholderText: "Berlin..."
}
RowLayout {
width: parent.width
Button {
text: "Pick date"
Layout.fillWidth: true
}
Button {
text: "Pick time"
Layout.fillWidth: true
}
}
}
}
......@@ -7,8 +7,5 @@ Kirigami.ApplicationWindow
width: 480
height: 720
Label {
text: "Hello world!"
anchors.centerIn: parent
}
pageStack.initialPage: Qt.resolvedUrl("StartPage.qml")
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment