From ee01223f110bc51d6ce9d5a3f88cda5bd14145f9 Mon Sep 17 00:00:00 2001
From: parhelia512 <0011d3@gmail.com>
Date: Fri, 3 Oct 2025 23:19:05 +0800
Subject: [PATCH] improve basic settings dialog layout
---
include/ui/setting/dialog_basic_settings.ui | 598 +++++++++-----------
1 file changed, 261 insertions(+), 337 deletions(-)
diff --git a/include/ui/setting/dialog_basic_settings.ui b/include/ui/setting/dialog_basic_settings.ui
index 718f656..5baeec6 100644
--- a/include/ui/setting/dialog_basic_settings.ui
+++ b/include/ui/setting/dialog_basic_settings.ui
@@ -20,16 +20,6 @@
Basic Settings
- -
-
-
- Qt::Orientation::Horizontal
-
-
- QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
-
-
-
-
@@ -47,77 +37,98 @@
-
-
-
-
-
-
-
-
-
-
- Listen Address
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
- <html><head/><body><p>Socks
+
+
+ Basic Settings
+
+
+
-
+
+
+ Allow updating to beta versions
+
+
+
+ -
+
+
+ Custom Inbound
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ -
+
+
+ <html><head/><body><p>Socks
+ HTTP Proxy</p></body></html>
-
-
- Listen Port
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- -
-
-
- <html><head/><body><p>Selects a random available port on every run</p></body></html>
-
-
- Random port
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
+
+
+ Listen Port
+
+
+
+ -
+
+
+ Edit
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Prevents the app from minimizing to the tray when the window is closed. The app will exit instead
+
+
+ Disable tray
+
+
+
+ -
+
+
+ -
+
+
+ <html><head/><body><p>Selects a random available port on every run</p></body></html>
+
+
+ Random port
+
+
+
-
+
+
+ Listen Address
+
+
+
+ -
Proxy Format
- -
+
-
-
@@ -140,179 +151,126 @@
-
-
-
-
-
-
-
-
-
-
- Custom Inbound
-
-
-
- -
-
-
- Edit
-
-
-
-
-
-
-
+
+
+
+ 0
+ 0
+
+
+
+ Network Settings
+
+
+ -
+
+
+ Use proxy
+
+
+
+ -
+
+
+ Ignore TLS errors
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- Latency Test URL
-
-
-
- -
-
-
-
-
+
+ Test Settings
+
+
+ -
+
- -
-
-
-
-
-
-
- Concurrent
-
-
-
- -
-
-
- -
-
-
- <html><head/><body><p>Timeout for URLtest in ms<br/>Note that muxed connections take a much longer time for their initial request, and setting this value too low will cause the test to falsely report that the config is not working</p></body></html>
-
-
- Timeout
-
-
-
- -
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- 0
- 0
-
+
-
+
+
+ Simple Download URL
+
+
+ -
+
+
-
+
+ Download + Upload
+
+
+ -
+
+ Only Download
+
+
+ -
+
+ Only Upload
+
+
+ -
+
+ Simple Download
+
+
+
+
+ -
+
+
+ Latency Test URL
+
+
+
+ -
+
+
+ Speedtest mode
+
+
+
+ -
+
+
+ Concurrent
+
+
+
+ -
+
- Prevents the app from minimizing to the tray when the window is closed. The app will exit instead
+ <html><head/><body><p>timeout in milliseconds<br/>applies to all tests individually</p></body></html>
- Disable tray
+ Timeout
- -
-
+
-
+
+
+ -
+
+
+ <html><head/><body><p>Timeout for URLtest in ms<br/>Note that muxed connections take a much longer time for their initial request, and setting this value too low will cause the test to falsely report that the config is not working</p></body></html>
+
- Allow updating to beta versions
+ Timeout
-
-
-
- -
-
-
- QFrame::Shape::StyledPanel
-
-
- QFrame::Shadow::Raised
-
-
-
-
-
-
-
-
-
- Speedtest mode
-
-
-
- -
-
-
-
-
- Download + Upload
-
-
- -
-
- Only Download
-
-
- -
-
- Only Upload
-
-
- -
-
- Simple Download
-
-
-
-
- -
-
-
- <html><head/><body><p>timeout in milliseconds<br/>applies to all tests individually</p></body></html>
-
-
- Timeout
-
-
-
- -
-
-
-
+ -
+
- -
-
-
-
-
-
- Simple Download URL
-
-
-
- -
-
-
-
+ -
+
+
+ -
+
@@ -528,125 +486,81 @@
- Network
+ Subscription
-
- -
-
+
+
-
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Enable
+
+
+
+ -
+
+
+ Interval (minute, invalid if less than 30)
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ -
+
+
+ -
+
+
+ Clear servers before updating subscription
+
+
+
+ -
+
+
+ <html><head/><body><p>HWID=%1</p><p>OS=%2</p><p>OS Version=%3</p><p>Model=%4</p></body></html>
+
+
+ Enable sending HWID, device model, and OS version when updating subscription
+
+
+
+ -
+
0
0
-
- Network
+
+ Automatic update
-
-
-
-
-
- Use proxy
-
-
-
- -
-
-
- Ignore TLS errors
-
-
-
-
- -
-
-
-
- 0
- 0
-
+
-
+
+
+ User Agent
-
- Subscription
-
-
-
-
-
-
-
-
-
-
- 0
- 0
-
-
-
- Enable
-
-
-
- -
-
-
- Interval (minute, invalid if less than 30)
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
-
-
- -
-
-
- -
-
-
- Clear servers before updating subscription
-
-
-
- -
-
-
- <html><head/><body><p>HWID=%1</p><p>OS=%2</p><p>OS Version=%3</p><p>Model=%4</p></body></html>
-
-
- Enable sending HWID, device model, and OS version when updating subscription
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Automatic update
-
-
-
- -
-
-
- User Agent
-
-
-
-
@@ -912,6 +826,16 @@
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
+
+
+