Commit Graph

7 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 235d3726e7 Add label 2017-10-11 23:51:49 +03:00
johanneshilden fc6f67dac0 Fix icon button painting for different sizes 2017-10-11 23:33:55 +03:00
johanneshilden 067cf211b3 Build out AppBar layout 2017-10-11 23:16:13 +03:00
johanneshilden b40b8a1a4e Build out AppBar settings form 2017-10-11 22:44:35 +03:00
johanneshilden f954d5e9c5 Add AppBar to examples 2017-10-11 22:25:22 +03:00
johanneshilden 5bdb7fd06d Create stub for AppBar settings editor 2017-10-11 20:16:52 +03:00