曹梦轩
2a611279aa
Merge a08314a2b9
into 3a0e226597
2025-04-24 20:15:21 +08:00
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
Heikki Johannes Hildén
3a0e226597
Merge pull request #42 from jpcima/work
...
Add <QPainterPath> where necessary
2020-10-22 20:38:59 +03:00
Jean Pierre Cimalando
c9a946f783
Add <QPainterPath> where necessary
2020-08-03 16:16:38 +02:00
Heikki Johannes Hildén
1c00e5706b
Update README.md
2018-02-02 22:52:06 +03:00
Johannes Hilden
d4dbe4717e
Reduce animation duration
2017-11-02 22:12:41 +03: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
caa722c399
Fix horizontal scrollbar bug
2017-10-30 20:17:41 +03:00
Johannes Hilden
36060c9b87
Merge branch 'master' of https://github.com/laserpants/qt-material-widgets
2017-10-27 16:52:48 +03:00
Johannes Hilden
828c881fca
Add stubs for qtmateriallist and qtmateriallistitem
2017-10-27 16:51:12 +03:00
Heikki Johannes Hildén
2d0bb04cbf
Update README.md
2017-10-27 12:09:16 +03:00
Heikki Johannes Hildén
907225f717
Update README.md
2017-10-27 12:08:43 +03:00
Heikki Johannes Hildén
66d8913094
Update README.md
2017-10-27 12:05:57 +03:00
Johannes Hilden
998fb6bd89
Make member pointers const when possible
2017-10-16 23:13:14 +03:00
Johannes Hilden
053d427bc2
Add stub for qtmaterialmenu_internal
2017-10-16 21:33:51 +03:00
Johannes Hilden
d60e3e9176
:wqa:Merge branch 'master' into menu
2017-10-15 20:18:34 +03:00
Johannes Hilden
ced8adbcca
Update README
2017-10-15 20:17:53 +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
4bf7a1f1ca
Add include statements
2017-10-15 16:41:09 +03:00
Johannes Hilden
159258bf8d
Add menu stubs
2017-10-15 16:40:11 +03:00
Johannes Hilden
38640724c3
Opacity should be 1 on menu drop shadow
2017-10-15 16:34:37 +03:00
Johannes Hilden
72701bd1a9
Update examples
2017-10-15 16:30:13 +03:00
Johannes Hilden
a6ef42ee59
Remove commented out code
2017-10-15 16:22:19 +03:00
Johannes Hilden
2e8922f9b9
Fix drop shadow on auto complete menu
2017-10-15 16:20:07 +03:00
Johannes Hilden
a9605c94bb
Adjust transition duration value
2017-10-15 14:46:15 +03:00
Johannes Hilden
41c5f156a2
Implement fade effect for Auto Complete
2017-10-15 14:45:11 +03:00
Johannes Hilden
5aefcce24d
Add state machine for Auto Complete
2017-10-15 13:38:53 +03:00
Johannes Hilden
277669c31d
Add Auto Comlete to list of implemented components
2017-10-15 13:08:53 +03:00
Johannes Hilden
837762c647
Add itemSelected signal to Auto Complete
2017-10-15 12:59:46 +03:00
Johannes Hilden
46eeb4f063
Use tinted overlay in Auto Complete drop-down menu items
2017-10-15 12:51:28 +03:00
Johannes Hilden
3872ddb36a
Give Auto Complete menu some time to disappear
2017-10-15 12:43:05 +03:00
Johannes Hilden
90317143fb
Change Autocomplete to Auto Complete
2017-10-15 12:17:37 +03:00
Johannes Hilden
c65c32fe52
Hide menu on mouse button press
2017-10-15 11:48:25 +03:00
Johannes Hilden
80e9a5a4b8
Make sure ripple is destroyed when overlay host widget is (segfault error)
2017-10-15 11:39:23 +03:00
johanneshilden
8a64b5a981
Figure out segfault
2017-10-13 22:37:05 +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
5f52329c59
Add some docblock comments
2017-10-13 00:33:59 +03:00
Heikki Johannes Hildén
bcef4c2b40
Update README.md
2017-10-13 00:31:30 +03:00
johanneshilden
8248df4efb
Add experimental Auto Complete component
2017-10-13 00:27:50 +03:00
johanneshilden
c0712f210a
Add call to update in setOverlayMode
2017-10-12 22:47:10 +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