Commit Graph

1824 Commits

Author SHA1 Message Date
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