Files
qt-designsystem/gallery/Main.qml
T
2025-04-11 12:37:31 -07:00

52 lines
930 B
QML

import QtQuick
import Qt.labs.platform
import Gallery
import DesignSystem
import QtQuick.Layouts
import QtQuick.Controls.Basic
AppWindow {
id: window
width: 640
height: 480
visible: true
title: qsTr("flowy - gallery")
ColumnLayout {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.margins: 10
AppLogo {}
AppPrimaryButton {
text: "Toggle theme"
onClicked: {
Theme.toggleTheme()
}
}
AppCard {
Column {
spacing: 10
AppText {
text: "This is a card"
}
AppCaption {
text: "Caption"
}
AppHeadline {
text: "Headline"
}
AppSubHeadline {
text: "SubHeadline"
}
AppLabel {
text: "Label"
}
}
}
}
}