Commit 324aa339 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Alessandro Portale

Adding ini file for styles to Qt Quick Controls 2 wizard

Change-Id: Ie3dd0c4422d402f811830d9d24382550ba560df0
Reviewed-by: J-P Nurmi's avatarJ-P Nurmi <jpnurmi@qt.io>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
parent cc8414ff
......@@ -3,5 +3,6 @@
<file>main.qml</file>
<file>Page1.qml</file>
<file>Page1Form.ui.qml</file>
<file>qtquickcontrols2.conf</file>
</qresource>
</RCC>
; This file can be edited to change the style of the application
; See Styling Qt Quick Controls 2 in the documentation for details:
; http://doc.qt.io/qt-5/qtquickcontrols2-styles.html
[Controls]
Style=%{ControlsStyle}
[Universal]
Theme=Light
;Accent=Steel
[Material]
Theme=Light
;Accent=BlueGrey
;Primary=BlueGray
......@@ -29,6 +29,38 @@
"trShortTitle": "Location",
"typeId": "Project"
},
{
"trDisplayName": "Define Project Details",
"trShortTitle": "Details",
"typeId": "Fields",
"data":
[
{
"name": "ControlsStyle",
"trDisplayName": "Qt Quick Controls 2 Style:",
"type": "ComboBox",
"data":
{
"index": 0,
"items":
[
{
"trKey": "Default",
"value": "Default"
},
{
"trKey": "Material",
"value": "Material"
},
{
"trKey": "Universal",
"value": "Universal"
}
]
}
}
]
},
{
"trDisplayName": "Kit Selection",
"trShortTitle": "Kits",
......@@ -73,6 +105,9 @@
{
"source": "qml.qrc"
},
{
"source": "qtquickcontrols2.conf"
},
{
"source": "../../git.ignore",
"target": "%{ProjectDirectory}/.gitignore",
......
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