mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
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:
@@ -18,8 +18,16 @@
|
||||
*/
|
||||
|
||||
#include "tool.h"
|
||||
#ifdef WIN32
|
||||
#include "../platform/windows/widgets/wintoolwidget.h"
|
||||
#include "../platform/windows/win_common.h"
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
Tool::Tool(QWidget *parent) : WinToolWidget(parent)
|
||||
#else
|
||||
Tool::Tool(QWidget *parent) : QWidget(parent)
|
||||
#endif
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
setupToolFrame(this);
|
||||
|
||||
Reference in New Issue
Block a user