Uwe Rathmann
1a5a94838e
more versatile APIs
2021-12-02 18:40:54 +01:00
Uwe Rathmann
c93958a24d
respect the device pixel ratio
2021-12-02 17:33:53 +01:00
Uwe Rathmann
b5bc26eb63
using degrees for arcs ( not multiplied by 16, what QPainter wants )
2021-12-02 17:15:41 +01:00
Uwe Rathmann
ef38b069e6
layout issue fixed, update of the clipNode fixed
2021-11-26 14:12:42 +01:00
Uwe Rathmann
ed77fc54e1
using c++11
2021-11-23 07:58:12 +01:00
Peter Hartmann
0657f1120c
aspects: Fix off-by-one error when printing subcontrols ( #151 )
2021-11-22 15:50:18 +01:00
Uwe Rathmann
9b0dd47cae
disconnect from visibleChanged when being destructed
2021-11-02 07:47:01 +01:00
Uwe Rathmann
0d9dbf4c58
QML export as QskGadientStops does nor work - we need to stay with
...
QVector
2021-10-27 15:08:06 +02:00
Uwe Rathmann
4c26392d72
wrong include
2021-10-27 15:07:17 +02:00
Uwe Rathmann
4938156ada
internal layoutBox replaced by a plain layout. A bit more lightweight
...
and we do not end up with focus changes when rearranging the buttons
2021-10-27 14:03:39 +02:00
Uwe Rathmann
ff8a5fbe31
button centering fixed
2021-10-27 13:02:34 +02:00
Uwe Rathmann
6194f947b8
fromPixmapAsImage added
2021-10-26 11:33:26 +02:00
Peter Hartmann
bf1c45352c
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
a1b67ee7fb
setColor/setColors fixed
2021-10-25 08:32:46 +02:00
Uwe Rathmann
4744d85725
more constructors to avoid losing alpha values
2021-10-25 08:31:32 +02:00
Uwe Rathmann
14040bf652
workaround for monochrome gradients with additional stops
2021-10-25 08:29:12 +02:00
Uwe Rathmann
2bfc8ee9f9
toAbsolute using width or height
2021-10-20 12:42:48 +02:00
Uwe Rathmann
56e94d01cf
beautified
2021-10-20 12:42:26 +02:00
Uwe Rathmann
73dbfeb708
QskArcMetrics adjustments
2021-10-20 09:27:05 +02:00
Peter Hartmann
b89621a3d4
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
15102be421
code duplication removed
2021-10-19 06:44:17 +02:00
Uwe Rathmann
2ef09e3f02
checking against divison by 0
2021-10-14 17:08:54 +02:00
Uwe Rathmann
896cf240f3
defensive checks added
2021-10-12 17:57:07 +02:00
Uwe Rathmann
fef2464120
singletons should be destroyd at program termination
2021-10-12 10:36:45 +02:00
Uwe Rathmann
5791341996
memory leak detection simplified
2021-10-08 07:47:00 +02:00
Uwe Rathmann
766105b201
leak statistics fixed
2021-10-07 18:37:46 +02:00
Uwe Rathmann
d75ed9d6de
object info added
2021-10-07 17:47:15 +02:00
Uwe Rathmann
22e75daf6a
hiding code in QskObjectCounter.cpp
2021-10-07 13:49:13 +02:00
Uwe Rathmann
18dfd907fe
QskScrollArea::layoutSizeHint added
2021-10-01 13:42:56 +02:00
Uwe Rathmann
0f0368d3b1
QskSkinTransition fixed
2021-09-21 16:06:12 +02:00
Uwe Rathmann
372751a13d
Qt 6.2 workarounds
2021-09-21 10:28:13 +02:00
Uwe Rathmann
f9ca36443e
Qt 6.2 adjustments
2021-09-21 08:51:01 +02:00
Uwe Rathmann
899256ce86
making QskBoxBorderMetrics a Q_GADGET
2021-09-18 15:01:04 +02:00
Uwe Rathmann
b2bf7c30e0
making QskShadowMetrics a Q_GADGET
2021-09-18 14:54:25 +02:00
Uwe Rathmann
2438b0f7ee
playing with shadows
2021-09-18 14:48:25 +02:00
Uwe Rathmann
1e9080ee82
typo fixed
2021-09-18 14:06:31 +02:00
Uwe Rathmann
07aac221bb
QskSkinnable::setSkinStates cleanup
2021-09-17 16:32:01 +02:00
Uwe Rathmann
b1d80e37f1
using clearState instead of clearStates
2021-09-17 14:49:42 +02:00
Uwe Rathmann
1c3c04a745
using QskGradientStops
2021-09-17 13:47:43 +02:00
Uwe Rathmann
341d60e39b
QskGradientStops introduced
2021-09-17 13:35:11 +02:00
Uwe Rathmann
2219a6fe8e
code moved to QskGradientStop.[h|cpp]
2021-09-16 10:01:53 +02:00
Uwe Rathmann
71da4dcdff
QskCorner removed - using QskBoxShapeMetrics instead
2021-09-15 17:54:44 +02:00
Uwe Rathmann
b188491568
pointless forward declaraton removed
2021-09-15 14:06:12 +02:00
Uwe Rathmann
06b0fe56bc
missing noexcept keywords added
2021-09-15 13:46:02 +02:00
Uwe Rathmann
295a964cd5
missing noexcept keywords added
2021-09-15 13:45:26 +02:00
Uwe Rathmann
11451576e3
pointless initialization removed
2021-09-14 13:27:22 +02:00
Uwe Rathmann
4a63f2cf68
using QDataStream::Qt_5_6
2021-09-14 13:25:11 +02:00
Uwe Rathmann
4092ec0a8a
QskAspect::States introduced to be more accurate about state vs. states
2021-09-14 13:05:56 +02:00
Uwe Rathmann
e1a4e1fec3
each window might have its own skin
2021-09-09 07:53:35 +02:00
Uwe Rathmann
2fceca2385
missing parameter fixed
2021-09-04 17:11:59 +02:00
Uwe Rathmann
99822fc7aa
QskSkinHintTableEditor API simplified
2021-09-04 16:48:02 +02:00
Uwe Rathmann
f51f3b65ab
QskSkinHintTableEditor extended
2021-09-03 06:51:50 +02:00
Uwe Rathmann
e0d2fdf8bc
Metric/Color fixed
2021-09-02 17:06:16 +02:00
Uwe Rathmann
bd30a5bbd5
state explicitely casted to quint16
2021-09-02 13:12:29 +02:00
Uwe Rathmann
decbce4bdd
mehods renamed to setXYZForAllStateCombinations
2021-09-02 08:11:53 +02:00
Uwe Rathmann
eea001f831
methods for setting hints for state combinations added
2021-08-31 17:59:00 +02:00
Uwe Rathmann
9ebb5ae0a2
QskSkinnable::hasSkinState added
2021-08-30 15:30:41 +02:00
Uwe Rathmann
95731d9432
memory leak fixed
2021-08-30 12:39:16 +02:00
Uwe Rathmann
93987bd92f
minor adjustments
2021-08-27 09:45:24 +02:00
Clemens Manert
01ea49fe02
Add ripple to SwitchButton ( #123 )
2021-08-27 09:09:10 +02:00
Uwe Rathmann
26710da0b3
QskGraphicLabel::panel property added
2021-08-26 15:17:41 +02:00
Uwe Rathmann
89ceca4fb4
missing const qualifier added
2021-08-06 14:22:50 +02:00
Uwe Rathmann
b626019345
older gcc verion need override final
2021-08-06 09:52:12 +02:00
Uwe Rathmann
728e92dad2
don't call effectiveSubcontrol from substitutedSubcontrol
2021-08-05 15:31:00 +02:00
Uwe Rathmann
08fc3b95a6
substitutedSubcontrol is protected
2021-08-05 15:30:27 +02:00
Uwe Rathmann
26387aeefc
yet another QskControl::setMargins overload
2021-08-05 11:06:14 +02:00
Uwe Rathmann
56211d9816
more geometry convenence setter
2021-08-04 18:48:26 +02:00
Uwe Rathmann
3606f61c65
QskSkinnable::subcontrolProxy added
2021-08-04 15:06:44 +02:00
Uwe Rathmann
d947920abe
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
0bfb08b20b
overlapping status bits fixed
2021-08-04 11:48:14 +02:00
Uwe Rathmann
82bb10b7a8
forgotten signal removed
2021-08-04 11:32:33 +02:00
Uwe Rathmann
923affe749
uncrustified
2021-08-04 09:31:16 +02:00
Uwe Rathmann
66cc68bcda
getting rid of the confusing QskAbstractButton::Checkable state
2021-08-04 08:24:36 +02:00
Uwe Rathmann
1b4be3bc23
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
0e334e5fd9
switch button adjustments
2021-08-02 19:17:04 +02:00
Clemens Manert
13faf53495
Add SwitchButton ( #121 )
2021-08-02 13:22:37 +02:00
Uwe Rathmann
13867df163
making clang happy
2021-07-14 14:43:12 +02:00
Uwe Rathmann
3df57c6025
itemFocusClip added
2021-07-14 13:31:05 +02:00
Uwe Rathmann
44f9f36d0d
beautified
2021-07-14 13:30:24 +02:00
Uwe Rathmann
c57924d7eb
qskFuzzyFloor/Ceil improved
2021-07-14 13:29:46 +02:00
Uwe Rathmann
14fc393775
more error checks
2021-07-12 08:32:37 +02:00
Uwe Rathmann
34b158b023
code changes to help the static code analyzer
2021-07-12 08:26:04 +02:00
Uwe Rathmann
4d888f7a4d
isEmpty added
2021-05-26 13:07:23 +02:00
Uwe Rathmann
d07e5fcf3f
qskFuzzyFllor/qskFuzzyCeil added
2021-05-26 13:06:50 +02:00
Uwe Rathmann
75a9ee305c
QskAspect::Primitive cleanup
2021-04-28 09:32:49 +02:00
Uwe Rathmann
3112df6c2f
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
777149aecb
restoring the focus only makes sense, when editing is terminated from
...
the input method
2021-04-26 16:29:17 +02:00
Uwe Rathmann
91232e845c
crash with Qt 6.1 fixed
2021-04-26 15:11:19 +02:00
Uwe Rathmann
71a791918a
version check fixed
2021-04-26 11:44:25 +02:00
Uwe Rathmann
37b7b47f1a
typos fixed
2021-04-23 17:31:55 +02:00
Uwe Rathmann
2c8c6c8651
do not rely on default parameter
2021-04-23 15:17:43 +02:00
Uwe Rathmann
960f2a8d66
AllUserStates removed
2021-04-23 15:14:57 +02:00
Uwe Rathmann
5e546e1e23
replaceSkinState added
2021-04-21 09:29:52 +02:00
Uwe Rathmann
fddf5efab4
pointlesskeyword removed
2021-04-21 09:28:57 +02:00
Uwe Rathmann
7b71744917
panel property added
2021-04-21 09:18:50 +02:00
Uwe Rathmann
63619f68d4
qskGlobalScalefactor added
2021-04-21 08:26:15 +02:00
Uwe Rathmann
0461029ea9
code fixed for later Qt versions
2021-04-21 08:24:17 +02:00
Uwe Rathmann
90200ed95f
using QT_VERSION_CHECK
2021-04-21 08:23:31 +02:00
Uwe Rathmann
5abe0803c0
typo fixed
2021-04-21 08:22:58 +02:00
Uwe Rathmann
f90736efed
missing update added
2021-04-21 07:50:13 +02:00
Uwe Rathmann
d6dcf0a3d1
missing implementation of fuzzyIsBoundary
2021-04-21 07:49:50 +02:00
Uwe Rathmann
293055ac06
using fuzzy compares for bounded values
2021-04-19 09:30:29 +02:00
Uwe Rathmann
1f8ec04bde
snap mode improved for unaligned boundaries
2021-04-19 09:29:22 +02:00
Uwe Rathmann
a73df141c6
avoid overlapping tick labels
2021-04-19 09:28:19 +02:00
Uwe Rathmann
228e94dcce
suppress overlapping tick labels
2021-04-19 09:27:23 +02:00
Uwe Rathmann
33c0d92ee1
some additional methods added
2021-04-19 09:26:40 +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
0ac9ad4387
using C++11
2021-03-02 16:17:08 +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
d59d31ceff
position of tick labels fixed
2021-02-23 12:03:41 +01:00
Uwe Rathmann
c4e6db80df
Doxygen docs
2021-02-22 17:15:37 +01:00
Uwe Rathmann
e9364e0f11
more methods for tools that rely on meta object data
2021-02-19 12:43:11 +01:00
Uwe Rathmann
cea3828e3d
more methods for tools that rely on meta object data
2021-02-19 12:42:05 +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
d54404c9f4
QMetaType support, debug operator
2021-02-14 12:36:15 +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
40b257a36f
hash function for QskGraphic added
2021-02-05 13:21:35 +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
956e830691
boundingLabelSize introduced
2021-02-01 10:22:54 +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
786e6c2446
code simplified
2021-01-20 16:44:09 +01:00
Uwe Rathmann
a213d50170
missing const specifier added
2021-01-20 16:39:15 +01:00
Uwe Rathmann
df10f402ed
Merge branch 'master' of https://github.com/uwerat/qskinny
2021-01-20 16:33:45 +01:00
Uwe Rathmann
86e9ea98ab
meta type registration added
2021-01-14 07:07:13 +01:00
Uwe Rathmann
ed4066369a
better handling of finding the current item after removeing an item
2021-01-13 17:50:16 +01:00