Vogel, Rick
ac8a3dea9b
initial commit of QskSpinBox
2023-02-17 12:01:56 +01:00
Uwe Rathmann
15b73d215c
QskTextOption layout impacts added
2023-02-16 11:42:07 +01:00
Uwe Rathmann
66db409b71
QskAspect::Placement renamed to QskAspect::Variation so that we use the
...
corresponding bits for an emphasis too
2023-02-15 16:37:54 +01:00
Uwe Rathmann
454688361c
orientation removed from the placement bits
2023-02-15 16:16:19 +01:00
Peter Hartmann
5a78a365e3
segmented bar: Make API similar to QskMenu
2023-02-01 17:18:22 +01:00
Peter Hartmann
afdfa7b24e
segmented bar: Fix vertical orientation
2023-02-01 17:18:22 +01:00
Peter Hartmann
c58593669d
segmented bar: Add own checkmark
...
The checkmark is slightly different from the one used in the
check box.
2023-02-01 17:18:22 +01:00
Peter Hartmann
d75c07cbcc
segmented bar: Selected element always has the checkmark symbol
...
This is how Material 3 does it at least.
If we are ever going to implement the iOS style, we need to do it
differently; although there are no icons involved there at all.
2023-02-01 17:18:22 +01:00
Peter Hartmann
9d1b2568e5
segmented bar: Allow icon and text
2023-02-01 17:18:22 +01:00
Peter Hartmann
329531777a
segmented bar: Always assume 0 spacing between elements
...
... as is in the nature of this control. Rather think of the spacing
as the space between the icon and the text, like we do with
QskPushButton.
2023-02-01 17:18:22 +01:00
Peter Hartmann
03e24d5fea
push button: Support more alignments of icon and text
2023-01-24 09:51:36 +01:00
Uwe Rathmann
84156b138e
workaround for a Qt 6.5 regression ( see
...
https://bugreports.qt.io/browse/QTBUG-110493 )
2023-01-23 15:51:21 +01:00
Peter Hartmann
9882dc61ee
push button: Fix size hint
2023-01-18 06:36:47 +01:00
Uwe Rathmann
d7f1e22874
using QSizeF::grownBy
2023-01-17 15:37:53 +01:00
Peter Hartmann
3b45b90011
CheckBox: Add error state and style for material
2023-01-16 08:15:41 +01:00
Peter Hartmann
4352410128
check box: Add ripple effect and style for M3
2023-01-16 08:15:41 +01:00
Peter Hartmann
5e8d03fe50
QskGraphic: Make sure the underlying texture is big enough
...
Otherwise the scale factors might be off considerably.
Resolves #233
2022-12-15 16:08:23 +01:00
Uwe Rathmann
9ae7dc2f63
QskGradientNode renamed to QskRectangleNode
2022-12-06 09:58:46 +01:00
Uwe Rathmann
6d726eee0a
QskGradientNode introduced for rectangles filled with any type of
...
gradient being supported by QskGradient. It is lighter than QskBoxNode,
that is a compositition of border/gradient/shadow. Used for the
background node now - what means, that background can have radial/conic
gradients now as well.
2022-12-05 17:10:13 +01:00
Uwe Rathmann
125fe1e9f4
QskBoxNode renamed to QskBoxRectangleNode, QskShadedBoxNode renamed to QskBoxNode
2022-12-05 12:34:08 +01:00
Uwe Rathmann
cf9d203e48
exposing more methods to QML
2022-12-03 17:17:21 +01:00
Uwe Rathmann
912d768a61
QskControl::Background subcontrol introduced allowing to have a default setting for
...
all backgrounds ( color, padding ) without changing the overall fallback settings. This made
it possible to remove the confusing autoFillBackground property.
2022-11-18 13:20:21 +01:00
Uwe Rathmann
c5ace32bf2
QskAspect::Control renamed to QskAspect::NoSubcontrol
2022-11-18 12:29:58 +01:00
Uwe Rathmann
b140d1b30a
QskGradientDirection introduced - no more classes derived from
...
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann
f14036c124
using QskGrdient::Stops for separator hints
2022-10-31 18:02:35 +01:00
Uwe Rathmann
ad67d035f3
new QskGradient
2022-10-31 14:42:08 +01:00
Uwe Rathmann
fdf0e1fdb9
pointless forward declaration removed
2022-10-21 16:44:31 +02:00
Uwe Rathmann
cb67a057d7
compiler error fixed
2022-09-13 13:05:47 +02:00
Uwe Rathmann
4f8a76234a
index added for animator lookups to allow smooth transitions f.e when
...
selcting an cell in a list box
2022-09-13 12:40:44 +02:00
Uwe Rathmann
7ca1e2f261
uncrustified
2022-09-13 12:22:20 +02:00
Uwe Rathmann
1900adbabb
Using a flat map ( sorted std::vector ) instead of a std:map for the
...
animators. Preperations for inntroducing aspect/index as lookup key.
2022-09-12 18:18:51 +02:00
Uwe Rathmann
4ca5e798c8
broken state changes fixed
2022-09-09 12:01:30 +02:00
Uwe Rathmann
996e849fc5
startHintTransitions added to be able to start transitions withot
...
changing the state
2022-09-09 11:29:47 +02:00
Uwe Rathmann
47df732f4a
better seperation between state animators and those for skin changes
2022-09-09 10:25:46 +02:00
Uwe Rathmann
50ec41868d
some APIs narrowed from QskAspect to QskAspect::Subcontrol
2022-09-09 09:30:15 +02:00
Uwe Rathmann
beddc2569f
early check for animators
2022-09-06 08:00:18 +02:00
Uwe Rathmann
b926476e55
QskHintAnimatorTable::isEmpty added
2022-09-06 07:57:08 +02:00
Uwe Rathmann
8088664465
less operator added
2022-09-04 10:37:40 +02:00
Uwe Rathmann
45e157c2c6
code moved to QskSubcontrolLayoutEngine
2022-08-29 14:17:13 +02:00
Uwe Rathmann
4c190ffe49
unregisterFactories added
2022-08-29 10:28:13 +02:00
Uwe Rathmann
2479064f58
spacing added
2022-08-26 13:19:37 +02:00
Uwe Rathmann
b84dfc8226
QskSubcontrolLayoutEngine introduced
2022-08-26 12:56:12 +02:00
Uwe Rathmann
896145ac11
QskTextOptions as skin hints
2022-08-25 09:39:33 +02:00
Uwe Rathmann
9daf934426
QskLayoutElement introduced
2022-08-06 15:41:32 +02:00
Uwe Rathmann
bc5510f7ef
temporary improvements for push buttons - until we have a general layout class
...
for graphic/text combinations
2022-08-03 18:28:53 +02:00
Uwe Rathmann
be53343375
do not align to scene coordinates for transformations beyond
...
translations
2022-08-03 09:39:15 +02:00
Uwe Rathmann
6c778c4b07
qskAlignedRect overloads
2022-07-28 16:51:20 +02:00
Uwe Rathmann
2737bc0be3
sourceSize members replaced by strutSizeHints to make icons sizes
...
configurable in the skin
2022-07-28 11:37:14 +02:00
Uwe Rathmann
cb6ec8437c
QskPushButtonSkinlet::rippleRect simplified
2022-07-18 16:40:53 +02:00
Uwe Rathmann
d7d90a9dc8
using QskSGNode::ensureNode
2022-07-18 16:26:49 +02:00
Uwe Rathmann
9fdaf8aef6
clipping the ripple into the button panel
2022-07-18 09:11:45 +02:00
Uwe Rathmann
0390166783
using built in QskHintAnimators
2022-07-17 16:01:46 +02:00
Uwe Rathmann
0a6ed7deb1
aspect resolving of animated values fixed ( placement/section bits )
2022-07-17 15:59:53 +02:00
Uwe Rathmann
e6fb38d383
minor cleanups
2022-07-17 14:44:19 +02:00
Peter Hartmann
7eed06659b
push button: Allow for animations when clicking
...
Which e.g. the Material 3 style does
2022-07-15 13:50:04 +02:00
Uwe Rathmann
4ef3fe3164
initial tabbar position as skin hint ( QskTabBar::Panel | QskAspect::Style )
2022-07-15 10:44:32 +02:00
Peter Hartmann
07e3cf7fd6
Add top level application view
2022-07-15 07:55:13 +02:00
Peter Hartmann
48a902a660
scroll view: Allow styling via panel
2022-07-15 07:55:13 +02:00
Uwe Rathmann
209fbaef97
keep upper case letters for skin names
2022-07-14 13:55:35 +02:00
Uwe Rathmann
5f4a8aae6d
Merge branch 'material-theme' of https://github.com/edelhirsch/qskinny into edelhirsch-material-theme
2022-07-07 08:42:59 +02:00
Uwe Rathmann
d89adc4459
Qtcalculations only for Qt::MinimumSize
2022-07-07 08:39:29 +02:00
Peter Hartmann
f6a4e8d2d6
QskSubWindow: Respect minimum size
...
E.g. Material 3 dialogs have a minimum size
2022-07-07 08:20:31 +02:00
Peter Hartmann
9ecafddc49
Slider: Add ripple and style it
2022-07-05 13:41:18 +02:00
Peter Hartmann
2129e235b7
remove leftover change in segmented bar
2022-07-05 09:52:03 +02:00
Peter Hartmann
53faf27d8f
Merge branch 'uwerat-master' into material-theme
...
This means remove the outlined and text buttons for now
2022-07-05 09:33:43 +02:00
Uwe Rathmann
f7cd259fb0
using QskSkin::symbol for the indicator
2022-07-01 12:40:52 +02:00
Uwe Rathmann
080fcdb69f
Starting with a simpler version of QskCheckBox ( no tristate ), but with
...
having an optional text.
2022-07-01 11:10:59 +02:00
Uwe Rathmann
3c5b6f9f01
QskAbstractButton::Flat removed, using QskAspect::Header instead
2022-06-29 16:21:54 +02:00
Uwe Rathmann
62fcbc6c32
QskAspect::Section introduced
2022-06-29 16:15:38 +02:00
Uwe Rathmann
44e264d472
returning an empty rect for the separator behind the last segment
2022-06-27 13:44:44 +02:00
Peter Hartmann
8ee9e8ed22
segmented bar: Add separator subcontrol
2022-06-27 13:31:17 +02:00
Peter Hartmann
e7d05b5c98
segmented bar: Respect padding hint for graphic
2022-06-27 13:31:17 +02:00
Peter Hartmann
00b7df5b30
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-27 13:31:17 +02:00
Peter Hartmann
bbaf7b2884
segmented bar: Add states for when cursor is at beginning and end
...
... so we can style the cursor accordingly
2022-06-27 13:31:17 +02:00
Peter Hartmann
879b4144b1
Merge branch 'uwerat-master' into material-theme
2022-06-27 10:35:49 +02:00
Uwe Rathmann
061cdb0a07
minor improvements of the push button layout
2022-06-18 11:32:48 +02:00
Peter Hartmann
c465676642
segmented bar: Add separator subcontrol
2022-06-17 12:49:27 +02:00
Peter Hartmann
8036d8ee69
Merge branch 'uwerat-master' into material-theme
2022-06-17 09:37:32 +02:00
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
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
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
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
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
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
c291cde259
includes fixed
2022-06-01 16:51:11 +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
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
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
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
1f0ad384ac
dropping support for Qt < 5.15
2022-04-16 16:29:58 +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
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
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
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
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
511c6ddcd3
try to convert if start/end values have different types
2022-03-29 11:15:08 +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
1eae47aefa
tracking states of the aspects in a QskSkinHintTable
2022-03-28 21:28:56 +02:00
Uwe Rathmann
5dae58fc44
making code slightly more readable
2022-03-28 20:17:56 +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
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
828986de2e
bad return statements fixed
2022-03-24 17:10:11 +01:00
Uwe Rathmann
a8b176aa71
QskSkinTransition pimpled
2022-03-24 11:17:03 +01:00
Uwe Rathmann
d285b7e85c
Q_DISABLE_COPY added
2022-03-24 11:12:45 +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
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
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
24e8c28d9e
unused code removed
2022-03-24 07:59:02 +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
bc3ef26584
include guards formalized
2022-03-20 13:11:34 +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
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
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
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
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
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
1bac9f37c3
forgotten declarations removed
2022-01-07 13:55:30 +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
84edabe8e3
code simplified
2022-01-04 13:47:40 +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
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
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
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
0b5b622d1a
minor improvements
2021-12-22 10:55:48 +01:00
Uwe Rathmann
c3dc970a94
QskLayoutHint renamed to QskLayoutMetrics
2021-12-15 08:45:29 +01:00
Uwe Rathmann
738de14d4c
hiding the devicePixelRato scaling in the nodes
2021-12-13 16:43:34 +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
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
ef38b069e6
layout issue fixed, update of the clipNode fixed
2021-11-26 14:12:42 +01: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