286 Commits

Author SHA1 Message Date
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