Show logo in QtQuick Controls 2 style
parent
6d3e329a6a
commit
f0fffd1dde
|
@ -22,16 +22,21 @@ ApplicationWindow {
|
|||
anchors.top: bar.bottom
|
||||
anchors.bottom: parent.bottom
|
||||
currentIndex: bar.currentIndex
|
||||
ComboBox {
|
||||
currentIndex: qtquickIndex
|
||||
model: styles
|
||||
textRole: "display"
|
||||
onCurrentIndexChanged: {
|
||||
if (currentIndex != qtquickIndex) {
|
||||
widgets.currentIndex = currentIndex;
|
||||
application.close();
|
||||
ColumnLayout {
|
||||
ComboBox {
|
||||
currentIndex: qtquickIndex
|
||||
model: styles
|
||||
textRole: "display"
|
||||
onCurrentIndexChanged: {
|
||||
if (currentIndex != qtquickIndex) {
|
||||
widgets.currentIndex = currentIndex;
|
||||
application.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Image {
|
||||
source: "logo.svg"
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
TextField {
|
||||
|
|
Loading…
Reference in New Issue