Commit Graph

2113 Commits

Author SHA1 Message Date
Uwe Rathmann 3b4f167709 always sending ( ot posting ) animator events. Otherwise we might be one
updateNode cycle too late
2023-10-30 17:08:39 +01:00
Uwe Rathmann b5fb6d80ad the itemNode is always a QSGTransformNode 2023-10-30 17:08:01 +01:00
Uwe Rathmann 83df3ad8da QskPopup key handling added 2023-10-25 10:07:38 +02:00
Uwe Rathmann 346aff98d1 using QQuickItemPrivate::inDestructor for Qt >= 6.5 instead of the
componentComplete hack done in ~QskQuickItem
2023-10-23 18:32:08 +02:00
Uwe Rathmann cec07e78ff QskSkinnable::runnigHintAnimator added 2023-10-22 10:58:07 +02:00
Uwe Rathmann d4ad863b7a sending geometry events to the root item, to support event filtering 2023-10-22 10:52:28 +02:00
Uwe Rathmann a0f5bbf54a more defensive updates for non-color animations 2023-10-22 10:51:29 +02:00
Uwe Rathmann b3c7eb7412 QskPopup::fading renamed to QskPopup::transitioning 2023-10-19 09:47:42 +02:00
Uwe Rathmann 4cbd0d62a5 respect QskPopup::hasFaderEffect 2023-10-18 15:10:55 +02:00
Uwe Rathmann e56360480f using 0/1 for closed/open ( instead of 1/0 ) 2023-10-18 15:07:29 +02:00
Uwe Rathmann 25461aaaf6 QskDrawer improvements 2023-10-18 15:05:17 +02:00
Uwe Rathmann a791867a3e QskDrawer::interactive, gesture handling for closing 2023-10-17 17:05:57 +02:00
Uwe Rathmann 142995504b QskDrawer using autoLayoutChildren 2023-10-17 15:53:30 +02:00
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 eff3641c4c avoid Qt 6.6 deprecation warnings 2023-10-05 09:23:45 +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 d43d6bfce2 missing forward declaration added 2023-07-20 08:29:32 +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 23f970650f always use stencil clipping - unfortunately the batch renderer
introduces rounding errors for the significantly faster scissor clips
2023-07-19 15:10:25 +02:00
Uwe Rathmann 86726e988f item statistics fixed 2023-07-18 16:29:35 +02:00
Uwe Rathmann 881a607428 focusIndicator around the current row 2023-07-18 16:18:36 +02:00
Uwe Rathmann f251a5f1ec setting row/columnCount to 0 when clearing the layout 2023-07-17 13:15:31 +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 b00cfbdd66 themed top level background 2023-07-03 16:54:53 +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 4775045b62 QskAspect::Card introduced 2023-06-20 19:16:40 +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
Uwe Rathmann 0421066dee more layout classes being available for application code 2023-06-14 13:00:17 +02:00
Peter Hartmann 0e67ed8aec subcontrol layout engine: Allow for laying out more than 2 elements 2023-06-07 12:52:24 +02:00
Uwe Rathmann 34776ee664 using QskLinesNode in the dials example 2023-06-05 10:42:05 +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 5cda13568d avoid QGradient warnings 2023-05-28 12:43:56 +02:00
Uwe Rathmann 587183993b QskLinesNode improvements 2023-05-25 15:03:48 +02:00
Uwe Rathmann 3c62809308 exporting resetGeometry 2023-05-25 14:58:37 +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 5d3cba5650 QskLinesNode reorganized 2023-05-17 16:46:25 +02:00
Uwe Rathmann bf19d6464c QskLinesNode introduced 2023-05-17 14:21:40 +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 b2738f4bb6 Lower/Upper added as variations 2023-05-12 13:15:34 +02:00
Uwe Rathmann e87facfa81 typo fixed 2023-05-12 13:14:54 +02:00
Uwe Rathmann bee6f75888 memory leak fixed 2023-05-11 08:15:48 +02:00
Uwe Rathmann bf4bc41316 toRect added 2023-05-10 09:16:08 +02:00
Uwe Rathmann 90cbe8ad8f missing operators added 2023-05-10 09:15:32 +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 8f4d008900 conveniece methods ( without QTransform ) added 2023-05-08 09:37:43 +02:00
Uwe Rathmann 2980fc91e3 minor updates for QskDrawer 2023-05-02 18:51:09 +02:00
Clemens Manert 87bfa8611f Respect panel's padding 2023-05-02 18:10:31 +02:00
Clemens Manert 684f9c91da Remove alignment, make Drawer allways expand 2023-05-02 18:10:31 +02:00
Clemens Manert acd83bd8bf uncurstify 2023-05-02 18:10:31 +02:00
Clemens Manert be3b2339e8 Move skin related stuff to skins. 2023-05-02 18:10:31 +02:00
Clemens Manert 52d75a894f Remove needless imports 2023-05-02 18:10:31 +02:00
Clemens Manert 99cb893f15 Adds alignment property 2023-05-02 18:10:31 +02:00
Clemens Manert 9ef3b8ac6f Sane name to subcontrol 2023-05-02 18:10:31 +02:00
Clemens Manert cd42cc8ad8 Drawer can now slide in from different edges 2023-05-02 18:10:31 +02:00
Clemens Manert 9699d2b4f7 Fix size of drawer's content 2023-05-02 18:10:31 +02:00
Clemens Manert 55925c2774 Cleanup 2023-05-02 18:10:31 +02:00
Clemens Manert 798f0a148d Use animation hint for transition 2023-05-02 18:10:31 +02:00
Clemens Manert 6cf20789fe Tidy up includes 2023-05-02 18:10:31 +02:00
Clemens Manert 38b3b78d7d Tidy up unused stuff 2023-05-02 18:10:31 +02:00
Clemens Manert e46e602a37 Fix sizes of content 2023-05-02 18:10:31 +02:00
Clemens Manert 29d1116af2 Play animation when its getting closed 2023-05-02 18:10:31 +02:00
Clemens Manert 2e44c07a06 Add QskDrawer 2023-05-02 18:10:31 +02:00
Uwe Rathmann ffe4e11b21 QskStrokeNode with colored matarial for better batching. option for
simple polygons added without line joining added
2023-05-02 18:04:23 +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 4389d3034b qskTextRenderSize added 2023-05-02 09:44:29 +02:00
Uwe Rathmann 7796e11b03 getter added 2023-04-24 11:55:36 +02:00
Uwe Rathmann f0f2df43c0 division by zero fixed 2023-04-21 08:58:37 +02:00
Uwe Rathmann 9f74523b88 obsolete code removed 2023-04-21 07:35:04 +02:00
Uwe Rathmann 6a3e1d4dd5 memory leaks fixed 2023-04-20 19:05:38 +02:00
Uwe Rathmann 8f43d882d6 properties added 2023-04-20 13:30:41 +02:00
Uwe Rathmann d647f222d3 using 6.2 shader baker 2023-04-20 13:23:11 +02:00
Uwe Rathmann 2d6b7b3f46 memory leak fixed 2023-04-20 10:26:08 +02:00
Uwe Rathmann 4f4816bb31 QskMainView showing a themed background 2023-04-20 08:37:09 +02:00
Uwe Rathmann 64db2d0117 code moved from QskArcRenderer to QskArcMetrics 2023-04-19 12:16:40 +02:00
Uwe Rathmann c9063fd87e arcPath fixed to match conic gradients for ellipsoid arcs 2023-04-18 16:11:04 +02:00
Uwe Rathmann 9e99735d2f aspectRatio for conic gradients added to support f.e for filling ellipsoid arcs. 2023-04-18 16:08:37 +02:00
Uwe Rathmann e858e15b41 wrong metaObject fixed ( #305 ) 2023-04-17 18:51:04 +02:00
Uwe Rathmann e93456ddd8 deprecated API fixed 2023-04-17 17:47:51 +02:00
Uwe Rathmann b50920c72b color filter: Leave original brush as it was when substituting colors
QBrush is explicitly shared, so when setting the gradient of a copy,
    we are also changing the gradient of the original.
2023-04-17 17:32:20 +02:00
Uwe Rathmann 3210242276 using "unstretched" conic gradients 2023-04-17 17:29:47 +02:00
Uwe Rathmann 3beaeb83fa QskArcMetrics::isClosed added 2023-04-17 17:28:48 +02:00
Uwe Rathmann 1197a5983c compare operation for conic gradients fixed 2023-04-17 17:28:06 +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 7f2fbc7bd0 compile error fixed 2023-04-13 09:32:11 +02:00
Uwe Rathmann a124bd67c6 helper functions for normalizing angles added 2023-04-13 09:25:02 +02:00
Peter Hartmann 019e867d10 virtual keyboard: Fix out of bounds access
The user can modify the keyboard rows and cols, so we should not rely
on hardcoded values.
2023-04-12 17:20:06 +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 76248e480b QskArcMetrics::toAbsolute version with qreal added 2023-04-12 12:18:32 +02:00
Uwe Rathmann 98cb1b256b missing dummy destructor added 2023-04-12 12:17:38 +02:00
Peter Hartmann db056e7837 keyboard: Add property for mode 2023-04-11 15:54:24 +02:00
Uwe Rathmann 7ddae671e2 API of classes dealing with arcs improved 2023-04-11 13:04:10 +02:00
Uwe Rathmann 6c2713c1f9 avoid clang warnings 2023-04-06 10:06:00 +02:00
Uwe Rathmann 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann 247dd38067 bye,bye qmake, say hello to cmake 2023-04-05 17:47:15 +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 281ab9bff0 Qt5 issues fixed 2023-03-10 16:31:26 +01:00
Uwe Rathmann 560cc607c9 QskApplicationView -> QskMainView 2023-03-10 15:45:53 +01:00
Uwe Rathmann b55e5ee00a API adjustments 2023-03-10 12:46:19 +01:00
Uwe Rathmann c5a4a5d8fe QskMenu using QskLabelData now 2023-03-10 09:18:52 +01:00
Uwe Rathmann d611af617d ucrustified 2023-03-09 18:05:09 +01:00
Peter Hartmann f56cf19fd5 virtual keyboard: Make layouts settable 2023-03-09 18:02:44 +01:00
Uwe Rathmann e36f81b297 QskComboBox using QskLabelData now 2023-03-09 17:59:54 +01:00
Uwe Rathmann f9f5de8eb0 QskIcon/QskLabelData introduced 2023-03-09 15:30:40 +01:00
Uwe Rathmann 484780a40e using "icon" instead of "graphic".
"icon" was not used to avoid confusing with QIcon,
but it is probably more confusing not to use the name that
is used by almost all toolkits.
2023-03-08 14:11:27 +01:00
Uwe Rathmann 907409f21b QskComboBox::indexInPopup ( a.k.a QComboBox::highlightedIndex ) added 2023-03-07 15:00:33 +01:00
Uwe Rathmann 69d43a2ffa Merge branch 'master' of https://github.com/uwerat/qskinny 2023-03-07 14:33:24 +01:00
Uwe Rathmann 82f9a72603 QskComboBox key searching added 2023-03-07 14:32:53 +01:00
Uwe Rathmann c288d9319b Qt5 build break fixed 2023-03-07 13:52:03 +01:00
Uwe Rathmann fa998a9496 QskComboBox is creating its menu only temporary now 2023-03-07 13:26:36 +01:00
Uwe Rathmann 69546707d2 API extended 2023-03-07 13:26:05 +01:00
Uwe Rathmann 48853d38ef index of the combo box changes on the final QskMenu::trigereed - not while
navigating in the menu
2023-03-06 17:37:32 +01:00
Uwe Rathmann afe3248a8b Unused splash subcontrol/node removed. As the code was simply copied from the
push button we can restore it easily once we have a sitution, where a
splash feedback is required
2023-03-06 17:00:44 +01:00
Uwe Rathmann 4f24a74057 missing initialisation for the ripple added 2023-03-06 16:54:30 +01:00
Uwe Rathmann 70aa95dee6 minor fixes, workarounds 2023-03-06 16:40:06 +01:00
Uwe Rathmann 406e6ad08e hiding the focus rectangle while fading 2023-03-06 16:37:28 +01:00
Uwe Rathmann de7233e120 Qt5/QVariant can't convert enums to ints, so we need to register flags
as ints ( a.k.a alignment hint were broken in Qt5 )
2023-03-06 13:12:34 +01:00
Uwe Rathmann 5cf30110ec version guard fixed 2023-03-06 12:45:17 +01:00
Uwe Rathmann 5246f618a7 qskIsButtonPressKey moved to QskEvent.h, Qt5 build break fixed 2023-03-06 12:26:38 +01:00
Uwe Rathmann dae0cd7b1b combobox input handling improved ( wheel, more keys ) 2023-03-06 10:44:00 +01:00
Uwe Rathmann 04c50fc301 respecting QPlatformTheme::ButtonPressKeys for Qt6 2023-03-06 10:37:57 +01:00
Uwe Rathmann f60fe75de4 making the internal menu being modal for the window 2023-03-06 07:47:49 +01:00
Uwe Rathmann 2a2793422f MouseUngrab added 2023-03-05 16:54:22 +01:00
Uwe Rathmann 73610cdb61 QskRadioBox updated. Adding a new subcontrol that corresponds to a
single button ( check indicator + text ), what allows better
configuration from the skin
2023-03-05 16:31:55 +01:00
Uwe Rathmann 4f244c8f76 pixel scaling algo moved from M3 to QskPlatform.h 2023-03-05 11:52:42 +01:00
Peter Hartmann 689f45f710 push buttons: Fix layouting for eliding and wrapping texts 2023-03-05 11:01:29 +01:00
Uwe Rathmann 83a18a83c2 QskTextInput having the same default size policy as QLineEdit (
Expanding/Fixed )
2023-03-04 11:04:37 +01:00
Peter Hartmann 6d329e1e39 Material 3: Style virtual keyboard 2023-03-04 10:51:20 +01:00
Peter Hartmann 45df0a8807 virtual keyboard: Align at bottom and leave at the same size 2023-03-04 10:51:20 +01:00
Uwe Rathmann ed1a211e96 label renamed to placeholderText ( taken from QComboBox ), minor
adjustments
2023-03-03 19:01:40 +01:00
Uwe Rathmann 69aa0903c5 QskSkin::symbol removed - using symbolHints instead 2023-03-03 18:11:57 +01:00
Uwe Rathmann e3b62e0896 QskSegmentedBar fixed for Squiek, loading the checkmark as symbolHint 2023-03-03 14:51:22 +01:00
Uwe Rathmann f45946726f code simplified 2023-03-03 13:01:07 +01:00
Uwe Rathmann 68d02006f4 QskRadioBox development continued - work in progress 2023-03-03 12:49:22 +01:00
Uwe Rathmann a612ec7f17 preferredSize != minimumSize ( f.e we could do something useful with
eliding )
2023-03-03 12:47:59 +01:00
Uwe Rathmann b0df60a7a7 missing moc include 2023-03-02 15:13:19 +01:00
Uwe Rathmann c587263592 symbolHints introduced, several skinlets changed to make use of them 2023-03-02 14:56:30 +01:00
Uwe Rathmann a32204cd8c QskAspect::Flag replaced by QskAspect::NoType. Flag was a leftover from
the very early stages of this project and its semantics had become wrong
in the meantime
2023-03-02 12:19:32 +01:00
Uwe Rathmann 99eb5c3695 using graphics for the spin box button indicators 2023-03-02 09:16:55 +01:00
Uwe Rathmann 396289cfa4 triangle symbols added 2023-03-02 09:09:48 +01:00
Uwe Rathmann f3b516c81d implementation of accelerating/tracking postponed 2023-03-01 17:46:48 +01:00
Uwe Rathmann 99079a666e disable QskSpinBox buttons when reaching minimum/maximum 2023-03-01 16:09:17 +01:00
Uwe Rathmann a4b2bcde16 mouse handling completed 2023-03-01 14:22:40 +01:00
Uwe Rathmann 55d6aa6d5e QskSpinBox bugs fixed, QskSpinBox::wrapping mode implemented 2023-03-01 13:58:10 +01:00
Uwe Rathmann 28432446e6 Material is using the term "Ripple" for 2 different type of effects - Flutter
calls them "Splash" and "Highlight". We are using Splash too.
2023-03-01 10:51:46 +01:00
Peter Hartmann caf75721d4 tickmarks: support alignment 2023-02-28 16:11:27 +01:00
Uwe Rathmann 8a4f644034 avoid using deprecated methods 2023-02-28 15:55:13 +01:00
Uwe Rathmann a6bf60c9b4 upgraded to uncrustify 0.76.0 - still not happy with the C++ beautifier
situation, that requires way too much manual post processing
2023-02-28 15:49:42 +01:00
Uwe Rathmann 9b2c2a8f12 Squiek settings for the spin box added 2023-02-27 15:21:09 +01:00
Uwe Rathmann a67d23420f QskMenu::Overlay settings fixed ( working for Squiek again ) 2023-02-27 14:06:57 +01:00
Uwe Rathmann 5d16d86e0d Merge branch 'master' of https://github.com/uwerat/qskinny 2023-02-27 09:57:22 +01:00
Uwe Rathmann 0b4de9afe7 spin box improvements 2023-02-27 09:56:41 +01:00
Uwe Rathmann 2e667f3ff2 formal adjustments 2023-02-26 17:04:47 +01:00
Uwe Rathmann c4efbf65f0 compiler warning fixed 2023-02-26 15:45:57 +01:00
Uwe Rathmann 5bbd304b94 Merge branch 'RadioBox' of https://github.com/clemensmanert/qskinny into clemensmanert-RadioBox 2023-02-26 15:42:15 +01:00
Uwe Rathmann 6618c91479 QskColorFilter::mask 2023-02-26 15:07:08 +01:00
Uwe Rathmann 90fec17a60 QskRgb::RGBAMask added 2023-02-26 15:03:44 +01:00
Peter Hartmann f4531c149c color filter: Add option to substitute alpha value
Resolves #253
2023-02-26 14:04:23 +01:00
Clemens Manert c3a4472587
Code cleanup 2023-02-25 23:39:33 +01:00
Clemens Manert 4310ee3c34
Remove unused imports 2023-02-25 23:36:02 +01:00
Clemens Manert 72190aee91
Fix alighnment if sizes of symbol and button differ 2023-02-25 23:36:02 +01:00
Clemens Manert 6beabfcbb1
Return empty Rect if item is empty 2023-02-25 23:36:02 +01:00
Uwe Rathmann a3e749157f QskSpinBox API improved 2023-02-24 08:24:32 +01:00
Uwe Rathmann 06ba85605b QskSpinBox work in progress 2023-02-23 14:37:49 +01:00
Uwe Rathmann 06704511d2 QskBoundedInput::incrementForKeys added 2023-02-23 14:33:35 +01:00
Peter Hartmann 7f24cbb95b push buttons: Fix ripple effect
This way it looks like the original
2023-02-23 10:19:42 +01:00
Peter Hartmann 1d57d87332 Gallery: Add buttons with different emphasis and style for M3 2023-02-23 10:19:42 +01:00
Clemens Manert 4d0a26d762
Fix missing moc include 2023-02-20 22:13:14 +01:00
Clemens Manert aee27768cd
Code cleanup 2023-02-20 21:56:34 +01:00
Clemens Manert e4a07909ac
Add Squiek theme 2023-02-20 21:56:33 +01:00
Clemens Manert 49cd540ce0
Add disabled support 2023-02-20 21:56:33 +01:00
Clemens Manert fc4a389201
Code cleanup 2023-02-20 21:56:33 +01:00
Clemens Manert f5c7f7f2b4
Add animation support for the Ripple, remove focusedItem 2023-02-20 21:56:33 +01:00
Clemens Manert bfc172c04f
Respect focused and pressed state in the skinlet 2023-02-20 21:56:33 +01:00
Clemens Manert d510570943
Return empty Rect if nothing to paint 2023-02-20 21:56:33 +01:00
Clemens Manert ffa150a5fd
Fix text position in mirrored layouts 2023-02-20 21:56:33 +01:00
Clemens Manert 4c1f60eb1c
Fix Ribble in mirrored layouts 2023-02-20 21:56:33 +01:00
Clemens Manert 84d662979d
Fix user state positions 2023-02-20 21:56:32 +01:00
Clemens Manert a7dc136dcd
Make unified control name 2023-02-20 21:56:32 +01:00
Clemens Manert 92ba2385db
Rename radio to button 2023-02-20 21:56:32 +01:00
Clemens Manert 8c0a54e54a
Add QskRadioBox 2023-02-20 21:56:26 +01:00
Uwe c9b83ff689 emphasis added 2023-02-20 10:30:24 +01:00
Uwe Rathmann 0c2bc32abd focus handling removed ( spin boxes do not have an internal focus chain
), formal adjustments
2023-02-19 14:24:09 +01:00
Uwe Rathmann 26661dcbb6 compiler errors/warnings fixed 2023-02-19 11:29:13 +01:00
uwerat cf449f174f
Merge branch 'master' into qskspinbox 2023-02-19 10:25:04 +01:00
Vogel, Rick 767414fbc7 doxygen + sample count = 1 2023-02-17 17:46:52 +01:00
Peter Hartmann a89d3def3b Add new control QskComboBox
Resolves #102
2023-02-17 17:26:06 +01:00
Peter Hartmann cf2e17def5 QskMenu: Add own subcontrol Overlay
... so we can style it differently from the one of the QskPopup
2023-02-17 17:26:06 +01:00
Vogel, Rick 1faf2e091c clang-format + clang-tidy improvements 2023-02-17 15:22:40 +01:00
Vogel, Rick 890ae64652 using QskBoundedValueInput as base class 2023-02-17 14:57:33 +01:00
Vogel, Rick 13575678d6 increment or decrement on space key 2023-02-17 14:46:05 +01:00
Vogel, Rick 3d96541079 fixed focus chain 2023-02-17 14:37:10 +01:00
Vogel, Rick 55b8da0b7e fixed double inc/dec on key 2023-02-17 14:36:30 +01:00
Uwe Rathmann 8df1551701 formal adjustments 2023-02-17 14:05:05 +01:00
Uwe Rathmann eb5f3d3bcf Qt5 compiler issue fixed 2023-02-17 13:36:08 +01:00
Vogel, Rick ad7a20053c refactoring + focused state 2023-02-17 13:32:47 +01:00
Uwe Rathmann d06c2c6d8f gcc issues fixed 2023-02-17 13:32:27 +01:00
Vogel, Rick 8b2e39caae complete focus chain for all layouts 2023-02-17 13:28:44 +01:00
Vogel, Rick ba9ec8e783 initial commit of QskSpinBox 2023-02-17 13:28:44 +01:00
uwerat 6071ce74d2
Merge branch 'master' into qskspinbox 2023-02-17 13:22:39 +01:00
Vogel, Rick c615e429cf complete focus chain for all layouts 2023-02-17 12:37:53 +01:00
Uwe Rathmann 3262673e40 section bits added to the resolution matching algo. The switch in the
Header section of the gallery is working again
2023-02-17 12:02:05 +01:00
Vogel, Rick ac8a3dea9b initial commit of QskSpinBox 2023-02-17 12:01:56 +01:00
Uwe Rathmann 15b73d215c QskTextOption layout impacts added 2023-02-16 11:42:07 +01:00
Uwe Rathmann d71b972232 QskBoxShapeMetrics::ScalingMode: using better names, missing mode
reinserted
2023-02-16 11:30:31 +01:00
Uwe Rathmann 64fee0247e Floating section added 2023-02-16 08:23:45 +01:00
Uwe Rathmann a0dde1a4e0 Tiny/Small/Large/Huge variations introduced 2023-02-15 17:10:50 +01:00
Uwe Rathmann 66db409b71 QskAspect::Placement renamed to QskAspect::Variation so that we use the
corresponding bits for an emphasis too
2023-02-15 16:37:54 +01:00
Uwe Rathmann 454688361c orientation removed from the placement bits 2023-02-15 16:16:19 +01:00
Uwe Rathmann f89ab863f6 always inserting the connecting line between border and filling, when
using different strokers
2023-02-14 13:44:52 +01:00
Uwe Rathmann 126c276eac better decisions for the direction of filling gradient lines 2023-02-14 11:19:13 +01:00
Uwe Rathmann b8f198a97a irrelevant micro optimzation removed, that was using the wrong corner
iteration
2023-02-14 09:29:51 +01:00
Uwe Rathmann 31feeff9aa Complete support of linear gradients from the box renderer - only
expection are reflect/repeat spreading.
Code has been reimplemented or cleaned up significantly
2023-02-08 17:58:09 +01:00
Uwe Rathmann 67b10cca0a elliptic scaling fixed 2023-02-04 11:55:37 +01:00
Uwe Rathmann 1dcdca3489 faster isMonochrome calculations 2023-02-04 11:55:06 +01:00
Uwe Rathmann ca70fec579 caching some values for faster valueAt calculations 2023-02-04 11:53:54 +01:00
Uwe Rathmann 9d4c423591 color ramp calculation fixed for gradients with many stops 2023-02-04 11:53:23 +01:00
Uwe Rathmann 776468953d using Circular/Elliptic 2023-02-03 11:13:11 +01:00
Uwe Rathmann d4e746e7c5 elliposid != ellipse 2023-02-03 10:46:08 +01:00
Uwe Rathmann 1c4bcffc3f aspectRatioMode replaced by scalingMode 2023-02-03 10:38:17 +01:00
Uwe Rathmann e7c2cd0eba QskBoxShapeMetrics::toAbsolute reverted for the moment as the scaling of the buttons
is broken now. Only a temporary workaround as the other implementation
was actually correct
2023-02-02 18:44:08 +01:00
Peter Hartmann 5a78a365e3 segmented bar: Make API similar to QskMenu 2023-02-01 17:18:22 +01:00
Peter Hartmann afdfa7b24e segmented bar: Fix vertical orientation 2023-02-01 17:18:22 +01:00
Peter Hartmann c58593669d segmented bar: Add own checkmark
The checkmark is slightly different from the one used in the
check box.
2023-02-01 17:18:22 +01:00