Commit Graph

3 Commits

Author SHA1 Message Date
caomengxuan666 a08314a2b9 feat: add support for Qt6 and fix compilation issues
- Replace deprecated QLayout::setMargin() with setContentsMargins().
- Replace QPalette::Foreground with QPalette::WindowText to adapt to Qt6's QPalette role changes.
- Ensure compatibility with both Qt5 and Qt6 to avoid API-related compilation errors.

Test Results:
- Successfully compiles and runs on both Qt5 and Qt6 environments.
- The fixes maintain functional consistency and do not introduce new issues.

This update improves cross-version compatibility and provides better support for future migration to Qt6.
2025-04-24 20:00:53 +08:00
johanneshilden 41d84efb57 Use DISABLE_THEME_COLORS macro 2017-09-29 20:48:26 +03:00
johanneshilden 404f4b3c7e Add Tabs 2017-09-29 20:25:42 +03:00