This commit is contained in:
2020-06-27 19:45:43 -06:00
commit 5b0ba9f1db
16 changed files with 2073 additions and 0 deletions

22
src/qml/main.qml Normal file
View File

@@ -0,0 +1,22 @@
import QtQuick 2.12
import QtQuick.Controls 2.5
import QtQuick.Layouts 1.3
import Magnum 1.0
ApplicationWindow {
id: app
visible: true
width: 640
height: 480
title: qsTr("My Application")
Shortcut {
sequence: "q"
onActivated: app.close()
}
Magnum {
anchors.fill: parent
hue: hue.value
}
}

6
src/qml/main.qrc Normal file
View File

@@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/">
<file>main.qml</file>
<file>qtquickcontrols2.conf</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,9 @@
; This file can be edited to change the style of the application
; Read "Qt Quick Controls 2 Configuration File" for details:
; http://doc.qt.io/qt-5/qtquickcontrols2-configuration.html
[Controls]
Style=Fusion
[Fusion\Palette]
Highlight=#ff0000