diff options
Diffstat (limited to 'main.qml')
-rw-r--r-- | main.qml | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -40,6 +40,11 @@ ApplicationWindow { console.log("Miniming window now..."); } + function showWindow() { + showNormal(); + console.log("Opening window now..."); + } + Button { id: start_support_button objectName: "start_support_button" @@ -63,6 +68,13 @@ ApplicationWindow { Connections { target: mainqmladaptor + onShowToastSignal: { + toast.show(text, durationMs) + } + } + + Connections { + target: mainqmladaptor onShowMessageDialogChanged: { message_dialog.visible = show } @@ -78,7 +90,6 @@ ApplicationWindow { Connections { target: mainqmladaptor onMessageDialogTitleChanged: { - console.log("title: "+title); message_dialog.title = title } } |