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
+16 -14
View File
@@ -32,18 +32,20 @@ void ZLineEdit::setupStyles() { updateStyles(); }
void ZLineEdit::updateStyles()
{
setStyleSheet("QLineEdit { "
" border: 2px solid " +
qApp->palette().color(QPalette::Midlight).name() +
"; "
" border-radius: 6px; "
" padding: 8px 12px; "
" font-size: 14px; "
"} "
"QLineEdit:focus { "
" border: 2px solid " +
COLOR_ACCENT_BLUE.name() +
"; "
" outline: none; "
"}");
// FIMXE: seg faults if Qt decides to change pallets due to applied
// stylesheets
// setStyleSheet("QLineEdit { "
// " border: 2px solid " +
// qApp->palette().color(QPalette::Midlight).name() +
// "; "
// " border-radius: 6px; "
// " padding: 8px 12px; "
// " font-size: 14px; "
// "} "
// "QLineEdit:focus { "
// " border: 2px solid " +
// COLOR_ACCENT_BLUE.name() +
// "; "
// " outline: none; "
// "}");
}