Uwe Rathmann
d5b19fe12d
QskMenu::exec added
2021-12-30 11:13:48 +01:00
Uwe Rathmann
e389df5b70
QskMenu::Cursor transition fixed
2021-12-29 17:19:19 +01:00
Uwe Rathmann
c37f792054
using positionHint methods
2021-12-29 17:05:29 +01:00
Uwe Rathmann
f70ea29b0a
missing include added
2021-12-29 16:54:16 +01:00
Uwe Rathmann
e358bee2fa
QskMenu::Cursor animation added
2021-12-29 16:23:19 +01:00
Uwe Rathmann
6a0e79e21a
cenvenience setter added
2021-12-29 16:21:33 +01:00
Uwe Rathmann
042f04cdad
moveSkinHint introduced
2021-12-29 15:55:44 +01:00
Uwe Rathmann
ef114e16eb
more convenience setter/getter
2021-12-29 15:36:04 +01:00
Uwe Rathmann
450be00367
QskAnimationHint improved
2021-12-29 15:27:53 +01:00
Uwe Rathmann
0e5060a80b
avoiding deprecation warnings
2021-12-29 15:21:09 +01:00
Uwe Rathmann
8fefbb4ccc
introducing series/sample for subcontrols being related to multiple
...
instances
2021-12-28 16:14:30 +01:00
Uwe Rathmann
d4ba6cd69b
QskMenuSkinlet improved
2021-12-28 15:33:13 +01:00
Uwe Rathmann
ba1d9dde74
QskSkinlet improved for subControls with multible instances
2021-12-28 10:08:21 +01:00
Uwe Rathmann
616708a67f
QskSkinStateChanger improved
2021-12-27 17:33:06 +01:00
Uwe Rathmann
ce814e6399
trailing semicolons removed
2021-12-27 10:21:03 +01:00
Uwe Rathmann
c99112f160
using QVariant
2021-12-27 09:50:14 +01:00
Uwe Rathmann
2fd66b314e
some functions copied from QskFunctions to QskPlatform
2021-12-26 12:57:02 +01:00
Uwe Rathmann
400f2cb2cc
QskMenu::cascading added
2021-12-26 12:17:31 +01:00
Uwe Rathmann
fef427f9f3
ReplayMousePressOutsidePopup reminder added
2021-12-26 12:15:07 +01:00
Uwe Rathmann
83024bf4dc
QskSkinlet::itemIndexAt introduced
2021-12-26 09:15:15 +01:00
Uwe Rathmann
2123fb4072
QskSkinlet::itemRect added
2021-12-24 16:50:34 +01:00
Uwe Rathmann
c9f65c7e0c
QskMenu improved
2021-12-24 16:20:34 +01:00
Uwe Rathmann
2b143917db
layout code improved
2021-12-24 16:18:46 +01:00
Uwe Rathmann
7037ee9809
QskSkinnable::effectiveFontHeight added
2021-12-24 16:17:49 +01:00
Uwe Rathmann
eb13fd4fa5
beautified
2021-12-23 19:05:59 +01:00
Uwe Rathmann
cbd611602f
QskMenu added ( work in progress )
2021-12-23 18:36:32 +01:00
Uwe Rathmann
0a7dcd1996
QskPopup improvements
2021-12-23 18:19:52 +01:00
Uwe Rathmann
265f39fa5a
minor improvements
2021-12-23 18:16:18 +01:00
Uwe Rathmann
2c8585dadf
using QskSkinStateChanger
2021-12-23 18:15:54 +01:00
Uwe Rathmann
6845c1737c
QskSkinStateChanger introduced
2021-12-23 18:15:07 +01:00
Uwe Rathmann
e7127cda5d
QskListView::Selected state introduced
2021-12-22 15:08:27 +01:00
Uwe Rathmann
6ac5bbf3bb
minor improvements
2021-12-22 15:07:51 +01:00
Uwe Rathmann
6858875171
minor improvements
2021-12-22 10:55:48 +01:00
Uwe Rathmann
cda3df4fe3
QskLayoutHint renamed to QskLayoutMetrics
2021-12-15 08:45:29 +01:00
Uwe Rathmann
863351e372
hiding the devicePixelRato scaling in the nodes
2021-12-13 16:43:34 +01:00
Uwe Rathmann
6af87f45aa
missing interpolators added
2021-12-09 17:38:37 +01:00
Uwe Rathmann
cf57111724
hiding internal class in an anonymous namespace
2021-12-09 17:32:22 +01:00
Uwe Rathmann
5ceff116c2
code moved to internal methods to make things more readable
2021-12-06 12:40:32 +01:00
Uwe Rathmann
6357d2a5a1
more versatile APIs
2021-12-02 18:40:54 +01:00
Uwe Rathmann
f0c46d5665
respect the device pixel ratio
2021-12-02 17:33:53 +01:00
Uwe Rathmann
4edfbc55b6
layout issue fixed, update of the clipNode fixed
2021-11-26 14:12:42 +01:00
Peter Hartmann
0f5ffa5ea2
page indicator: Support different width / height for both horizontal and vertical orientations ( #138 )
...
* add Uwe's changes
* fix horizontal page indicators
2021-10-26 08:32:54 +02:00
Uwe Rathmann
947f6ff345
beautified
2021-10-20 12:42:26 +02:00
Uwe Rathmann
96d2ef05dc
QskArcMetrics adjustments
2021-10-20 09:27:05 +02:00
Peter Hartmann
5f2e285ce3
Iot dashboard arc rendering ( #134 )
...
* add QskArcNode and QskArcRenderer
* IOT example: Use QskArcNode instead of own arc node
* move some functionality to the arc renderer
* add QskArcMetrics
* add methods to QskSkinlet
* remove circular bar graph node
We can now use updateArcNode() and don't need our own method.
* support linear gradients in the arc renderer
* clean up
* incorporate Uwe's changes
* add overloads for updateArcNode() when the angles are set dynamically
The angles don't always come from the style, so we need overloads
in QskSkinlet to set them dynamically.
2021-10-20 07:50:25 +02:00
Uwe Rathmann
83beba341a
checking against divison by 0
2021-10-14 17:08:54 +02:00
Uwe Rathmann
6957ab4086
defensive checks added
2021-10-12 17:57:07 +02:00
Uwe Rathmann
6e6ebd8c8f
QskScrollArea::layoutSizeHint added
2021-10-01 13:42:56 +02:00
Uwe Rathmann
5d5a3ae1e3
QskSkinTransition fixed
2021-09-21 16:06:12 +02:00
Uwe Rathmann
35c1aa1c1b
Qt 6.2 workarounds
2021-09-21 10:28:13 +02:00
Uwe Rathmann
c909ee585d
Qt 6.2 adjustments
2021-09-21 08:51:01 +02:00
Uwe Rathmann
2ad305edb1
QskSkinnable::setSkinStates cleanup
2021-09-17 16:32:01 +02:00
Uwe Rathmann
fd0fd39a26
using clearState instead of clearStates
2021-09-17 14:49:42 +02:00
Uwe Rathmann
cedff456d4
QskCorner removed - using QskBoxShapeMetrics instead
2021-09-15 17:54:44 +02:00
Uwe Rathmann
96df46c952
pointless forward declaraton removed
2021-09-15 14:06:12 +02:00
Uwe Rathmann
41cba80f61
pointless initialization removed
2021-09-14 13:27:22 +02:00
Uwe Rathmann
139f40067b
QskAspect::States introduced to be more accurate about state vs. states
2021-09-14 13:05:56 +02:00
Uwe Rathmann
52e917ec2f
each window might have its own skin
2021-09-09 07:53:35 +02:00
Uwe Rathmann
e53cc00262
missing parameter fixed
2021-09-04 17:11:59 +02:00
Uwe Rathmann
e5c6adee2a
QskSkinHintTableEditor API simplified
2021-09-04 16:48:02 +02:00
Uwe Rathmann
dd7c08ae40
QskSkinHintTableEditor extended
2021-09-03 06:51:50 +02:00
Uwe Rathmann
ef529b0b0a
Metric/Color fixed
2021-09-02 17:06:16 +02:00
Uwe Rathmann
7fe1d7e901
state explicitely casted to quint16
2021-09-02 13:12:29 +02:00
Uwe Rathmann
67fdcff6b9
mehods renamed to setXYZForAllStateCombinations
2021-09-02 08:11:53 +02:00
Uwe Rathmann
2a46ae1475
methods for setting hints for state combinations added
2021-08-31 17:59:00 +02:00
Uwe Rathmann
53e068afc0
QskSkinnable::hasSkinState added
2021-08-30 15:30:41 +02:00
Uwe Rathmann
24a9963550
memory leak fixed
2021-08-30 12:39:16 +02:00
Uwe Rathmann
9ccf0020da
minor adjustments
2021-08-27 09:45:24 +02:00
Clemens Manert
b7e2fda578
Add ripple to SwitchButton ( #123 )
2021-08-27 09:09:10 +02:00
Uwe Rathmann
2a04e0613e
QskGraphicLabel::panel property added
2021-08-26 15:17:41 +02:00
Uwe Rathmann
2265edab87
older gcc verion need override final
2021-08-06 09:52:12 +02:00
Uwe Rathmann
4029f95a4d
don't call effectiveSubcontrol from substitutedSubcontrol
2021-08-05 15:31:00 +02:00
Uwe Rathmann
1361629067
yet another QskControl::setMargins overload
2021-08-05 11:06:14 +02:00
Uwe Rathmann
bec613f4af
more geometry convenence setter
2021-08-04 18:48:26 +02:00
Uwe Rathmann
a1f375a127
QskSkinnable::subcontrolProxy added
2021-08-04 15:06:44 +02:00
Uwe Rathmann
b3540aa3a0
Squashed commit of the following:
...
commit f429d3ab4e82ab06bfd40577aef8e2d5fdfd59fd
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Wed Aug 4 14:40:36 2021 +0200
subcontrolProxy introduced
2021-08-04 15:06:04 +02:00
Uwe Rathmann
aaf0c739a7
overlapping status bits fixed
2021-08-04 11:48:14 +02:00
Uwe Rathmann
44dc4417f6
forgotten signal removed
2021-08-04 11:32:33 +02:00
Uwe Rathmann
2b719190c3
uncrustified
2021-08-04 09:31:16 +02:00
Uwe Rathmann
bffafdbaf3
getting rid of the confusing QskAbstractButton::Checkable state
2021-08-04 08:24:36 +02:00
Uwe Rathmann
c4e765db7c
layout code in QskSwitchButtonSkinlet improved - still some way to go
...
until the switch is perfectly themable and looks like in the material
specs
2021-08-03 15:02:33 +02:00
Uwe Rathmann
e26434c1cd
switch button adjustments
2021-08-02 19:17:04 +02:00
Clemens Manert
423768bc84
Add SwitchButton ( #121 )
2021-08-02 13:22:37 +02:00
Uwe Rathmann
b1634c6f78
making clang happy
2021-07-14 14:43:12 +02:00
Uwe Rathmann
d24e012944
itemFocusClip added
2021-07-14 13:31:05 +02:00
Uwe Rathmann
df4a2f0d27
QskAspect::Primitive cleanup
2021-04-28 09:32:49 +02:00
Uwe Rathmann
b7c4532bf0
Flag/Color/Metric-Primitive united to Primitive - the initial concept
...
was not correct anymore as primitives like Border/Shadow are used for
Color and Metric
2021-04-27 10:11:10 +02:00
Uwe Rathmann
b583152024
restoring the focus only makes sense, when editing is terminated from
...
the input method
2021-04-26 16:29:17 +02:00
Uwe Rathmann
3f3f39eb80
crash with Qt 6.1 fixed
2021-04-26 15:11:19 +02:00
Uwe Rathmann
5dbb40aee6
version check fixed
2021-04-26 11:44:25 +02:00
Uwe Rathmann
e99ebd77f4
typos fixed
2021-04-23 17:31:55 +02:00
Uwe Rathmann
ef6c54428f
do not rely on default parameter
2021-04-23 15:17:43 +02:00
Uwe Rathmann
ed9344a730
replaceSkinState added
2021-04-21 09:29:52 +02:00
Uwe Rathmann
9553b7fc22
pointlesskeyword removed
2021-04-21 09:28:57 +02:00
Uwe Rathmann
3d3f01c086
panel property added
2021-04-21 09:18:50 +02:00
Uwe Rathmann
63e04ad024
code fixed for later Qt versions
2021-04-21 08:24:17 +02:00
Uwe Rathmann
3b0b00757b
using QT_VERSION_CHECK
2021-04-21 08:23:31 +02:00
Uwe Rathmann
707cc153ad
missing update added
2021-04-21 07:50:13 +02:00
Uwe Rathmann
e663b5ca6a
using fuzzy compares for bounded values
2021-04-19 09:30:29 +02:00
Uwe Rathmann
b304b25d12
snap mode improved for unaligned boundaries
2021-04-19 09:29:22 +02:00
Uwe Rathmann
76e61eba0d
clenaup of the activeFocusItem fixed for Qt 5.15
2021-03-11 17:32:59 +01:00
Uwe Rathmann
d1f2677c01
workarounds for mouse grabbing
2021-03-08 12:56:13 +01:00
Uwe Rathmann
b1c750744c
visibleToLayout property added
2021-03-08 12:25:31 +01:00
Uwe Rathmann
93d34efa9a
clearing keepMouse flag
2021-03-03 12:37:00 +01:00
Uwe Rathmann
634fde4621
some more event handling
2021-03-03 08:25:39 +01:00
Uwe Rathmann
fd218e6b2e
Qt6 incompatibilities fixed
2021-03-02 17:09:38 +01:00
Uwe Rathmann
6c9cbcad62
text vw displayText to support text prediction
2021-03-02 16:17:56 +01:00
Uwe Rathmann
5bf10f5cc5
workround for broken mouse grabbing ( >= Qt 5.8 ) added
2021-03-02 16:15:56 +01:00
Uwe Rathmann
e32c17df51
work around Qt issues with replayed synthesized mouse events
2021-02-26 12:43:22 +01:00
Uwe Rathmann
85a9ffd3cc
ovrloading ungrab notifications for debugging purposes
2021-02-26 12:42:49 +01:00
Uwe Rathmann
b1948f8655
always setting QQuickItemPrivate::Transform when cleaning unnecessary nodes to
...
ensure, that they will be recreatd in the next cycle
2021-02-24 13:31:03 +01:00
Uwe Rathmann
b1ba6d1369
filtering can be done for QskQuickItem ( not only QskControl )
2021-02-24 13:29:48 +01:00
Uwe Rathmann
99f852dc83
block focusInEvent calls, when the item tree is deconstructing
2021-02-23 12:04:55 +01:00
Uwe Rathmann
c4e6db80df
Doxygen docs
2021-02-22 17:15:37 +01:00
Uwe Rathmann
5a19669f26
buttonClicked signal added
2021-02-19 12:31:00 +01:00
Uwe Rathmann
bf6409b3a8
doxygen docs
2021-02-17 11:09:45 +01:00
Uwe Rathmann
6fddbeecbf
doxygen work
2021-02-16 12:19:05 +01:00
Uwe Rathmann
1f09fa320e
setHidden/setDisabled added
2021-02-15 09:17:29 +01:00
Uwe Rathmann
cf2ca93cab
full updates for setting skinlet or margin
2021-02-11 12:45:17 +01:00
Uwe Rathmann
0a04f0be74
QskQuickItem::setUpdateFlags removed, due to its unclear semantics
2021-02-09 12:26:58 +01:00
Uwe Rathmann
b84e621bfe
handling of updateFlagsMask fixed
2021-02-09 12:26:29 +01:00
Uwe Rathmann
864fa97180
sending a QEvent::ReadOnlyChange
2021-02-09 12:25:41 +01:00
Uwe Rathmann
5cb33ad79b
renamed to QskQuickItem::UpdateFlags
2021-02-09 08:13:20 +01:00
Uwe Rathmann
f0dd624306
parameter name aligned with the QML property
2021-02-03 13:20:23 +01:00
Uwe Rathmann
a61b1f4b2f
more getter as properties
2021-02-02 10:15:01 +01:00
Uwe Rathmann
8c99bd59db
position renamed to tabPosition to avoid shadowing the
...
QQuickItem::position
2021-02-02 10:13:39 +01:00
Uwe Rathmann
f9e7c304c2
beautified
2021-02-01 10:24:40 +01:00
Uwe Rathmann
3aae2ca47d
setBoxBorderColors variation added
2021-02-01 10:23:47 +01:00
Uwe Rathmann
6bb65b5aeb
missing const added
2021-02-01 10:23:24 +01:00
Uwe Rathmann
38d0397c5e
more properties
2021-02-01 10:09:37 +01:00
Uwe Rathmann
41549a4392
header reorganized
2021-01-25 11:04:25 +01:00
Uwe Rathmann
0ef91c060f
missing StrutSize primitive added
2021-01-21 07:30:32 +01:00
Uwe Rathmann
aa43b0bece
useless forward declarations removed
2021-01-12 18:43:57 +01:00
Uwe Rathmann
f71bd4e359
pointless nullptr checks removed
2021-01-12 16:25:33 +01:00
Uwe Rathmann
e7d03e2ddd
graphicRole property added
2021-01-07 13:49:57 +01:00
Uwe Rathmann
f037297620
convenience sett for gradients
2021-01-07 13:48:56 +01:00
Uwe Rathmann
45f09f7a2c
beautified
2021-01-07 13:42:42 +01:00
Uwe Rathmann
60b3604e04
resetOverlay added
2020-12-29 12:58:57 +01:00
Uwe Rathmann
79cceb1b09
subControlContentsRect added
2020-12-29 12:57:03 +01:00
Uwe Rathmann
c419b26850
sizeHint calculations moved to skinlet
2020-12-29 10:11:31 +01:00
Uwe Rathmann
afd3a3ded8
using auto
2020-12-29 09:47:03 +01:00
Uwe Rathmann
1b832e122c
hovered signal removed
2020-12-29 09:46:48 +01:00
Uwe Rathmann
0eadfa8fa2
sizeHint calculations moved to the skinlet
2020-12-29 09:45:00 +01:00
Uwe Rathmann
98343dec60
auto-updating the control, when setting a skinHint
2020-12-27 16:31:07 +01:00
Uwe Rathmann
92b1ed669b
fontRole/graphicRole renamed to fontRoleHint/graphicRoleHint
2020-12-27 16:19:01 +01:00
Uwe Rathmann
556cde3f88
hasChildItems added
2020-12-27 16:08:18 +01:00
Uwe Rathmann
3901c02368
QskSkinHintTable::setHint indicating changes as return value
2020-12-27 12:06:12 +01:00
Uwe Rathmann
c8be7224cf
missing update call added
2020-12-27 11:18:02 +01:00
Uwe Rathmann
0c3a8ebece
signals with parameters
2020-12-27 11:17:43 +01:00
Uwe Rathmann
bb3ffc454f
QskMargins improved
2020-12-27 11:15:34 +01:00
Uwe Rathmann
c48fcbffd3
bad return statement removed
2020-12-27 11:10:51 +01:00
Uwe Rathmann
f3dd88c11c
overlapping states fixed ( where possible )
2020-12-26 14:34:26 +01:00
Uwe Rathmann
1a3058fad8
code moved to QskSkinHintTable
2020-12-26 13:00:09 +01:00
Uwe Rathmann
5ecec7892e
QskSkinHintTableEditor introduced
2020-12-26 12:57:08 +01:00
Uwe Rathmann
9f2cb6920d
includes added
2020-12-23 09:49:20 +01:00
Uwe Rathmann
c87dae7e9d
using QskAspect::setState
2020-12-23 09:48:55 +01:00
Uwe Rathmann
2091e6dcaf
using gradientHint
2020-12-23 09:48:23 +01:00
Uwe Rathmann
e176f474a8
QskSkin::skinlet using the metaObject
2020-12-23 09:41:29 +01:00
Uwe Rathmann
73b5934839
setAnimation being aware of subControl substitution
2020-12-23 09:38:10 +01:00
Uwe Rathmann
0a98b5c1c0
QskInterval removed from the skinHint helper methods
2020-12-23 09:34:11 +01:00
Uwe Rathmann
726aca98df
QskAspect::hasState added
2020-12-23 09:28:17 +01:00
Uwe Rathmann
95d8d2a6da
making QskAspect a class
2020-12-21 16:06:58 +01:00
Uwe Rathmann
0df922cba8
making startTransition aware of sunControl redirection
2020-12-21 15:27:05 +01:00
Uwe Rathmann
812f108e21
effectiveHint -> effectiveSkinHint
2020-12-21 10:24:59 +01:00
Uwe Rathmann
bdc068c4d6
ubcontro, substitution moved to setSkinHint/resetHint
2020-12-21 09:57:57 +01:00
Uwe Rathmann
63929da406
minor optimizations
2020-12-20 16:10:24 +01:00
Uwe Rathmann
34b94f1181
exported again
2020-12-20 16:04:19 +01:00
Uwe Rathmann
c599dd808d
wrong aspect fixed
2020-12-20 12:24:13 +01:00
Uwe Rathmann
a90648902e
auto/const added
2020-12-18 18:26:32 +01:00
Uwe Rathmann
8426e71156
handling of primitives optimized
2020-12-18 13:09:22 +01:00
Uwe Rathmann
38f48a7cb0
do not export QskSkinnable
2020-12-18 13:09:01 +01:00
Uwe Rathmann
4d40a9bd12
using QskMargins
2020-12-17 16:44:54 +01:00
Uwe Rathmann
a49ef1daa4
using strutSize
2020-12-17 16:14:56 +01:00
Uwe Rathmann
7ef63f0a2d
anoher variation of sunControlRect added
2020-12-17 16:13:02 +01:00
Uwe Rathmann
b1d70b49d4
some convenience methods added
2020-12-17 16:12:18 +01:00
Uwe Rathmann
846cada62d
using removed
2020-12-17 09:04:06 +01:00
Uwe Rathmann
03d71b56f0
using extent property
2020-12-17 09:03:52 +01:00
Uwe Rathmann
6f8d2998bb
using the extent property
2020-12-17 08:53:44 +01:00
Uwe Rathmann
6087f53088
resetStrutSizeHint added
2020-12-17 08:53:00 +01:00
Uwe Rathmann
72dfde05a1
extent property fixed
2020-12-17 08:52:30 +01:00
Uwe Rathmann
58de684902
using StrutSize instead og Minimum/Maximum metric hints
2020-12-16 12:49:24 +01:00
Uwe Rathmann
6c0f0810f1
code cleanup
2020-12-15 18:12:48 +01:00
Uwe Rathmann
e64111bc35
QskShortcutMap::setEnabled added
2020-12-15 17:02:20 +01:00
Uwe Rathmann
3004b8b74f
thickness -> extent
2020-12-15 11:01:23 +01:00
Uwe Rathmann
1527f46d51
convenience methods for resetHint
2020-12-15 11:01:00 +01:00
Uwe Rathmann
c1e70a2d9e
more convenience methods to access skin hints
2020-12-15 07:21:12 +01:00
Uwe Rathmann
f33f38bbbb
some preparations for modifications with QskAspect
2020-12-13 14:23:17 +01:00
Uwe Rathmann
3ec404385c
resetThickness added
2020-12-11 15:17:09 +01:00
Uwe Rathmann
c98a2a7032
QEvent::clone finished
2020-12-09 15:58:27 +01:00
Uwe Rathmann
de419971c8
QskEvent::clone support overrides
2020-12-09 14:56:10 +01:00
Uwe Rathmann
9f189119da
Qt 6.0 incompatibilities fixed
2020-12-09 12:44:08 +01:00
Uwe Rathmann
8365da891b
Qt 6.0 incompatibiities fixed
2020-12-09 12:42:00 +01:00
Uwe Rathmann
fbf2a33a9a
uncrustified
2020-12-05 15:09:31 +01:00
Uwe Rathmann
8fb18ab145
codemoved to QskSGNode
2020-11-22 15:27:58 +01:00
Uwe Rathmann
e8351e4496
adjustments for Qt 6.0.0 beta5
2020-11-21 20:36:47 +01:00
Uwe Rathmann
6be542394a
overflows when clipping fixed
2020-11-19 16:23:43 +01:00
Uwe Rathmann
4e983f4b07
child ordering changed
2020-11-19 16:23:19 +01:00
Uwe Rathmann
fd94985ae3
beautified
2020-11-19 11:48:25 +01:00
Uwe Rathmann
80611901ac
indentations
2020-11-13 15:24:20 +01:00
Uwe Rathmann
da1f385682
using elementCount instead of count
2020-11-11 10:31:39 +01:00