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
c1a4c04887
Fix preset buttons in button preview
2017-11-02 20:42:45 +03:00
Johannes Hilden
4953292e64
Fix issue #29
2017-11-02 20:22:25 +03:00
Johannes Hilden
291ceb945b
Fix scrollbar hide on mouse out behavior
2017-10-30 20:44:56 +03:00
Johannes Hilden
f092987678
Include horizontal scrollbar in examples
2017-10-30 20:20:59 +03:00
Johannes Hilden
9ad24d127c
Fill out scaffolding code in menu component
2017-10-15 16:54:35 +03:00
Johannes Hilden
09d2c6b1ec
Create stub files for menu settings editor
2017-10-15 16:48:56 +03:00
Johannes Hilden
72701bd1a9
Update examples
2017-10-15 16:30:13 +03:00
Johannes Hilden
837762c647
Add itemSelected signal to Auto Complete
2017-10-15 12:59:46 +03:00
johanneshilden
696dc2ed2a
Remove unused code
2017-10-13 07:02:24 +03:00
johanneshilden
aef66be2ed
Move test data to example class
2017-10-13 06:51:39 +03:00
johanneshilden
8248df4efb
Add experimental Auto Complete component
2017-10-13 00:27:50 +03:00
johanneshilden
d8e2513ff5
Add label list to Drawer example
2017-10-12 22:42:25 +03:00
johanneshilden
508245cc03
Add content to drawer in examples
2017-10-12 22:35:48 +03:00
johanneshilden
7dbb05abd8
Create ui form for Drawer exxamples
2017-10-12 22:32:53 +03:00
johanneshilden
6cd984b183
Update form
2017-10-12 22:24:52 +03:00
johanneshilden
056aeff3bd
Place drawer inside canvas in example widget
2017-10-12 22:14:23 +03:00
johanneshilden
f72cb03f0b
Update painter code to take into account text alignment
2017-10-12 09:51:53 +03:00
johanneshilden
7c608fad0f
Add text alignment option to Flat Button
2017-10-12 09:42:02 +03: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
c082269a71
Add appbarsettingsform ui file
2017-10-11 20:18:39 +03:00
johanneshilden
5bdb7fd06d
Create stub for AppBar settings editor
2017-10-11 20:16:52 +03:00
johanneshilden
3a7d7a19fd
Add overlayMode property to QtMaterialDrawer
2017-10-07 15:54:56 +03:00
johanneshilden
0e999a564c
Fix #21
2017-10-06 08:29:38 +03:00
johanneshilden
487643651b
Rename underscore to underline
2017-10-05 17:39:01 +03:00
Francesco Perillo
1c7892d8b1
QtMaterialTextField: implemeted hiding of underscore
2017-10-05 15:31:14 +02:00
johanneshilden
c8fbfb019d
Add PRE_TARGETDEPS variable again
2017-10-04 22:42:44 +03:00
johanneshilden
b1ab802c58
Change build TARGET to simply examples-exe
2017-10-04 18:59:58 +03:00
johanneshilden
fcc4b907a3
Set TARGET as absolute path
2017-10-04 17:08:05 +03:00
Francesco Perillo
cf26ceae63
Win32 build system
2017-10-04 15:08:13 +02:00
johanneshilden
6d96e6b1ae
Use <> in include statements instead of quotes for library headers
2017-10-04 13:56:50 +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
5b59ddc7cc
Enable clickOutsideToClose property in Drawer example
2017-10-03 10:09:16 +03:00
johanneshilden
a65e32cd5d
Add PRE_TARGETDEPS qmake variable to .pro file to fix incremental builds
2017-10-01 16:36:00 +03:00
johanneshilden
51eca21084
Remove unnecessary QIcon constructor
2017-09-30 10:41:59 +03:00
johanneshilden
4d7851aea7
Edit more label texts
2017-09-30 10:33:56 +03:00
johanneshilden
78a181b65f
Edit some labels in examples
2017-09-30 10:12:33 +03:00
johanneshilden
b8088d64f8
Edit radio button labels
2017-09-30 10:10:07 +03:00
johanneshilden
a9a8a9a153
Disable auto-hide for ScrollBar in example
2017-09-30 04:18:23 +03:00
johanneshilden
a33d6dfa0c
Add ScrollBar settings editor and form files
2017-09-30 04:14:28 +03:00
johanneshilden
89354e65e6
Add Drawer component and examples
2017-09-30 03:20:12 +03:00
johanneshilden
3f1b94eadc
Set button alignment in Dialog
2017-09-30 02:41:55 +03:00
johanneshilden
f19cf511d1
Add Dialog
2017-09-30 02:40:00 +03:00
johanneshilden
ef4ea669df
Clean up form files
2017-09-30 02:12:24 +03:00
johanneshilden
e3c66097da
Change form name to SnackbarSettingsForm
2017-09-30 02:01:13 +03:00
johanneshilden
f0c2df6f2c
Add Snackbar settings editor
2017-09-30 01:57:55 +03:00