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
cb1762b0dd
Add CONFIG += ordered to project main .pro file
2017-10-04 13:11:37 +03:00
fperillo
8d6c4265dd
Moved CONFIG += c++11 to examples\examples.pro instead of qt-material-widgets.pro
2017-10-04 00:20:07 +02:00
johanneshilden
065f3da627
Add CONFIG += c++11 to project .pro file
2017-10-03 20:38:11 +03:00
johanneshilden
a19ead9728
Split project setup into executable and lib parts
2017-09-28 15:52:06 +03:00
johanneshilden
886e42b5c5
Add component files to .pro file
2017-09-28 13:17:48 +03:00
johanneshilden
2e540ed596
Start from fresh in cleanup branch
2017-09-28 12:58:27 +03:00
laserpants
c144f850dd
snap
2016-07-22 08:47:07 +03:00
laserpants
aefea95267
snapshot
2016-07-21 09:13:29 +03:00
laserpants
45393959fc
snapshot
2016-07-20 14:48:39 +03:00
laserpants
539e382da5
code cleanup
2016-07-18 16:26:29 +03:00
laserpants
254a619c2a
snapshot
2016-07-16 17:56:30 +03:00
laserpants
733f7310d3
dev. snapshot
2016-07-16 13:17:46 +03:00
laserpants
f24a7cf3a7
refactor everything
2016-07-04 10:46:10 +03:00
laserpants
03f2571f34
implement Drawer
2016-06-24 07:50:24 +03:00
laserpants
412fb61a8f
add boilerplate for drawer private class
2016-06-23 10:18:43 +03:00
laserpants
a6bf946190
implement dialog transparency effect
2016-06-20 18:47:17 +03:00
laserpants
4956b2720a
add Dialog boilerplate code
2016-06-19 17:13:37 +03:00
laserpants
d2c3f904db
rename ScrollBar files from scrollbar to scrollwidget to clear up QtCreator mess
2016-06-19 16:39:11 +03:00
laserpants
c47e969300
implement ScrollBar
2016-06-19 15:49:42 +03:00
laserpants
fff7078542
implement basic indeterminate progress animations
2016-06-19 12:49:55 +03:00
laserpants
e756328547
implement linear progress
2016-06-19 12:18:05 +03:00
laserpants
3cd3953629
add boilerplate code to Progress
2016-06-18 12:12:20 +03:00
laserpants
8d25f4036a
implement Snackbar
2016-06-18 11:50:33 +03:00
laserpants
d42fa35c42
implement basic Avatar
2016-06-17 16:09:19 +03:00
laserpants
0581bb0313
add Drawer boilerplate
2016-06-17 14:45:27 +03:00
laserpants
58a4ef9fd4
implement Badge
2016-06-17 14:25:06 +03:00
laserpants
07f4478d3f
create separate class for Text Field state machine
2016-06-14 18:33:49 +03:00
laserpants
84c3ce96b4
make Text Field pimpl class
2016-06-14 18:30:46 +03:00
laserpants
c9908a41c4
more boilerplate
2016-06-14 10:50:52 +03:00
laserpants
fcde226168
refactor checkbox and radiobutton code
2016-06-14 02:27:37 +03:00
laserpants
b975f1b84b
add new Checkbox classes
2016-06-13 14:49:57 +03:00
laserpants
a7a4ad9e81
implement basic Radio Button functionality
2016-06-12 22:36:51 +03:00
laserpants
07ce6b642f
make Radio Button pimpl class
2016-06-12 19:02:45 +03:00
laserpants
e5a4da2d16
add more FAB boilerplate
2016-06-12 13:26:38 +03:00
laserpants
82e8023637
boilerplate for new components
2016-06-12 11:21:58 +03:00
laserpants
9ddb4d6fb0
shade inactive tabs
2016-06-11 18:43:33 +03:00
laserpants
29e6b2689d
include svg module
2016-06-11 15:00:50 +03:00
laserpants
52a7a6263a
remove old tab sources
2016-05-30 11:35:51 +03:00
laserpants
83ff691c6a
reimplement Tabs component as pimpl class
2016-05-30 09:51:46 +03:00
laserpants
0ec35cbd70
re-implement icon button as pimpl class
2016-05-30 00:26:42 +03:00
laserpants
26072c8373
make toggle pimpl class
2016-05-29 13:08:55 +03:00
laserpants
0b393ced08
add private Toggle class
2016-05-29 10:58:27 +03:00
laserpants
023f28610f
pimplify toggle class
2016-05-29 00:01:24 +03:00
FarmRadio Hangar
0f4020d193
fix pimpl inheritance for Raised Button class
2016-05-17 15:26:50 +03:00
laserpants
e646cc0332
add flat button internal class
2016-05-15 10:08:23 +03:00
laserpants
4bc4d6aa92
make FlatButton pimpl
2016-05-14 14:06:20 +03:00
laserpants
0c7920188b
move internal slider classes to new file
2016-05-13 22:35:51 +03:00
laserpants
66084f8e4a
clean up slider track painter code
2016-05-12 19:59:18 +03:00
FarmRadio Hangar
2b50f65438
snapshot
2016-05-12 17:34:06 +03:00