mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revision
This commit is contained in:
parent
dc8b2e01df
commit
6865b0acf7
1 changed files with 5 additions and 8 deletions
|
|
@ -3,21 +3,19 @@ import QtQuick.Controls 2.15
|
||||||
import QtQuick.Window 2.15
|
import QtQuick.Window 2.15
|
||||||
import 'debug/' as Dbg
|
import 'debug/' as Dbg
|
||||||
|
|
||||||
StackView {
|
StackView { // *** for debug-ui
|
||||||
id: main
|
id: main
|
||||||
objectName: "main"
|
|
||||||
width: 800
|
width: 800
|
||||||
height: 600
|
height: 600
|
||||||
initialItem: mainRect
|
objectName: "main" // important
|
||||||
|
initialItem: mainRect // important
|
||||||
// show/hide dialogs
|
|
||||||
|
|
||||||
|
// *** for debug-ui
|
||||||
function pushDialog(name) {
|
function pushDialog(name) {
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case "debug": main.push(dialogDebug); break
|
case "debug": main.push(dialogDebug); break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function popDialog() { main.pop() }
|
function popDialog() { main.pop() }
|
||||||
|
|
||||||
// fonts (must stay here, before using them below)
|
// fonts (must stay here, before using them below)
|
||||||
|
|
@ -40,7 +38,6 @@ StackView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// dialogs
|
// *** for debug-ui
|
||||||
|
|
||||||
Dbg.DebugDialog { id: dialogDebug }
|
Dbg.DebugDialog { id: dialogDebug }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue