Uwe Rathmann
d4e746e7c5
elliposid != ellipse
2023-02-03 10:46:08 +01:00
Uwe Rathmann
1c4bcffc3f
aspectRatioMode replaced by scalingMode
2023-02-03 10:38:17 +01:00
Uwe Rathmann
e7c2cd0eba
QskBoxShapeMetrics::toAbsolute reverted for the moment as the scaling of the buttons
...
is broken now. Only a temporary workaround as the other implementation
was actually correct
2023-02-02 18:44:08 +01:00
Uwe Rathmann
f78416fc63
QskLinearDirection::valueAt fixed
2023-01-24 20:26:23 +01:00
Uwe Rathmann
c384fd608d
QskLinearDirection::valueAt added
2023-01-24 19:40:41 +01:00
Uwe Rathmann
ad09186229
QskGradientDirection::contais added
2023-01-23 10:59:34 +01:00
Uwe Rathmann
fff0389262
wrong aspect ratio scaling fixed
2023-01-23 10:59:01 +01:00
Uwe Rathmann
4038f52cdf
inverted gradient vectors for horizontal/vertical gradients supported
2023-01-10 12:17:56 +01:00
Uwe Rathmann
9afabe0e92
using Q_NAMESPACE_EXPORT
2023-01-09 15:19:39 +01:00
Uwe Rathmann
3ce2cea547
QLineF added for linear gradients
2022-12-28 19:23:42 +01:00
Uwe Rathmann
d9eacd9eb3
setDirection fixed
2022-12-24 12:22:07 +01:00
Uwe Rathmann
76c8e41fcc
radiusX/radiusY to allow ellipsoid and circular radial gradients
2022-12-23 14:57:46 +01:00
Uwe Rathmann
82cb6e6811
QskGradient::effectiveGradient added
2022-12-22 20:13:45 +01:00
Uwe Rathmann
6ce73136ce
reducing the memory used for QskGradient
2022-12-22 17:50:19 +01:00
Uwe Rathmann
83556493d4
hash function fixed
2022-12-22 13:04:58 +01:00
Uwe Rathmann
e551906849
QskGradient::StretchMode introduced
2022-12-22 12:38:44 +01:00
Uwe Rathmann
3de71d1bd5
QskGradient::Spread -> QskGradient::SpreadMode
2022-12-22 11:45:23 +01:00
Uwe Rathmann
b98791c421
using QTransform
2022-12-21 13:26:23 +01:00
Uwe Rathmann
4ec304fe91
QGradient replaces when adding a stop at the same position, instaed of
...
appending it - like how it is with CSS or Qsk. As a workaround we
increase the positon by a small epsilon.
2022-12-20 15:49:09 +01:00
Uwe Rathmann
03d2dad7ca
setting QGradient::CoordinateMode when converting into a QGradient
2022-12-20 15:47:26 +01:00
Uwe Rathmann
c66c61de0c
missing default seed value added
2022-12-20 15:42:36 +01:00
Uwe Rathmann
af1f5b8757
QGradint converters fixed
2022-12-09 11:23:32 +01:00
Uwe Rathmann
35a0d63b5a
code specific for Qt < 5.15 removed
2022-12-05 07:51:41 +01:00
Uwe Rathmann
2446bf34c5
bad index fixed
2022-12-04 21:11:36 +01:00
Uwe Rathmann
ad8cfbb694
QskBoxBorderMetrics::adjustedRect added
2022-12-04 19:50:54 +01:00
Uwe Rathmann
9ed4aafff5
Qt5 compiler error fixed
2022-12-01 13:45:32 +01:00
Uwe Rathmann
ec0d21fb0c
QskGradient <-> QGradient converter added
2022-12-01 13:03:57 +01:00
Uwe Rathmann
0925b40b7a
QGradient::Spread -> QskGradient::Spread
2022-12-01 12:03:36 +01:00
Uwe Rathmann
abf325dbde
QJSValue converter for QskGradient added to be compatible with new Qt
...
6.5 features
2022-11-30 17:05:37 +01:00
Uwe Rathmann
bbfc16c609
improving Qml support or QskGradient
2022-11-29 10:59:09 +01:00
Uwe Rathmann
b52e54bb7e
return invalid directions, when requeting with the wrong type
2022-11-24 07:58:47 +01:00
Uwe Rathmann
ea8f426d67
QML registration using templates instead of macros. lower/uppercase
...
definitions for gadgets solved ( defining then twice to have the enums
with uppercase prefix )
2022-11-20 15:36:30 +01:00
Uwe Rathmann
2aaaa4ecb1
QskSizePolicy property names shortened
2022-11-20 15:27:08 +01:00
Uwe Rathmann
b96b1acd20
missing boilerplate definitions added
2022-11-18 18:47:35 +01:00
Uwe Rathmann
c5ace32bf2
QskAspect::Control renamed to QskAspect::NoSubcontrol
2022-11-18 12:29:58 +01:00
Uwe Rathmann
19f01c0232
debug operator simplified
2022-11-18 12:15:20 +01:00
Uwe Rathmann
116b835906
metatype registrations moved to class implementations
2022-11-18 09:44:11 +01:00
Uwe Rathmann
5356f0ce88
Q_INVOKABLE for READ/WRITE property accessors removed. do not make sense
...
and lead to assertions, when Qt has been built in debug mode
2022-11-18 09:12:13 +01:00
Uwe Rathmann
d327a68fc1
missing setStops versions added
2022-11-16 16:19:19 +01:00
Uwe Rathmann
615e0016c2
working more with RGBA values instead of QColor
2022-11-16 13:46:37 +01:00
Uwe Rathmann
31577cab9b
pointless reset operations removed
2022-11-16 13:25:17 +01:00
Uwe Rathmann
688c7881b2
missing setter for Qt::GlobalColor added
2022-11-14 09:00:02 +01:00
Uwe Rathmann
33bb68d903
more APIs for working with QRgb
2022-11-14 08:56:30 +01:00
Uwe Rathmann
b140d1b30a
QskGradientDirection introduced - no more classes derived from
...
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann
0fb4b25bba
making QskGradient types acessible for QML ( mot 100% happy with using
...
lists )
2022-11-13 10:09:18 +01:00
Uwe Rathmann
f988805f95
DefaultProperty added
2022-11-04 17:16:38 +01:00
Uwe Rathmann
b64f92e695
properties changed
2022-11-04 17:16:12 +01:00
Uwe Rathmann
fe8e696f40
debug operator fixed
2022-10-31 17:35:47 +01:00
Uwe Rathmann
4c73c1fd7b
QskBoxBorderColors interpolation fixed
2022-10-31 17:35:13 +01:00
Uwe Rathmann
ad67d035f3
new QskGradient
2022-10-31 14:42:08 +01:00
Uwe Rathmann
38bc3286cd
QskGradient improved ( linear/radial/conic gradients )
2022-10-31 14:22:20 +01:00
Uwe Rathmann
506dd4f60c
working towards introducing new type of gradients
2022-10-25 18:17:21 +02:00
Uwe Rathmann
5712873f21
missing Q_ENUM added
2022-10-25 11:02:10 +02:00
Uwe Rathmann
e67b0b385a
allowing gradient stops that do not start/end with 0.0/1.0 ( like
...
QGradient )
2022-10-24 17:29:39 +02:00
Uwe Rathmann
1f28eec9de
working towards improved QskGradient
2022-10-24 17:08:48 +02:00
Uwe Rathmann
03ce740b29
towards improved QskGradient
2022-10-24 16:40:47 +02:00
Uwe Rathmann
99132276fc
first adjustments for QskGradient improvements
2022-10-24 16:02:46 +02:00
Uwe Rathmann
d3f9e97301
unused private methods removed
2022-10-20 10:22:13 +02:00
Uwe Rathmann
d5ba7d9504
QskGradient::qtStops added
2022-10-20 09:22:11 +02:00
Uwe Rathmann
b6032f007c
wrong check fixed
2022-10-15 13:24:58 +02:00
Uwe Rathmann
929c02fa0e
colorTable generation added
2022-10-13 19:39:24 +02:00
Uwe Rathmann
8da486a13f
QskGradientStops moved from QskGradient.h to QskGradientStop.h
2022-10-13 19:37:49 +02:00
Uwe Rathmann
7ca1e2f261
uncrustified
2022-09-13 12:22:20 +02:00
Uwe Rathmann
896145ac11
QskTextOptions as skin hints
2022-08-25 09:39:33 +02:00
Uwe Rathmann
6c778c4b07
qskAlignedRect overloads
2022-07-28 16:51:20 +02:00
Uwe Rathmann
c67a594d07
whitespaces removed
2022-07-28 16:50:55 +02:00
Uwe Rathmann
62fcbc6c32
QskAspect::Section introduced
2022-06-29 16:15:38 +02:00
Uwe Rathmann
d403af14ba
making QskHctColor a class, tone calculation from rgb added
2022-06-27 12:54:13 +02:00
Uwe Rathmann
d3c320bb9a
Q_DECL_UNUSED removed, seems to cause problems on Macs
2022-06-26 14:33:39 +02:00
Uwe Rathmann
e8f52c03cc
hacks for exposing definitions to QML are not needed anymore
2022-06-25 16:52:24 +02:00
Uwe Rathmann
e787b15d35
wip
2022-06-25 16:38:42 +02:00
Uwe Rathmann
6c7ba0489c
M(aterial)2 related code replaced
2022-06-25 16:14:08 +02:00
Uwe Rathmann
98368d42ac
typos fixed
2022-06-25 16:10:00 +02:00
Uwe Rathmann
501a3ae07e
RGB converter for the HCT color system introduced
2022-06-24 17:19:04 +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
1e675e5b8c
compare operators fixed, extra methods for offsetX/Y
2022-06-14 11:49:50 +02:00
Uwe Rathmann
1339a5f4cb
shadows added to the box model
2022-06-13 17:01:15 +02:00
Uwe Rathmann
da21b95eb3
isNull added
2022-06-13 13:09:08 +02:00
Uwe Rathmann
f03007e7b8
QskShadowMetrics added to QskSkinHintTableEditor
2022-06-13 08:43:28 +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
019a6899db
avoid conflicts with RGB from wingdi.h
2022-04-22 08:21:20 +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
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
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
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
21ad84e291
Qsk::Visibility added
2022-04-08 15:37:32 +02:00
Uwe Rathmann
ff316ce1ed
Q_DECLARE_TYPEINFO fixed
2022-04-03 16:31:34 +02:00
Uwe Rathmann
01afcd8557
using c++11
2022-04-01 14:41:56 +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
848a22b2a2
interpolation between monochrome gradients improved
2022-03-29 11:14:23 +02:00
Uwe Rathmann
81e2ea2920
qHash added
2022-03-29 08:08:06 +02:00
Uwe Rathmann
a38a4a101e
more State operators
2022-03-28 20:33:42 +02:00