gui #17

Merged
shaunrd0 merged 41 commits from gui into main 2026-02-08 21:25:05 +00:00
Showing only changes of commit 39377b32f0 - Show all commits

View File

@@ -6,19 +6,22 @@ import QtQuick
import QtQuick.Controls.Basic
import clide.module 1.0
import Logger 1.0
ApplicationWindow {
id: root
color: RustColors.gutter
// Create the window with no frame and keep it on top.
flags: Qt.Window | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
flags: Qt.Tool | Qt.FramelessWindowHint
height: 350
width: 450
visible: root.active
// Hide the window when it loses focus.
onActiveChanged: {
if (!active) {
Logger.debug("Setting active: " + root.active)
if (!root.active) {
root.visible = false;
}
}