refactor(ui): add WinUI stylesheet for Windows

- Introduced WinToolWidget for custom window management on Windows.
- Implemented backdrop type settings for Windows in SettingsManager.
- Enhanced SettingsWidget to allow selection of backdrop type.
- Improved status balloon and toolbox widget styles for Windows.
- Refined tab widget animations and styles for better visual feedback.
- Fixed issues with loading and error widgets in ZLoadingWidget.
- Updated welcome widget to support custom hyperlink colors.
- General code cleanup and style adjustments across multiple files.
This commit is contained in:
uncor3
2026-02-22 11:59:57 +03:00
parent bc3998cefb
commit 43d804991e
121 changed files with 3745 additions and 479 deletions
+9 -6
View File
@@ -143,22 +143,25 @@ void DiskUsageWidget::setupUI()
// Set colors
m_systemBar->setStyleSheet(
"QWidget#systemBar { background-color: #a1384d; border: 1px solid"
"#e64a5b; padding: 0; margin: 0; border-top-left-radius: 3px; "
"#e64a5b; padding: 0; margin: 0; border-radius:0px; "
"border-top-left-radius: 3px; "
"border-bottom-left-radius: 3px; }");
m_appsBar->setStyleSheet(
"QWidget#appsBar { background-color: #4f869f; border: 1px solid "
"#63b4da; padding: 0; margin: 0; }");
"#63b4da; border-radius:0px; padding: 0; margin: 0; }");
m_mediaBar->setStyleSheet("QWidget#mediaBar { background-color: #2ECC71; "
"border: none; padding: 0; margin: 0; }");
m_galleryBar->setStyleSheet(
"QWidget#galleryBar { background-color: #9b59b6; border: 1px solid "
"#8e44ad; padding: 0; margin: 0; }");
"#8e44ad; border-radius:0px; padding: 0; margin: 0; }");
m_othersBar->setStyleSheet(
"QWidget#othersBar { background-color: #a28729; border: 1px solid "
"#c4a32d; padding: 0; margin: 0; }");
"#c4a32d; border-radius:0px; padding: 0; margin: 0; }");
m_freeBar->setStyleSheet(
"QWidget#freeBar { background-color: #474747; border: 1px solid "
"#4f4f4f; padding: 0; margin: 0; border-top-right-radius: 3px; "
"QWidget#freeBar { background-color: rgba(255, 255, 255, 10); border: "
"1px solid "
"#4f4f4f4f; padding: 0; margin: 0; border-radius:0px; "
"border-top-right-radius: 3px; "
"border-bottom-right-radius: 3px; }");
// remove padding margin from layout