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
Johannes Hilden
828c881fca
Add stubs for qtmateriallist and qtmateriallistitem
2017-10-27 16:51:12 +03:00
Johannes Hilden
053d427bc2
Add stub for qtmaterialmenu_internal
2017-10-16 21:33:51 +03:00
Johannes Hilden
159258bf8d
Add menu stubs
2017-10-15 16:40:11 +03:00
Johannes Hilden
5aefcce24d
Add state machine for Auto Complete
2017-10-15 13:38:53 +03:00
johanneshilden
ded3bf2bd0
Add stub for SnackBar layout
2017-10-12 07:03:07 +03:00
johanneshilden
8859e2ae2f
Add a bunch of stubs for new components
2017-10-06 15:05:09 +03:00
johanneshilden
83b5b10bbe
Add qtmaterialappbar stub files
2017-10-05 14:31:52 +03:00
johanneshilden
89354e65e6
Add Drawer component and examples
2017-09-30 03:20:12 +03:00
johanneshilden
56cb620d6f
Add Dialog files
2017-09-30 02:15:08 +03:00
johanneshilden
f0c2df6f2c
Add Snackbar settings editor
2017-09-30 01:57:55 +03:00
johanneshilden
67c9da5516
Resolve merge conflict
2017-09-30 01:51:12 +03:00
johanneshilden
5cd3a0bdf6
Remove Menu Item
2017-09-30 01:36:16 +03:00
johanneshilden
286b1e1c10
Remove crappy components
2017-09-30 01:34:24 +03:00
johanneshilden
78828df357
Add Icon Menu
2017-09-29 21:17:44 +03:00
johanneshilden
b4baf40ca1
Fix includes
2017-09-29 20:59:35 +03:00
johanneshilden
3506bdba74
Add Select Field files
2017-09-29 20:54:41 +03:00
johanneshilden
404f4b3c7e
Add Tabs
2017-09-29 20:25:42 +03:00
johanneshilden
c4c302ed6c
Add Text Field component
2017-09-29 20:15:25 +03:00
johanneshilden
49e565a916
Add Toggle component
2017-09-29 19:52:33 +03:00
johanneshilden
49ed0a2ed3
Add Radio Button files
2017-09-29 17:50:04 +03:00
johanneshilden
f3d9e0069b
Add Snackbar files
2017-09-29 16:58:25 +03:00
johanneshilden
231f01b5a6
Add Slider
2017-09-29 16:53:18 +03:00
johanneshilden
9f049a8f19
Merge in circular progress
2017-09-29 16:43:09 +03:00
johanneshilden
7fb6e882be
Add Progress component
2017-09-29 16:33:26 +03:00
johanneshilden
57055c5489
Add Icon Button classes
2017-09-29 12:56:51 +03:00
johanneshilden
0acb21af2a
Add a bunch of buttons
2017-09-29 12:50:04 +03:00
johanneshilden
20357d05d0
Add Circular Progress component
2017-09-29 12:14:01 +03:00
johanneshilden
ae358e888c
Add Checkbox files again
2017-09-29 09:53:21 +03:00
johanneshilden
a669df832f
Reimplement Badge component
2017-09-29 01:01:01 +03:00
johanneshilden
65b956f82a
Add font resources
2017-09-28 16:04:24 +03:00
johanneshilden
a19ead9728
Split project setup into executable and lib parts
2017-09-28 15:52:06 +03:00