forked from qt-creator/qt-creator
Adding ini file for styles to Qt Quick Controls 2 wizard
Change-Id: Ie3dd0c4422d402f811830d9d24382550ba560df0 Reviewed-by: J-P Nurmi <jpnurmi@qt.io> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
committed by
Alessandro Portale
parent
cc8414ff1f
commit
324aa339a0
@@ -3,5 +3,6 @@
|
|||||||
<file>main.qml</file>
|
<file>main.qml</file>
|
||||||
<file>Page1.qml</file>
|
<file>Page1.qml</file>
|
||||||
<file>Page1Form.ui.qml</file>
|
<file>Page1Form.ui.qml</file>
|
||||||
|
<file>qtquickcontrols2.conf</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@@ -0,0 +1,15 @@
|
|||||||
|
; 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",
|
"trShortTitle": "Location",
|
||||||
"typeId": "Project"
|
"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",
|
"trDisplayName": "Kit Selection",
|
||||||
"trShortTitle": "Kits",
|
"trShortTitle": "Kits",
|
||||||
@@ -73,6 +105,9 @@
|
|||||||
{
|
{
|
||||||
"source": "qml.qrc"
|
"source": "qml.qrc"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "qtquickcontrols2.conf"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "../../git.ignore",
|
"source": "../../git.ignore",
|
||||||
"target": "%{ProjectDirectory}/.gitignore",
|
"target": "%{ProjectDirectory}/.gitignore",
|
||||||
|
Reference in New Issue
Block a user