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
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
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
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
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
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
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