mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-05 18:20:33 -08:00
revision
This commit is contained in:
parent
b2c8323c9b
commit
54492a81fd
1 changed files with 7 additions and 10 deletions
|
|
@ -3,21 +3,19 @@ import QtQuick.Controls 2.15
|
|||
import "ext/" as Ext
|
||||
import "debug/" as Dbg
|
||||
|
||||
StackView {
|
||||
StackView { // *** for debug-ui
|
||||
id: main
|
||||
width: 400
|
||||
height: 650
|
||||
objectName: "main"
|
||||
initialItem: mainRect
|
||||
|
||||
// show/hide dialogs
|
||||
objectName: "main" // important
|
||||
initialItem: mainRect // important
|
||||
|
||||
// *** for debug-ui
|
||||
function pushDialog(name) {
|
||||
switch (name) {
|
||||
case "debug": main.push(dialogDebug); break
|
||||
}
|
||||
}
|
||||
|
||||
function popDialog() { main.pop() }
|
||||
|
||||
// log
|
||||
|
|
@ -53,10 +51,6 @@ StackView {
|
|||
count: view.count
|
||||
currentIndex: view.currentIndex
|
||||
}
|
||||
|
||||
// dialogs
|
||||
|
||||
Dbg.DebugDialog { id: dialogDebug }
|
||||
}
|
||||
|
||||
Keys.onPressed: (event) => {
|
||||
|
|
@ -69,4 +63,7 @@ StackView {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// *** for debug-ui
|
||||
Dbg.DebugDialog { id: dialogDebug }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue