Commit Graph

1163 Commits

Author SHA1 Message Date
Uwe Rathmann d0cd48f8c2 QskDrawer improvements 2023-10-17 14:36:44 +02:00
Uwe Rathmann d85d0a0338 QskPopup::toggle added 2023-10-17 14:35:21 +02:00
Uwe Rathmann b31f94225d ItemChildRemovedChange handling added 2023-10-17 14:34:20 +02:00
Uwe Rathmann 5f31eb1e78 QskDrawer reimplemented, can be open by a swipe gesture now. more work
to do
2023-10-17 12:14:42 +02:00
Uwe Rathmann 3b5e6aa0fd always accept transitions for items without QQuickItem::ItemHasContents 2023-10-16 19:19:38 +02:00
Uwe Rathmann 7cf88e7b45 compiler warning fixed 2023-10-15 15:53:27 +02:00
Uwe Rathmann 3ecd8f337e code moved from QskPopupSkinlet to QskSlideInNode 2023-10-15 15:44:09 +02:00
Uwe Rathmann 56446c26db missing enum initialization fixed 2023-10-15 15:43:29 +02:00
Uwe Rathmann 208865ba8d QskGestureRecognizer improvements 2023-10-11 09:18:09 +02:00
Uwe Rathmann 2e980f087d QskGestureRecognizer::targetItem introduced 2023-10-09 10:37:07 +02:00
Uwe Rathmann b73513eb1f using styleHints for the minimal pan distance 2023-10-09 10:32:03 +02:00
Uwe Rathmann 067cffbd7c QskGestureRecognizer using event filtering 2023-10-05 08:59:30 +02:00
Uwe Rathmann 267c559330 QskStackBoxAnimator1::setOrientation replaced by QskStackBoxAnimator1::setDirection.
Autodetection the direction from the indexes did not work when having
only 2 items.
2023-09-27 11:07:05 +02:00
Uwe Rathmann 27f41dd5f6 crash for items <= 1 fixed 2023-09-26 16:42:45 +02:00
Uwe Rathmann 19f7e344ff whitespaces removed 2023-09-26 16:42:28 +02:00
Uwe Rathmann bf2c2b981e QskSwipeView improvements 2023-08-10 19:54:06 +02:00
Uwe Rathmann b6b9cf0039 basic adjustments 2023-08-10 19:10:31 +02:00
Uwe Rathmann 2514005120 Merge branch 'swipe-view' of https://github.com/edelhirsch/qskinny into edelhirsch-swipe-view 2023-08-10 18:48:01 +02:00
Uwe Rathmann 3eb62bb692 smooth state transitions for listbox row selections 2023-08-10 18:43:24 +02:00
Uwe Rathmann ac4f190733 QskGestureFilterEvent introduced to allow adding gestures to foreign
controls using event filtering ( f.e QskDrawer needs this )
2023-08-10 13:38:21 +02:00
Uwe Rathmann c8316906d2 QskDrawer setting for Fluent2 2023-08-10 13:36:01 +02:00
Uwe Rathmann 3912fc3a91 build warnings fixed 2023-08-09 10:40:01 +02:00
Uwe Rathmann 85642665d4 being more const aware 2023-08-09 10:37:20 +02:00
Peter Hartmann ec61c11ab6 progress bars: Introduce progress ring and refactor
Most of the code between rings and bars can be shared with a
common superclass QskProgressIndicator.

Resolves #98
2023-08-09 08:33:05 +02:00
Uwe Rathmann 1a6a9f5941 mat3 skin prepared for smooth list view updates 2023-08-07 08:35:37 +02:00
Uwe Rathmann 95a8809979 ListView: alternating row colors removed. Adding sample variations bits
for animations makes the code too messy for the value of this feature.
2023-08-02 09:01:06 +02:00
Uwe Rathmann 946bac677d Hovered/Pressed states for QskListView cells added 2023-07-31 17:16:41 +02:00
Uwe Rathmann 849411ea97 mouse press handling fixed 2023-07-31 15:06:41 +02:00
Uwe Rathmann 638ee038aa trying to reorganize QskListViewSkinlet to be able to make use of
updateSeriesNode and friends
2023-07-27 17:03:34 +02:00
Uwe Rathmann 75b64d049a do not use focus navigation for the list entries 2023-07-21 13:01:06 +02:00
Uwe Rathmann 4270b0f7ba making QskMainView a tab fence, so that the tab chain does not stop at
the end
2023-07-21 11:35:24 +02:00
Uwe Rathmann c6fb2f81c9 scrollbar hover events 2023-07-20 16:46:21 +02:00
Uwe Rathmann bdef864bf3 fluent2 scrollbars improved 2023-07-20 10:41:49 +02:00
Uwe Rathmann eb0bac4927 using std::as_const to avoid deprecation warnings 2023-07-20 08:36:07 +02:00
Uwe Rathmann 4e2a069c14 Fluent2 scrollbar updates 2023-07-19 17:43:51 +02:00
Uwe Rathmann c40457fbea QskListView updates needed for M3 skins 2023-07-19 15:18:04 +02:00
Uwe Rathmann 881a607428 focusIndicator around the current row 2023-07-18 16:18:36 +02:00
Uwe Rathmann 3fee4907c0 Cursor is no series node 2023-07-05 19:04:57 +02:00
Uwe Rathmann 56c3481c42 splash node clipping fixed 2023-07-05 19:00:16 +02:00
Uwe Rathmann 4bf1b019c7 QskSegmentedBarSkinlet fixes 2023-07-05 18:28:57 +02:00
Uwe Rathmann d33e1f1a90 focus handling fixed 2023-07-05 14:51:18 +02:00
Peter Hartmann bfa8df85d5 segmented bar: Improve splash 2023-07-04 12:57:27 +02:00
Peter Hartmann 824802a1dc segmented bar: use Minimum / Maximum states only for subcontrols 2023-07-04 12:57:27 +02:00
Peter Hartmann caba0d5735 segmented bar: Support focus 2023-07-04 12:57:27 +02:00
Peter Hartmann acb225bb82 segmented bar: support hovered state 2023-07-04 12:57:27 +02:00
Peter Hartmann 636f548fed segmented bar: Add Pressed state and style also for Hovered 2023-07-04 12:57:27 +02:00
Peter Hartmann 6b43231ca2 segmented bar: Add splash rect and style for M3 2023-07-04 12:57:27 +02:00
Peter Hartmann b97bce2360 combo box: Support pressed state 2023-07-04 12:54:59 +02:00
Peter Hartmann e00c2f5335 menu: support pressed state 2023-07-04 12:54:59 +02:00
Peter Hartmann f126a9007d menu: Support hovered state 2023-07-04 12:54:59 +02:00
Uwe Rathmann e5e2921bba Fluent2 skin reactivated 2023-07-03 17:50:57 +02:00
Uwe Rathmann 9550ca62fc recalculate the scrollable size on skin changes 2023-07-03 16:45:18 +02:00
Uwe Rathmann aa5b2aaefa adjusting the section according to the currently focused item 2023-07-03 08:03:08 +02:00
Uwe Rathmann 9e7e52898e QskSkin::ColorScheme with scoped value names 2023-07-03 07:29:29 +02:00
Peter Hartmann 98158b2a4b Skins: Unify lightness enum 2023-07-02 11:51:56 +02:00
Peter Hartmann b84593a6f4 Skins: Order skins depending on system color scheme
Resolves #320
2023-07-02 11:51:56 +02:00
Uwe Rathmann 9a37a1ef9d Fluent2/Material3 need specific settings for Hovered/Pressed states of
scrollbar handles ( vertical/horizontal ) and list box cells. Having 2 * 3
different states is not working properly and we need to do some manual
coding to limit the states. This first commit works with Pressed only -
Hovered will be added.
2023-06-30 14:51:03 +02:00
Uwe Rathmann 1634335a49 using QskBoxNode for the cell background 2023-06-30 14:44:31 +02:00
Uwe Rathmann 3d7afa533a alternating row colors as skin hint 2023-06-30 14:38:48 +02:00
Uwe Rathmann a88a1b7a50 starting state transitions for specific subcontrols supported 2023-06-30 14:25:11 +02:00
Uwe Rathmann a12de7a200 QskSkinStateChanger::resetStates added 2023-06-30 14:24:31 +02:00
Uwe Rathmann b74a741bd8 blocking fluent2 skins again 2023-06-20 19:15:15 +02:00
Uwe Rathmann d27a19ba57 unblocking the fluent2 skins 2023-06-20 09:45:07 +02:00
Uwe Rathmann 7f368d13dd blocking the Fluent2 skins - we need to fix a couple of issues first 2023-06-20 09:22:33 +02:00
Uwe Rathmann 1f8283b186 respect the ordering from the skin factories instead of sorting them
alphabetically
2023-06-20 09:20:51 +02:00
Peter Hartmann 64bc724f6f Add QskSwipeView
Resolves #107
2023-06-19 18:13:36 +02:00
Peter Hartmann d56c99b3e7 windows style: Style progress bar
... and allow for the case where the bar is bigger than the groove.
2023-06-16 12:49:28 +02:00
Peter Hartmann 9e4e31f349 Windows style: Style spin box and add some use cases in skinlet 2023-06-01 08:00:10 +02:00
Uwe Rathmann 587183993b QskLinesNode improvements 2023-05-25 15:03:48 +02:00
Uwe Rathmann 9038869909 effectiveFont allows qualified aspects now 2023-05-25 14:56:54 +02:00
Uwe Rathmann bf74b4edf1 using '*.h' includes 2023-05-25 14:54:18 +02:00
Uwe Rathmann d84e75a3d1 implementation of QskStippleMetrics completed 2023-05-25 14:52:54 +02:00
Uwe Rathmann 81a90986b3 Empty QskLabelData is interpreted as separator now. Not sure how much
of an improvement this is as it adds the separators to the list of
options. But at least this allows to implement a wrapper like
QskMenuButton by copying options only.
Definitely not the final word on this API.
2023-05-16 12:49:46 +02:00
Uwe Rathmann 1f899ebdbf making QskMainView a focus scope, so that the focus does not get lost,
when popups ( f.e menus ) have appeared
2023-05-15 15:04:47 +02:00
Uwe Rathmann e64e1b6cbb QskMenu implementation simplified 2023-05-15 13:42:19 +02:00
Uwe Rathmann 33b3ddb5e3 allow registration of skinlet for skinnables ( not only controls ) 2023-05-12 13:16:49 +02:00
Uwe Rathmann bee6f75888 memory leak fixed 2023-05-11 08:15:48 +02:00
Uwe Rathmann eb2fcbe6c2 closing the menu before triggering the operation 2023-05-10 09:14:25 +02:00
Peter Hartmann d0934cb0fd tab button: Fix size hint
... and style properly for Material
2023-05-09 07:49:48 +02:00
Peter Hartmann d61780971c radio box: Don't reset the selected index when pressing it
We need this to style the control correctly
2023-05-09 07:49:48 +02:00
Peter Hartmann b9fa8b3b34 radio box: Support hovered state 2023-05-09 07:49:48 +02:00
Uwe Rathmann 2980fc91e3 minor updates for QskDrawer 2023-05-02 18:51:09 +02:00
Uwe Rathmann 585f763542 QskSkinnable can be used in combination with a simple QQuickItem now 2023-05-02 09:44:57 +02:00
Uwe Rathmann 8f43d882d6 properties added 2023-04-20 13:30:41 +02:00
Uwe Rathmann 4f4816bb31 QskMainView showing a themed background 2023-04-20 08:37:09 +02:00
Uwe Rathmann 785cb33739 QskArcNode supports borders now 2023-04-17 10:54:44 +02:00
Uwe Rathmann 328e6a9e6f QskArcNode as composite of fill/border nodes 2023-04-14 12:44:49 +02:00
Uwe Rathmann 73dd618626 working on arcs 2023-04-14 09:47:10 +02:00
Uwe Rathmann 45a1bc3564 QskArcNode is a QskShapeNode now.
The performance of the previous implementation was simply horrible,
when drawing an arc with a small span angle. The size of the corresponding full circle
is huge and the previous implementation always created an image/texture with
that size.

However the final implementation is supposed to create vertex lists
- like what the box renderer does. So this code will also not stay forever.
2023-04-12 12:19:26 +02:00
Uwe Rathmann 7ddae671e2 API of classes dealing with arcs improved 2023-04-11 13:04:10 +02:00
Uwe Rathmann 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann 1ac6334c0e avoidable private includes removed 2023-04-05 09:56:28 +02:00
Uwe Rathmann 18c16c12fe hiding QGuiApplicationPrivate 2023-04-05 09:52:23 +02:00
Uwe Rathmann 084eae3dbc pedantic compiler flags fixed 2023-04-04 09:27:02 +02:00
Uwe Rathmann 658bc71891 fixig pedantic compiler warnings 2023-04-04 09:05:16 +02:00
Uwe Rathmann 7e36893d1c compiler warnings fixed 2023-04-04 08:49:11 +02:00
Uwe Rathmann 3d9dca4500 minor changes 2023-03-20 11:02:43 +01:00
Uwe Rathmann 266ccc8f21 qskFindAncestorOf - const version fixed 2023-03-20 11:01:50 +01:00
Uwe Rathmann 75600b584d working on the QskTab classes redesign - initial API cleanup 2023-03-14 09:34:52 +01:00
Uwe Rathmann 560cc607c9 QskApplicationView -> QskMainView 2023-03-10 15:45:53 +01:00