Peter Hartmann
e5880cf3ba
segmented bar: Respect padding hint for graphic
2022-06-17 09:37:04 +02:00
Peter Hartmann
a8fd90f5b1
segmented bar: Use QskAspect for the orientation
...
... to be able to style properly.
2022-06-17 09:37:04 +02:00
Peter Hartmann
79442019e4
segmented bar: Don't constrain segment and cursor to inner box
...
In case we want to fill e.g. the cursor completely, we want to
access the contents rect. This means that it is our responsibility
to not draw beyond the panel.
2022-06-17 09:37:04 +02:00
Peter Hartmann
ed26bd3ab4
segmented bar: Add states for when cursor is at beginning and end
...
... so we can style the cursor accordingly
2022-06-17 09:37:04 +02:00
Uwe Rathmann
112221f123
only clip at the top border
2022-06-17 09:24:58 +02:00
Peter Hartmann
d88edb3a02
Merge branch 'uwerat-master' into material-theme
2022-06-15 14:37:49 +02:00
Uwe Rathmann
54616a5781
missing Metric bit for spacings added
2022-06-15 11:38:07 +02:00
Uwe Rathmann
9fbcedfc2c
Merge branch 'master' of https://github.com/uwerat/qskinny
2022-06-15 11:00:44 +02:00
Uwe Rathmann
824325eccf
being more careful with setting the dirty bits of a QskBoxShadowNode
2022-06-15 10:59:39 +02:00
Peter Hartmann
bac7a2024a
Merge branch 'uwerat-master' into material-theme
2022-06-15 10:58:56 +02:00
Peter Hartmann
8ee681588e
Revert "QskPushButton: respect the graphics alignment"
...
This reverts commit 3c69498026
.
2022-06-15 10:57:36 +02:00
Peter Hartmann
74e036c355
QskPushButton: respect the graphics alignment ( #193 )
...
Also, respect the padding hint of the graphic
Resolves #22
2022-06-15 10:34:51 +02:00
Uwe Rathmann
49bc726376
missing color update added
2022-06-14 12:03:33 +02:00
Uwe Rathmann
1e675e5b8c
compare operators fixed, extra methods for offsetX/Y
2022-06-14 11:49:50 +02:00
Peter Hartmann
03512e03c0
Merge branch 'uwerat-master' into material-theme
2022-06-14 09:28:52 +02:00
Uwe Rathmann
e554a125b2
Merge branch 'master' of https://github.com/uwerat/qskinny
2022-06-13 20:35:02 +02:00
Uwe Rathmann
2a2894a63f
lost workaround forsituations, where multisampling gets lost, fixed
2022-06-13 20:34:12 +02:00
Peter Hartmann
264d53cb39
QskMenu: Respect graphic padding ( #196 )
...
We need some padding for e.g. the Material 3 style.
2022-06-13 17:18:47 +02:00
Peter Hartmann
f53d0daeda
Merge branch 'uwerat-master' into material-theme
2022-06-13 17:12:25 +02:00
Uwe Rathmann
1339a5f4cb
shadows added to the box model
2022-06-13 17:01:15 +02:00
Peter Hartmann
e6120baf15
QskMenu: Respect graphic padding
...
We need some padding for e.g. the Material 3 style.
2022-06-13 16:59:52 +02:00
Peter Hartmann
3df987894e
Merge branch 'uwerat-master' into material-theme
2022-06-13 14:40:06 +02:00
Uwe Rathmann
1e1cf34829
setter/getter for shadow hints
2022-06-13 13:10:45 +02:00
Uwe Rathmann
ff76f1ecfa
removeChildNode added
2022-06-13 13:09:49 +02:00
Uwe Rathmann
da21b95eb3
isNull added
2022-06-13 13:09:08 +02:00
Peter Hartmann
2340b21280
Merge branch 'uwerat-master' into material-theme
2022-06-13 09:50:27 +02:00
Uwe Rathmann
f03007e7b8
QskShadowMetrics added to QskSkinHintTableEditor
2022-06-13 08:43:28 +02:00
Peter Hartmann
e6b85e528b
button: Add more states to cover different button types
2022-06-08 11:48:29 +02:00
Peter Hartmann
3c69498026
QskPushButton: respect the graphics alignment
...
Also, respect the padding hint of the graphic
Resolves #22
2022-06-07 11:44:41 +02:00
Peter Hartmann
c4dc6e8c2f
Merge remote-tracking branch 'origin/master' into material-theme
2022-06-07 11:09:38 +02:00
Peter Hartmann
167965e12c
switch button: Fix size hint ( #195 )
...
This fixes a case where the Groove is bigger than the Handle, e.g.
with the Material 3 switch buttons.
2022-06-06 07:08:33 +02:00
Uwe Rathmann
0ed9afe2b4
QskBoxShadowNode introduced ( from playground/shadows )
...
- shader code migrated from glsl to vulkan-glsl
- #ifdef "Geschnetzel" introduced to support old and rhi graphic APIs
- iotdashboard, shadows examples adjusted
2022-06-04 17:56:14 +02:00
Peter Hartmann
d456237feb
switch button: Fix size hint
...
This fixes the case where the Groove is bigger than the Handle, e.g.
with the Material 3 switch buttons.
2022-06-03 17:28:16 +02:00
Peter Hartmann
abc52e1bb8
Material: Switch palettes to Material 3
...
Also, remove the old Material 2 palettes, since the weights etc.
changed.
2022-06-02 18:25:12 +02:00
Uwe Rathmann
a66d4645e8
Qt5 compiler error fixed
2022-06-02 16:15:25 +02:00
Uwe Rathmann
c3c0b2cd33
bye, bye QskTextureNode
2022-06-02 16:09:49 +02:00
Uwe Rathmann
54b55c0324
default graphic pipeline without native OpenGL calls.
...
code is QRHI compiant now
2022-06-02 16:02:42 +02:00
Uwe Rathmann
5dc4200cdc
typo fixed
2022-06-01 18:29:05 +02:00
Uwe Rathmann
a35cc9936a
mirroring added
2022-06-01 18:27:05 +02:00
Uwe Rathmann
86e438a0ed
QFrameBufferObject::takeTexture also leaks with Qt 5.15
2022-06-01 17:50:16 +02:00
Uwe Rathmann
5ab536f0e3
fixed fot Qt5
2022-06-01 17:41:33 +02:00
Uwe Rathmann
86658ee2dc
raster rendering does not solve the problems with the experimantel RHI
...
state in Qt5 ( no problems with Qt6 RHI and Qt5 without RHI )
2022-06-01 17:04:37 +02:00
Uwe Rathmann
e1a58f84ee
QskPaintedNode improved
2022-06-01 16:57:57 +02:00
Uwe Rathmann
c291cde259
includes fixed
2022-06-01 16:51:11 +02:00
Uwe Rathmann
c64d386477
QskPaintedNode reimplemented to work with RHI and software renderer
...
Code will be moved in parts to QskTextureRenderer to do something
similar with QskTextureNode.
2022-05-31 17:56:49 +02:00
Uwe Rathmann
8593a5cf2e
hide QskGraphicNode, QskTextNode in QskSkinlet, where possible.
...
We will have less dependencies, when moving QskGraphicNode to something
that works better with the QRhi abstraction
2022-05-30 15:16:46 +02:00
Uwe Rathmann
dae4ee02d5
deprecation warnings fixed
2022-05-02 16:51:24 +02:00
Peter Hartmann
13ff41722c
Windows: Fix placement policy of all items ( #188 )
...
Before, on Windows nothing would be displayed because of the
following error:
implicit truncation from 'QskPlacementPolicy::Policy' to bit-field
changes value from 2 to -2
2022-05-02 16:05:58 +02:00
Uwe Rathmann
9f706beab1
iconst keywords removed to avoid clang warnings about implicitely
...
deleted functions. But do we really need QSK_EVENT_DISABLE_COPY ?
2022-04-22 09:00:26 +02:00
Uwe Rathmann
bce7d6e1dc
unused lambda capture removed
2022-04-22 08:39:01 +02:00
Uwe Rathmann
019a6899db
avoid conflicts with RGB from wingdi.h
2022-04-22 08:21:20 +02:00
Uwe Rathmann
8e0008cf59
Merge branch 'master' of https://github.com/uwerat/qskinny
2022-04-22 08:13:44 +02:00
Uwe Rathmann
8680423c33
avoid warnings about narrowing size_t to int
2022-04-22 08:13:19 +02:00
Uwe Rathmann
4e0d1197da
handling of devicePixelratio for pixmaps fixed
2022-04-21 13:08:50 +02:00
Uwe Rathmann
12a3dd06da
boilerplate code to have QskSegmentedBar in the gallery.
2022-04-20 15:25:15 +02:00
Uwe Rathmann
8f04d21739
formal adjustments
2022-04-20 14:20:41 +02:00
Uwe Rathmann
50ee82fbaa
QskSegmentedBar ( inspired by the IOS segmented control ) added
2022-04-20 14:14:37 +02:00
Uwe Rathmann
e689575510
suing QskMenu::Segement instead of Qskmenu::Cell to be in line with other
...
controls
2022-04-20 13:58:53 +02:00
Uwe Rathmann
22060f6aaf
missing moc include
2022-04-20 13:54:27 +02:00
Uwe Rathmann
d011d5d1ea
all node role enums should have RoleCount
2022-04-20 13:50:14 +02:00
Uwe Rathmann
df31b57e7c
Qsk::Position removed ( Qt::Edge is good enough )
2022-04-17 13:19:33 +02:00
Uwe Rathmann
d0b926b868
using Qt::Edge instead of Qsk::Position
2022-04-17 12:37:13 +02:00
Uwe Rathmann
e514b659e8
resetPlacementPolicy added
2022-04-16 20:38:50 +02:00
Uwe Rathmann
896e33bf77
moc include added
2022-04-16 20:38:06 +02:00
Uwe Rathmann
09a12fc7a8
pre Qt 5.15 code removed
2022-04-16 17:02:53 +02:00
Uwe Rathmann
1f0ad384ac
dropping support for Qt < 5.15
2022-04-16 16:29:58 +02:00
Uwe Rathmann
ab095afb13
using left/top/right/bottom
2022-04-16 16:01:40 +02:00
Uwe Rathmann
628e57a9ff
obsolete comment removed
2022-04-16 16:00:19 +02:00
Uwe Rathmann
d52453311f
heuristic for initializing the cascading property moved from skin to
...
QskMenu
2022-04-16 12:25:39 +02:00
Uwe Rathmann
c4f5a4bc93
compiler error fixed
2022-04-16 11:32:51 +02:00
Uwe Rathmann
6dd3b44f52
placementPolicy as property
2022-04-15 13:19:52 +02:00
Uwe Rathmann
bf37fe000c
using QMetaObject instead of QTimer for delayed calls
2022-04-14 08:26:49 +02:00
Peter Hartmann
7693c8d911
fix build on Windows ( #176 )
...
* fix build on Windows
fixes the following error from CI:
common\QskAspect.cpp(199): error C2666: 'QFlags<QskAspect::State>::operator &': 3 overloads have similar conversions
D:\a\qskinny\Qt\5.15.2\msvc2019_64\include\QtCore/qflags.h(146): note: could be 'QFlags<QskAspect::State> QFlags<QskAspect::State>::operator &(Enum) noexcept const'
with
[
Enum=QskAspect::State
]
D:\a\qskinny\Qt\5.15.2\msvc2019_64\include\QtCore/qflags.h(145): note: or 'QFlags<QskAspect::State> QFlags<QskAspect::State>::operator &(uint) noexcept const'
D:\a\qskinny\Qt\5.15.2\msvc2019_64\include\QtCore/qflags.h(144): note: or 'QFlags<QskAspect::State> QFlags<QskAspect::State>::operator &(int) noexcept const'
common\QskAspect.cpp(199): note: or 'built-in C++ operator&(QFlags<QskAspect::State>::Int, quint16)'
common\QskAspect.cpp(199): note: while trying to match the argument list '(QskAspect::States, const quint16)'
* fix build on Windows
fixes the following error from CI:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3124): error C2027: use of undefined type 'QskMenuSkinlet::PrivateData'
D:\a\qskinny\qskinny\src\controls\QskMenuSkinlet.h(54): note: see declaration of 'QskMenuSkinlet::PrivateData'
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3123): note: while compiling class template member function 'void std::default_delete<QskMenuSkinlet::PrivateData>::operator ()(_Ty *) noexcept const'
with
[
_Ty=QskMenuSkinlet::PrivateData
]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3233): note: see reference to function template instantiation 'void std::default_delete<QskMenuSkinlet::PrivateData>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=QskMenuSkinlet::PrivateData
]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3160): note: see reference to class template instantiation 'std::default_delete<QskMenuSkinlet::PrivateData>' being compiled
D:\a\qskinny\qskinny\src\controls\QskMenuSkinlet.h(55): note: see reference to class template instantiation 'std::unique_ptr<QskMenuSkinlet::PrivateData,std::default_delete<QskMenuSkinlet::PrivateData>>' being compiled
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3124): error C2338: can't delete an incomplete type
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3125): warning C4150: deletion of pointer to incomplete type 'QskMenuSkinlet::PrivateData'; no destructor called
D:\a\qskinny\qskinny\src\controls\QskMenuSkinlet.h(54): note: see declaration of 'QskMenuSkinlet::PrivateData
2022-04-13 11:24:18 +02:00
Uwe Rathmann
a1d60803f2
avoid crash with vnc plugin
2022-04-11 12:05:00 +02:00
Uwe Rathmann
dc14dda5ea
respecting the graphicsApi
2022-04-11 10:11:57 +02:00
Uwe Rathmann
a73ee6baba
Squashed commit of the following:
...
commit e2887cdc9d7cbf69445c325fe074578e2f38da6c
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Mon Apr 11 09:58:03 2022 +0200
wip
commit 63efe9f3ad95fdf3d9fb15c929a45b0dc7cc681c
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Mon Apr 11 09:39:18 2022 +0200
wip
commit a2f3621fb6fea787f32c53428eee26f30c69510c
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Mon Apr 11 08:04:11 2022 +0200
wip
2022-04-11 10:01:24 +02:00
Uwe Rathmann
69e4152b4c
QskPlacementPolicy introduced
2022-04-08 16:46:20 +02:00
Uwe Rathmann
449f08bf98
beautified
2022-04-08 15:37:55 +02:00
Uwe Rathmann
21ad84e291
Qsk::Visibility added
2022-04-08 15:37:32 +02:00
Uwe Rathmann
eaf57ef1f0
project file fixed
2022-04-07 17:45:38 +02:00
Uwe Rathmann
741af6a8a6
hiding isTransparentForPositioner
2022-04-07 17:19:59 +02:00
Uwe Rathmann
c17e3defd3
qskItemSize() removed, QQuickItem::size() is available since Qt 5.10
2022-04-07 15:43:45 +02:00
Uwe Rathmann
c44c30fa41
forgotten debug statement removed
2022-04-06 10:56:48 +02:00
Uwe Rathmann
676e0d5e9f
colorswitch example removed
2022-04-06 08:41:32 +02:00
Uwe Rathmann
1cb2110f5d
sending a second StyleChange once the transition is done
2022-04-05 15:31:17 +02:00
Uwe Rathmann
2a6d27d78d
wip
2022-04-05 11:38:23 +02:00
Uwe Rathmann
4d7db7c479
wip
2022-04-05 10:41:36 +02:00
Uwe Rathmann
8c2093d151
QskCheckBox improvements
2022-04-05 10:15:08 +02:00
Uwe Rathmann
6ef1f8a45d
QskCheckBox improvements
2022-04-05 08:48:16 +02:00
Uwe Rathmann
752a97524b
the geometry for the tick can change
2022-04-04 18:32:17 +02:00
Uwe Rathmann
ae5a348b50
spelling aligned with Qt checkboxes ( triState -> tristate )
2022-04-04 14:39:24 +02:00
Uwe Rathmann
49cdc1a029
formal cheges, check box added to gallery
2022-04-04 14:14:07 +02:00
Clemens Manert
a05d1e3471
Add a Checkbox ( #169 )
...
* Add checkbox
* Add checkbox tests
* Add checkbox-groups
* Add checkbox-groups tests
2022-04-04 08:53:20 +02:00
Uwe Rathmann
f4a9b15f11
stop animation, when start/endValues are chaged. Otherwise we will run
...
into crashes, when value types have not been aligned or can't be aligned
2022-04-03 16:32:04 +02:00
Uwe Rathmann
6728ad2bdc
only check if types do match without doing the conversion
2022-04-03 16:31:54 +02:00
Uwe Rathmann
ff316ce1ed
Q_DECLARE_TYPEINFO fixed
2022-04-03 16:31:34 +02:00
Uwe Rathmann
4d724bb6fe
compiler error fixed
2022-04-01 17:00:05 +02:00
Uwe Rathmann
a40ca46556
font initialization changed
2022-04-01 14:42:18 +02:00
Uwe Rathmann
01afcd8557
using c++11
2022-04-01 14:41:56 +02:00
Uwe Rathmann
e2d6823927
skin transition heavily changed
2022-03-31 18:09:03 +02:00
Uwe Rathmann
27ee0fe423
using QVariant::metaType
2022-03-31 12:25:24 +02:00
Uwe Rathmann
f991a21a0a
QMetaType definitions added
2022-03-30 18:30:22 +02:00
Uwe Rathmann
7d0092ccb3
QskStateCombination operators added
2022-03-30 18:21:31 +02:00
Uwe Rathmann
baee63ea6b
debug operators improved
2022-03-30 12:28:45 +02:00
Uwe Rathmann
511c6ddcd3
try to convert if start/end values have different types
2022-03-29 11:15:08 +02:00
Uwe Rathmann
848a22b2a2
interpolation between monochrome gradients improved
2022-03-29 11:14:23 +02:00
Uwe Rathmann
94a7ae4509
using qskEffectiveSkin
2022-03-29 08:09:19 +02:00
Uwe Rathmann
aa3c01dee3
making hintTable() public
2022-03-29 08:08:46 +02:00
Uwe Rathmann
81e2ea2920
qHash added
2022-03-29 08:08:06 +02:00
Uwe Rathmann
1eae47aefa
tracking states of the aspects in a QskSkinHintTable
2022-03-28 21:28:56 +02:00
Uwe Rathmann
a38a4a101e
more State operators
2022-03-28 20:33:42 +02:00
Uwe Rathmann
5dae58fc44
making code slightly more readable
2022-03-28 20:17:56 +02:00
Uwe Rathmann
f68095a0d1
making code more readable
2022-03-27 19:05:40 +02:00
Uwe Rathmann
7778baecc5
alpha -> opacity
2022-03-27 17:54:16 +02:00
Uwe Rathmann
3aa320f233
accepting hover events as default
2022-03-26 16:22:47 +01:00
Uwe Rathmann
28c47725e2
do not like protected keywords in macros
2022-03-25 18:17:14 +01:00
Uwe Rathmann
d6c4968d3c
using QSK_EVENT_DISABLE_COPY
2022-03-25 18:04:41 +01:00
Uwe Rathmann
1b94e86e4b
Q_OBJECT added
2022-03-25 16:22:02 +01:00
Uwe Rathmann
6907cd0e28
remove/take fixed
2022-03-25 13:39:18 +01:00
Uwe Rathmann
eaa5a63278
hash calls harmonized
2022-03-25 11:21:32 +01:00
Uwe Rathmann
f86e38ef12
using reserve where possible
2022-03-25 10:29:12 +01:00
Uwe Rathmann
55d5f99575
introducing QskHashValue to work around Qt5/6 incompatibilities
2022-03-25 10:28:06 +01:00
Uwe Rathmann
04ec8b52a1
making clazy happier
2022-03-25 07:46:48 +01:00
Uwe Rathmann
73f11cffd9
making clazy happier
2022-03-24 17:33:40 +01:00
Uwe Rathmann
115141bc21
reserving memory in advance
2022-03-24 17:33:01 +01:00
Uwe Rathmann
eeb9e04b60
making clazy happier
2022-03-24 17:30:50 +01:00
Uwe Rathmann
b572c23561
using const methods
2022-03-24 17:18:27 +01:00
Uwe Rathmann
fe372f64e4
Q_DISABLE_COPY added
2022-03-24 17:13:47 +01:00
Uwe Rathmann
3b683ba6d4
reserving memory in advance
2022-03-24 17:13:09 +01:00
Uwe Rathmann
ca36a1705d
Q_DISABLE_COPY added
2022-03-24 17:12:34 +01:00
Uwe Rathmann
828986de2e
bad return statements fixed
2022-03-24 17:10:11 +01:00
Uwe Rathmann
07f9829ffa
QskDialogButtonBox::isDefaultButtonKeyEvent fixed
2022-03-24 11:44:08 +01:00
Uwe Rathmann
a8b176aa71
QskSkinTransition pimpled
2022-03-24 11:17:03 +01:00
Uwe Rathmann
d81e8991af
pimpled
2022-03-24 11:14:46 +01:00
Uwe Rathmann
d285b7e85c
Q_DISABLE_COPY added
2022-03-24 11:12:45 +01:00
Uwe Rathmann
b89fa86b67
using qAsConst
2022-03-24 10:39:33 +01:00
Uwe Rathmann
6455c26f86
making QskGraphic a Q_GADGET
2022-03-24 10:26:33 +01:00
Uwe Rathmann
28907c75d8
QskStandardSymbol as namespace
2022-03-24 08:50:53 +01:00
Uwe Rathmann
5c62725cd1
using reference parameters
2022-03-24 08:45:06 +01:00
Uwe Rathmann
74a09c8f7e
using const method
2022-03-24 08:42:54 +01:00
Uwe Rathmann
cc21fec436
using qAsConst
2022-03-24 08:41:11 +01:00
Uwe Rathmann
9d515ba68e
pointless QObject inheritance removed
2022-03-24 08:27:17 +01:00
Uwe Rathmann
e06d213365
using const getter
2022-03-24 08:20:05 +01:00
Uwe Rathmann
107e121d3b
using QStringLiteral
2022-03-24 08:19:24 +01:00
Uwe Rathmann
9fe2771225
class moved to anonymous namespace
2022-03-24 08:18:15 +01:00
Uwe Rathmann
95dab4301d
using c++11
2022-03-24 08:11:29 +01:00
Uwe Rathmann
c963ec7deb
beautified
2022-03-24 08:10:57 +01:00
Uwe Rathmann
eaa554addc
using reference parameter
2022-03-24 08:10:29 +01:00
Uwe Rathmann
44ca6c964f
Q_EMIT added
2022-03-24 08:10:04 +01:00
Uwe Rathmann
80a42f6d56
using reference parameters
2022-03-24 08:09:30 +01:00
Uwe Rathmann
057866e7ff
disable copying
2022-03-24 08:08:40 +01:00
Uwe Rathmann
12a3476e71
return code for all remove operations
2022-03-24 08:01:52 +01:00
Uwe Rathmann
63a9eb1a6a
rong return statement removed
2022-03-24 07:59:28 +01:00
Uwe Rathmann
24e8c28d9e
unused code removed
2022-03-24 07:59:02 +01:00
Uwe Rathmann
f44208213c
Squashed commit of the following:
...
commit 547927f937a3260d5b23068f06cd181de9b7c763
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Wed Mar 23 15:38:40 2022 +0100
wip
commit ca06b1da4bf9c5b30ef2857f0b6c1e4fb137a64e
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Wed Mar 23 15:30:31 2022 +0100
using private classes
commit 4977b0afa481039f22b64e7f55262be8053a26c2
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Wed Mar 23 15:18:20 2022 +0100
avoid using private Qt headers in examples
2022-03-23 15:39:17 +01:00
Uwe Rathmann
9be4562d8f
compiler errors for Qt6 fixed
2022-03-23 14:43:05 +01:00
Uwe Rathmann
1cc0dff8d5
uncrustified
2022-03-23 11:54:34 +01:00
Uwe Rathmann
7f5d289808
obsolete code for earlier versions removed
2022-03-20 14:22:11 +01:00
Uwe Rathmann
3bfdd9ed93
workaround for emit usages in qt headers
2022-03-20 13:14:06 +01:00
Uwe Rathmann
25e40103d3
outdated comment fixed
2022-03-20 13:12:30 +01:00
Uwe Rathmann
bc3ef26584
include guards formalized
2022-03-20 13:11:34 +01:00
Uwe Rathmann
13d00d176f
support for QGradient::Preset
2022-03-18 16:50:34 +01:00
Uwe Rathmann
b02e6ccbc3
constexpr, where possible
2022-03-18 16:08:40 +01:00
Uwe Rathmann
598224e487
qmake setup changed
2022-03-18 12:32:57 +01:00
Uwe Rathmann
36c759dc41
qskIsStandardKeyInput added
2022-03-11 14:24:10 +01:00
Uwe Rathmann
d7d5c8cff3
Squashed commit of the following:
...
commit 02f95db2e5a105cad4ac0bc07f5dcfc655546f9d
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date: Fri Mar 11 14:14:35 2022 +0100
wip
2022-03-11 14:16:41 +01:00
Uwe Rathmann
820bb9cdc2
obsolete version check removed
2022-03-09 07:25:18 +01:00
Uwe Rathmann
ff3c3321da
QskDialogButton::resetButton
2022-03-08 16:15:37 +01:00
Uwe Rathmann
cdb17476b5
platform depending code moved to QskSkin
2022-03-08 15:59:35 +01:00
Uwe Rathmann
7f63392eed
TODO note added
2022-03-08 12:08:15 +01:00
Uwe Rathmann
ae2c6d87a8
upport for Qt < Qt 5.12 dropped
2022-03-08 11:53:46 +01:00
Uwe Rathmann
2bfb68c7de
formal changes
2022-03-08 11:18:10 +01:00
Uwe Rathmann
49de58cdc4
cacheSize as property
2022-03-08 11:17:48 +01:00
Uwe Rathmann
01a79a1b0b
updates in setPopupFlags fixed
2022-03-08 11:17:17 +01:00
Uwe Rathmann
f17a73f53b
updateFocusFrame is protected now
2022-03-08 11:16:14 +01:00
Uwe Rathmann
b79e46e256
comment added
2022-02-20 11:06:48 +01:00
Clemens Manert
adc4875629
Bugfix: Respect QskControl::Disabled aspect. ( #162 )
2022-02-20 10:54:01 +01:00
Uwe Rathmann
9cc840f0f8
compatibility method for early Qt versions
2022-02-08 09:01:18 +01:00
Uwe Rathmann
05dd8ea087
setting the placement bit only when being undefined in the request
2022-02-08 09:00:13 +01:00
Uwe Rathmann
d38d4429f5
source as string
2022-02-08 08:59:34 +01:00
Uwe Rathmann
96e210ce3c
Qt 6.3 ( beta1 ) incompatibilities fixed
2022-02-06 14:32:26 +01:00
Uwe Rathmann
6295b137f3
beautified
2022-02-04 16:18:35 +01:00
Uwe Rathmann
18b7f9590e
using references
2022-02-04 16:18:14 +01:00
Peter Hartmann
ac8ef9cd5a
Box renderer: Support border gradients ( #158 )
...
* QskBoxBorderColors: Use gradients instead of colors
* QskBoxBorderColors: rename API
* render gradients on borders
* boxes example: Also draw gradient borders
* calculate proper numbers of needed border colors
* fixup with example
* support rounded corners
* support more colors in rounded color gradients
I THINK WE DON'T REALLY NEED THIS COMMIT
* We don't need this commit either
* Revert "We don't need this commit either"
This reverts commit 2dc38064f7fee1d0505262fe5cebcf9e1fb16cea.
* Revert "support more colors in rounded color gradients"
This reverts commit 5754d2d0773d8273d42ae1775b53d40f5e6af26a.
* fix borders for rect ellipses
* play around a bit
* small fixes
* some helper stuff and missing stuff
* user border colors
* close to something working somehow
* works a bit better
* put it into an own function
* rearrange a bit
* something's off
* still off, but seems like we need an additional line
* works but hackish
* now it works
* bring back samples
* correction
* pimp up example
* fix normal rendering
* some more debugging etc.
* turn around gradients
* turn around rectangular gradients as well
* turn around easier
* more test cases
* fix fill case
* more test cases
* clean up a bit
* clean up example
* clean up some more
* incorporate feedback from Uwe
* fix bug when using horizontal gradients
2022-02-04 16:11:11 +01:00
Peter Hartmann
4c7c369477
Hunspell: Move prediction to an own thread ( #159 )
...
* text prediction: Move predictors to input panel
* hunspell: Move predictor to an own thread and update implementation
2022-02-04 16:10:44 +01:00
Uwe Rathmann
ab0fe2ac1c
constructor fixed
2022-01-21 07:49:38 +01:00
Uwe Rathmann
de349c3423
status bit initialization improved
2022-01-21 07:33:28 +01:00
Uwe Rathmann
b5da0da76d
status bits introduced to cache information, that would be recaclulated
...
many times otherwise
2022-01-21 07:29:07 +01:00
Uwe Rathmann
262e5517f7
avoid using the same procedure name
2022-01-21 07:28:34 +01:00
Uwe Rathmann
cec696a78b
wheel scrolling improved
2022-01-17 09:46:27 +01:00
Uwe Rathmann
acbb5d1c0b
wheel scrolling improved
2022-01-12 13:29:42 +01:00
Uwe Rathmann
e310c3c9bb
Merge branch 'master' of https://github.com/uwerat/qskinny
2022-01-10 14:59:52 +01:00
Uwe Rathmann
379a6f6ccc
wheelEvent handling improved
2022-01-10 14:59:22 +01:00
Uwe Rathmann
cf5c326208
compiler issue fixed
2022-01-10 12:20:56 +01:00
Uwe Rathmann
d4f140f20e
wrnings disabled
2022-01-10 08:47:27 +01:00
Uwe Rathmann
030483badb
wheel + Ctrl/Shift scrolls pagewise
2022-01-10 08:46:20 +01:00
Uwe Rathmann
9f7824cd17
minor improvements
2022-01-10 08:44:02 +01:00
Uwe Rathmann
1dd3127f9f
QskScrollBox::scrollOffset reintroduced
2022-01-07 15:34:13 +01:00
Uwe Rathmann
3f0aaae1a1
changes reverted
2022-01-07 15:09:05 +01:00
Uwe Rathmann
d1f6902c27
toTransparentF added
2022-01-07 13:55:51 +01:00
Uwe Rathmann
1bac9f37c3
forgotten declarations removed
2022-01-07 13:55:30 +01:00
Uwe Rathmann
13cb2f8ca3
QskRgb::totransparentF added
2022-01-07 13:23:29 +01:00
Uwe Rathmann
5acce30878
Qt 5.6 incompatibility fixed
2022-01-07 12:46:24 +01:00
Uwe Rathmann
36001a6fec
menu separators added
2022-01-06 18:36:15 +01:00
Uwe Rathmann
8b5077ed2b
useless call removed
2022-01-05 12:05:44 +01:00
Uwe Rathmann
e67cccc088
wheel event handling improved
2022-01-05 11:59:32 +01:00
Uwe Rathmann
911847da11
QskPageIndicator improved
2022-01-04 15:58:49 +01:00
Uwe Rathmann
38f14eee80
mouse handling modified
2022-01-04 15:54:16 +01:00
Uwe Rathmann
4a3b419470
QskPageIndicator improved
2022-01-04 14:34:15 +01:00
Uwe Rathmann
1feccd942a
QskPageIndicator improved
2022-01-04 13:58:34 +01:00
Uwe Rathmann
8ab578ff19
QskStackBox::transientindex introduced
2022-01-04 13:50:40 +01:00
Uwe Rathmann
84edabe8e3
code simplified
2022-01-04 13:47:40 +01:00
Uwe Rathmann
72f28783a9
qskInterpolatedSize added
2022-01-04 13:46:54 +01:00
Uwe Rathmann
1d7b551b05
QskBoxHints introduced
2022-01-04 13:44:53 +01:00
Uwe Rathmann
4a3f56e842
QskPopup::execPopup introduced
2022-01-01 18:13:33 +01:00
Uwe Rathmann
63077e9a33
return QString(), when the dialog has been rejected
2022-01-01 18:12:17 +01:00
Uwe Rathmann
9cef7705d8
QskMenu::exec added
2021-12-30 11:13:48 +01:00
Uwe Rathmann
89a2a395fd
QskMenu::Cursor transition fixed
2021-12-29 17:19:19 +01:00
Uwe Rathmann
f45be55e90
using positionHint methods
2021-12-29 17:05:29 +01:00
Uwe Rathmann
22bee7e62e
missing include added
2021-12-29 16:54:16 +01:00
Uwe Rathmann
78d39d242f
QskMenu::Cursor animation added
2021-12-29 16:23:19 +01:00
Uwe Rathmann
1a0ea4a3c4
cenvenience setter added
2021-12-29 16:21:33 +01:00
Uwe Rathmann
17f32546fd
moveSkinHint introduced
2021-12-29 15:55:44 +01:00
Uwe Rathmann
46707cc507
more convenience setter/getter
2021-12-29 15:36:04 +01:00
Uwe Rathmann
a3e1065096
QRectF interpolator added
2021-12-29 15:30:44 +01:00
Uwe Rathmann
e5f15d34e4
QskAnimationHint improved
2021-12-29 15:27:53 +01:00
Uwe Rathmann
05bb54e48d
avoiding deprecation warnings
2021-12-29 15:21:09 +01:00
Uwe Rathmann
aca538a89d
introducing series/sample for subcontrols being related to multiple
...
instances
2021-12-28 16:14:30 +01:00
Uwe Rathmann
9fff09144a
QskMenuSkinlet improved
2021-12-28 15:33:13 +01:00
Uwe Rathmann
f1a324b216
QskSkinlet improved for subControls with multible instances
2021-12-28 10:08:21 +01:00
Uwe Rathmann
320ed1b39c
QskSkinStateChanger improved
2021-12-27 17:33:06 +01:00
Uwe Rathmann
622c6f06c2
trailing semicolons removed
2021-12-27 10:21:03 +01:00
Uwe Rathmann
9ce14619e7
using QVariant
2021-12-27 09:50:14 +01:00
Uwe Rathmann
6c46c0160d
some functions copied from QskFunctions to QskPlatform
2021-12-26 12:57:02 +01:00
Uwe Rathmann
a4d34dfa54
QskMenu::cascading added
2021-12-26 12:17:31 +01:00
Uwe Rathmann
26336fa5dc
ReplayMousePressOutsidePopup reminder added
2021-12-26 12:15:07 +01:00
Uwe Rathmann
0d43fbcc27
qskPlatformIntegration/qskMaybeDesktopPlatform added
2021-12-26 12:12:18 +01:00
Uwe Rathmann
1930810070
QskSkinlet::itemIndexAt introduced
2021-12-26 09:15:15 +01:00
Uwe Rathmann
34641e4860
QskSkinlet::itemRect added
2021-12-24 16:50:34 +01:00
Uwe Rathmann
452ff3a07b
QskMenu improved
2021-12-24 16:20:34 +01:00
Uwe Rathmann
1beec5e599
layout code improved
2021-12-24 16:18:46 +01:00
Uwe Rathmann
fa6fc7b4c1
QskSkinnable::effectiveFontHeight added
2021-12-24 16:17:49 +01:00
Uwe Rathmann
ca2cdf7663
beautified
2021-12-23 19:05:59 +01:00
Uwe Rathmann
8010d70e4a
QskMenu added ( work in progress )
2021-12-23 18:36:32 +01:00
Uwe Rathmann
8d2ff3c3fe
QskPopup improvements
2021-12-23 18:19:52 +01:00
Uwe Rathmann
af8df9f4be
minor improvements
2021-12-23 18:16:18 +01:00
Uwe Rathmann
d37b9ca39c
using QskSkinStateChanger
2021-12-23 18:15:54 +01:00
Uwe Rathmann
6fd771d741
QskSkinStateChanger introduced
2021-12-23 18:15:07 +01:00
Uwe Rathmann
47f7737985
QskListView::Selected state introduced
2021-12-22 15:08:27 +01:00
Uwe Rathmann
28024d80d9
minor improvements
2021-12-22 15:07:51 +01:00
Uwe Rathmann
3842ca36a3
QskGraphic::aspectRatio added
2021-12-22 15:07:03 +01:00
Uwe Rathmann
0b5b622d1a
minor improvements
2021-12-22 10:55:48 +01:00
Uwe Rathmann
8f76cf4c62
dead code removed
2021-12-15 08:47:16 +01:00
Uwe Rathmann
c3dc970a94
QskLayoutHint renamed to QskLayoutMetrics
2021-12-15 08:45:29 +01:00
Uwe Rathmann
b76d96bb2e
forgotten debug code removed
2021-12-13 16:53:18 +01:00
Uwe Rathmann
738de14d4c
hiding the devicePixelRato scaling in the nodes
2021-12-13 16:43:34 +01:00
Uwe Rathmann
e4ffc3f074
manually aligning textures to avoid rounding issues
2021-12-10 13:39:41 +01:00
Uwe Rathmann
8ecff64b4a
missing interpolators added
2021-12-09 17:38:37 +01:00
Uwe Rathmann
2b9eef700c
hiding internal class in an anonymous namespace
2021-12-09 17:32:22 +01:00
Uwe Rathmann
b0cbb4f9e4
missing paint device metrics added
2021-12-09 17:22:52 +01:00
Uwe Rathmann
be16e74336
wip
2021-12-08 08:26:55 +01:00
Uwe Rathmann
9f6e2733ca
code moved to internal methods to make things more readable
2021-12-06 12:40:32 +01:00
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
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
9bf5936732
SizeMode primitive removed
2020-12-27 16:07:22 +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
549031fe78
setState added
2020-12-20 16:05:05 +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
23bbab7820
unused enum removed
2020-12-18 13:44:02 +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
247112ae5c
LastPrimitive fixed
2020-12-18 08:50:23 +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
6bb7486578
width/height/extent added
2020-12-17 16:13:44 +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
06fe52de32
wip
2020-12-15 08:37:06 +01:00
Uwe Rathmann
38b832d463
noexcept keywords added
2020-12-15 07:56:42 +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
05cb42a7ea
include guards harmonized
2020-12-11 15:16:50 +01:00
Uwe Rathmann
95391139f9
setAutoLayout defaults to true
2020-12-10 09:46:50 +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
6281c43dda
trailling , removed
2020-11-26 06:56:38 +01:00
Uwe Rathmann
4803701a56
QskScaleRenderer added ( work in progress )
2020-11-22 15:28:56 +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
4fd41e7be2
some classes for scales/axes
2020-11-13 15:34:02 +01:00
Uwe Rathmann
80611901ac
indentations
2020-11-13 15:24:20 +01:00
Uwe Rathmann
d334ed84c5
API cleanup
2020-11-11 11:50:41 +01:00
Uwe Rathmann
da1f385682
using elementCount instead of count
2020-11-11 10:31:39 +01:00
Uwe Rathmann
b53eaaaa95
Merge branch 'master' of https://github.com/uwerat/qskinny
2020-11-11 08:50:40 +01:00
Uwe Rathmann
ec0d3dc49a
deprecated calls removed
2020-11-11 08:50:01 +01:00
Uwe Rathmann
acab3f7cdd
using QskEvent methods
2020-11-09 14:18:20 +01:00
Uwe Rathmann
650204292c
QskShortcutMap::invoke added
2020-11-09 14:17:54 +01:00
Uwe Rathmann
774a34a6b8
finally the code seems to work with Qt 6.0.0 Beta 2
2020-11-01 16:57:59 +01:00
Uwe Rathmann
75cdda5f6a
working towards Qt6
2020-11-01 15:44:15 +01:00
Uwe Rathmann
5e195a9743
includes fixed
2020-11-01 12:09:52 +01:00
Uwe Rathmann
271b595609
code moved to QskTextureRenderer
2020-11-01 10:43:16 +01:00
Uwe Rathmann
d64f861e33
code cleanup
2020-11-01 10:16:28 +01:00
Uwe Rathmann
c9e959e73f
makeing code more readable
2020-11-01 09:28:20 +01:00
Uwe Rathmann
a5327a68b8
using c++11 auto
2020-11-01 09:26:19 +01:00
Uwe Rathmann
9426e69e3e
Qt6 incomptibilities
2020-11-01 08:48:50 +01:00
Uwe Rathmann
c7383a5e31
disabled lines for DebugContext added
2020-11-01 08:48:19 +01:00
Uwe Rathmann
b004e6d8d5
code improved
2020-10-31 08:06:41 +01:00
Uwe Rathmann
e86ce49fb4
converters added
2020-10-30 07:29:43 +01:00
Uwe Rathmann
9a3e8d0d2d
using QskMargins instead of QMargins in Q_PROPRTY definitions to get Qt6
...
working
2020-10-28 19:35:51 +01:00
Uwe Rathmann
aed9412aee
Q_GADGET added
2020-10-28 12:33:51 +01:00
Uwe Rathmann
1eada5fbe0
Qt6 incompatibilities fixed
2020-10-28 12:33:26 +01:00
Uwe Rathmann
a81c0e4708
version check fixed
2020-10-28 08:28:13 +01:00
Uwe Rathmann
4c6e0ae32d
Qt5 incompatibilities
2020-10-26 18:50:48 +01:00
Uwe Rathmann
4d7d9735dc
prepairing Qt6 usage
2020-10-26 18:06:06 +01:00
Uwe Rathmann
93dc6f76f7
Qt6 incompatibilities fixed
2020-10-26 17:59:19 +01:00
Uwe Rathmann
8e410a9e4b
Qt6 incompatibilities fixed
2020-10-26 17:52:08 +01:00
Uwe Rathmann
07cdcc56df
code improved
2020-10-26 14:13:57 +01:00
Uwe Rathmann
5757d49ba9
avoid Qt5/6 incompatibilities
2020-10-25 18:04:55 +01:00
Uwe Rathmann
963ccb1da8
avoid Qt 5/6 incompatibilities
2020-10-25 17:53:22 +01:00
Uwe Rathmann
571f532307
moving ClipItem to namespace
2020-10-25 17:40:29 +01:00
Uwe Rathmann
1228518e6a
avoid Qt5/6 incompatbilities
2020-10-25 17:35:50 +01:00
Uwe Rathmann
35c786c012
Qt 6 incompatibilities fixed
2020-10-25 16:09:49 +01:00
Uwe Rathmann
a101080231
Qt6 incompatibilities fixed
2020-10-25 15:56:22 +01:00
Uwe Rathmann
0c37453d5f
workaround for Qt 5/6 QMouseEvent incompatabilities
2020-10-25 15:55:02 +01:00
Uwe Rathmann
bf4fbaa905
no QVector forward declaration - can't be done with Qt6, but as we have
...
all what we need from qglobal.h ...
2020-10-25 14:57:41 +01:00
Uwe Rathmann
c4b32c0d50
Qt6 incompatibility
2020-10-23 14:08:27 +02:00
Uwe Rathmann
21bd75ae5b
Qt6 incompatibility fixed
2020-10-23 14:00:27 +02:00
Uwe Rathmann
205de91dae
Qt6 incompatibility fixed
2020-10-23 13:54:27 +02:00
Uwe Rathmann
484c0ceec5
no QStringList forward declarations possible with Qt6 - so we have to
...
rely on Qt headers we have included before. Not good ...
2020-10-23 13:45:09 +02:00
Uwe Rathmann
77c00fb727
no QVector forward declarations with Qt6
2020-10-23 13:44:29 +02:00
Uwe Rathmann
27c4704f68
no QVector forward declarations possible with Qt6
2020-10-23 13:43:28 +02:00
Uwe Rathmann
4fefe62ad0
Qt6 changes for QList/QVector disaallow forward declarations, but as
...
with every qobject.h we have qlist.h anyway
2020-10-23 13:41:18 +02:00
Uwe Rathmann
5d9d307d6f
Qt6 compatibility fixes
2020-10-23 13:38:00 +02:00
Uwe Rathmann
862ab8cc16
Qt6 incompatibilities fixed
2020-10-23 13:20:51 +02:00
Uwe Rathmann
b351e078f5
Qt6 incompatibility fixed
2020-10-23 12:49:42 +02:00
Uwe Rathmann
2d8e3ec7a8
avoid deprecated APIs
2020-10-23 12:49:10 +02:00
Uwe Rathmann
60c8ec4746
avoid dprecated APIs
2020-10-23 12:48:34 +02:00
Uwe Rathmann
19b5918f43
Merge branch 'master' of https://github.com/uwerat/qskinny
2020-10-20 17:48:02 +02:00
Uwe Rathmann
bb0cb27e69
version ifdefing simplified
2020-10-20 17:47:19 +02:00
Uwe Rathmann
a5cf44a869
missing include added
2020-10-20 17:46:22 +02:00
Uwe Rathmann
7ac3375d30
unused member removed
2020-10-20 17:45:31 +02:00
Uwe Rathmann
9b9fb04adb
shadowRect added
2020-10-20 17:45:07 +02:00
Uwe Rathmann
6e1eb9801a
setReadOnly fixed
2020-10-20 12:03:05 +02:00
Uwe Rathmann
d0b833a38d
missing inline keywords added
2020-10-09 08:37:23 +02:00
Uwe Rathmann
e5f770d753
QskShadowMetrics added
2020-10-09 08:21:30 +02:00
Uwe Rathmann
1b8bbdc261
hash function simplified
2020-10-09 08:21:06 +02:00
Uwe Rathmann
21d90e5fa0
pointless "bit saving" removed
2020-10-09 08:20:36 +02:00
Uwe Rathmann
7b59793054
debug operator added
2020-09-28 09:04:25 +02:00
Uwe Rathmann
b78a77f4ff
constructor for QMarginsF added
2020-09-28 09:03:35 +02:00
Uwe Rathmann
42d48c4649
debug operator fixed
2020-09-28 09:03:11 +02:00