Files
qt-designsystem/AppWindow.qml
T
talksik ca5f0044e3 feat: add reusable AppWindow with theme defaults
This will simplify setup for any application without having to specify
palette.
2025-04-11 12:27:30 -07:00

24 lines
462 B
QML

import QtQuick
import QtQuick.Controls.Basic
ApplicationWindow {
id: root
visible: true
palette {
accent: Theme.accent
dark: Theme.foreground
window: Theme.background
windowText: Theme.foreground
buttonText: Theme.foreground
base: Theme.muted
brightText: Theme.muted
text: Theme.foreground
button: Theme.accent
}
title: qsTr("Flowy")
width: 640
height: 480
}