equal
deleted
inserted
replaced
53 onClicked: { |
53 onClicked: { |
54 cbTheme.currentIndex = index |
54 cbTheme.currentIndex = index |
55 HWEngine.setTheme(themeName.text) |
55 HWEngine.setTheme(themeName.text) |
56 } |
56 } |
57 } |
57 } |
|
58 |
|
59 Connections { |
|
60 target: HWEngine |
|
61 onThemeChanged: cbTheme.showItem({"iconSource" : "image://theme/" + theme, "text" : theme}); |
|
62 } |
58 } |
63 } |
59 } |
64 } |
60 |
65 |
61 HWComboBox { |
66 HWComboBox { |
62 id: cbScript |
67 id: cbScript |
82 anchors.fill: parent |
87 anchors.fill: parent |
83 onClicked: { |
88 onClicked: { |
84 cbScript.currentIndex = index |
89 cbScript.currentIndex = index |
85 HWEngine.setScript(scriptName.text) |
90 HWEngine.setScript(scriptName.text) |
86 } |
91 } |
|
92 } |
|
93 Connections { |
|
94 target: HWEngine |
|
95 onScriptChanged: scriptsModel.showItem({"iconSource" : "", "text" : script}); |
87 } |
96 } |
88 } |
97 } |
89 } |
98 } |
90 |
99 |
91 HWComboBox { |
100 HWComboBox { |