From 3d67865ffce7dc90f57b7cc6f03db67f2073c42b Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Tue, 3 Mar 2026 23:55:31 -0500 Subject: [PATCH] refactor: SettingsDialog, new Window Behavior tab --- src/lib/gui/dialogs/SettingsDialog.ui | 93 ++++++++++++++++++++------- translations/deskflow_es.ts | 4 ++ translations/deskflow_it.ts | 4 ++ translations/deskflow_ja.ts | 4 ++ translations/deskflow_ko.ts | 4 ++ translations/deskflow_ru.ts | 4 ++ translations/deskflow_zh_CN.ts | 4 ++ 7 files changed, 93 insertions(+), 24 deletions(-) diff --git a/src/lib/gui/dialogs/SettingsDialog.ui b/src/lib/gui/dialogs/SettingsDialog.ui index 559ee5ad2..7fef9cd87 100644 --- a/src/lib/gui/dialogs/SettingsDialog.ui +++ b/src/lib/gui/dialogs/SettingsDialog.ui @@ -22,9 +22,6 @@ - - 0 - @@ -91,20 +88,6 @@ - - - - Include version in the window title - - - - - - - Hide the window when the app starts - - - @@ -112,13 +95,6 @@ - - - - Leave app running in notification area when the window is closed - - - @@ -159,6 +135,75 @@ + + + &Window + + + + 9 + + + 12 + + + 20 + + + 12 + + + 20 + + + + + Qt::Orientation::Vertical + + + + 20 + 0 + + + + + + + + Hide the window when the app starts + + + + + + + Leave app running in notification area when the window is closed + + + + + + + Include version in the window title + + + + + + + Qt::Orientation::Vertical + + + + 20 + 0 + + + + + + &Logs diff --git a/translations/deskflow_es.ts b/translations/deskflow_es.ts index 52b9c91fc..d8f6b576c 100644 --- a/translations/deskflow_es.ts +++ b/translations/deskflow_es.ts @@ -1293,6 +1293,10 @@ Al habilitar esta opción, se deshabilitará la interfaz gráfica de usuario (GU &Network R&ed + + &Window + &Ventana + StatusBar diff --git a/translations/deskflow_it.ts b/translations/deskflow_it.ts index 8e27a7676..51e959f71 100644 --- a/translations/deskflow_it.ts +++ b/translations/deskflow_it.ts @@ -1293,6 +1293,10 @@ L'abilitazione di questa impostazione disabiliterà l'interfaccia graf &Network &Rete + + &Window + &Finestra + StatusBar diff --git a/translations/deskflow_ja.ts b/translations/deskflow_ja.ts index 2c56f369b..b83cf4ff9 100644 --- a/translations/deskflow_ja.ts +++ b/translations/deskflow_ja.ts @@ -1295,6 +1295,10 @@ Enabling this setting will disable the server config GUI. &Network ネットワーク(&N) + + &Window + ウィンドウ(&W) + StatusBar diff --git a/translations/deskflow_ko.ts b/translations/deskflow_ko.ts index 69ca888b6..0e89154e9 100644 --- a/translations/deskflow_ko.ts +++ b/translations/deskflow_ko.ts @@ -1293,6 +1293,10 @@ Enabling this setting will disable the server config GUI. &Network 네트워크(&N) + + &Window + 창문(&W) + StatusBar diff --git a/translations/deskflow_ru.ts b/translations/deskflow_ru.ts index 760ceaa0d..357ef948a 100644 --- a/translations/deskflow_ru.ts +++ b/translations/deskflow_ru.ts @@ -1291,6 +1291,10 @@ Enabling this setting will disable the server config GUI. &Network &Сеть + + &Window + &Окно + StatusBar diff --git a/translations/deskflow_zh_CN.ts b/translations/deskflow_zh_CN.ts index d57510e0a..6d1aa2320 100644 --- a/translations/deskflow_zh_CN.ts +++ b/translations/deskflow_zh_CN.ts @@ -1295,6 +1295,10 @@ Enabling this setting will disable the server config GUI. &Network 网络(&N) + + &Window + 窗户(&W) + StatusBar