Initial import
This commit is contained in:
30
src/contents/ui/main.qml
Normal file
30
src/contents/ui/main.qml
Normal file
@@ -0,0 +1,30 @@
|
||||
import QtQuick 2.1
|
||||
import org.kde.kirigami 2.4 as Kirigami
|
||||
import QtQuick.Controls 2.0 as Controls
|
||||
|
||||
Kirigami.ApplicationWindow {
|
||||
id: root
|
||||
|
||||
title: "Hello"
|
||||
|
||||
pageStack.initialPage: mainPageComponent
|
||||
|
||||
Component {
|
||||
id: mainPageComponent
|
||||
|
||||
Kirigami.Page {
|
||||
title: "Hello"
|
||||
|
||||
Rectangle {
|
||||
color: "black"
|
||||
anchors.fill: parent
|
||||
|
||||
Controls.Label {
|
||||
text: qsTr("Hello Kirigami")
|
||||
color: "white"
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user