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