Commit Graph

1850 Commits

Author SHA1 Message Date
Uwe Rathmann 73e35090a2 Merge branch 'master' of https://github.com/uwerat/qskinny 2022-04-22 08:13:44 +02:00
Uwe Rathmann 9e79657a78 avoid warnings about narrowing size_t to int 2022-04-22 08:13:19 +02:00
Uwe Rathmann 0f8cee3376 avoid qmake warning 2022-04-22 07:44:32 +02:00
Peter Hartmann cbe211b3f8 CI: Add smoke testing (#186) 2022-04-22 07:31:49 +02:00
Uwe Rathmann b13f15823c handling of devicePixelratio for pixmaps fixed 2022-04-21 13:08:50 +02:00
Uwe Rathmann 33841c9004 compiler erors fixed 2022-04-20 15:32:14 +02:00
Uwe Rathmann 5fa323cb3f boilerplate code to have QskSegmentedBar in the gallery. 2022-04-20 15:25:15 +02:00
Uwe Rathmann 2444e95f93 formal adjustments 2022-04-20 14:20:41 +02:00
Uwe Rathmann 410a00e89b QskSegmentedBar ( inspired by the IOS segmented control ) added 2022-04-20 14:14:37 +02:00
Uwe Rathmann 11d9314a81 Merge branch 'master' of https://github.com/uwerat/qskinny 2022-04-20 13:59:51 +02:00
Uwe Rathmann 29421138ab suing QskMenu::Segement instead of Qskmenu::Cell to be in line with other
controls
2022-04-20 13:58:53 +02:00
Uwe Rathmann e38c2451e0 missing moc include 2022-04-20 13:54:27 +02:00
Uwe Rathmann 06c9c267a9 passsing parent fixed 2022-04-20 13:51:37 +02:00
Uwe Rathmann eb5eb60216 all node role enums should have RoleCount 2022-04-20 13:50:14 +02:00
Peter Hartmann 78aadde625 CI system: Add builds for Qt LTS (6.2) and the current Qt version (6.3) (#184)
* CI system: Add Windows version to output

* CI system: Also build for Qt LTS version (currently 6.2)

* CI system: Also build for current Qt version (currently 6.3)

Resolves #180
2022-04-19 16:07:37 +02:00
Uwe Rathmann 1b412fd2c4 textinput page added 2022-04-19 08:42:53 +02:00
Uwe Rathmann 604663f8c9 tags added 2022-04-19 08:42:17 +02:00
Uwe Rathmann 357dd9b68c Qsk::Position removed ( Qt::Edge is good enough ) 2022-04-17 13:19:33 +02:00
Uwe Rathmann e0f7397eb7 using Qt::Edge instead of Qsk::Position 2022-04-17 12:37:13 +02:00
Uwe Rathmann d571184e9e inverted as bool instead of Qsk::Position 2022-04-17 12:25:51 +02:00
Uwe Rathmann 905d2485f3 resetPlacementPolicy added 2022-04-16 20:38:50 +02:00
Uwe Rathmann 894491fda8 moc include added 2022-04-16 20:38:06 +02:00
Uwe Rathmann 6ae80d7088 no font initialization for QCoreApplication examples 2022-04-16 17:19:25 +02:00
Uwe Rathmann b12925d171 pre Qt 5.15 code removed 2022-04-16 17:02:53 +02:00
Uwe Rathmann 099890543b dropping support for Qt < 5.15 2022-04-16 16:29:58 +02:00
Uwe Rathmann b64084a561 using left/top/right/bottom 2022-04-16 16:01:40 +02:00
Uwe Rathmann 729b39ee13 obsolete comment removed 2022-04-16 16:00:19 +02:00
Uwe Rathmann 812a547531 Merge branch 'master' into material-theme 2022-04-16 12:27:25 +02:00
Uwe Rathmann 870cfbd27d heuristic for initializing the cascading property moved from skin to
QskMenu
2022-04-16 12:25:39 +02:00
Uwe Rathmann 95a88a7cdb compiler error fixed 2022-04-16 11:32:51 +02:00
Uwe Rathmann 7289aad7d0 doxygen texts 2022-04-15 13:22:58 +02:00
Uwe Rathmann 0a6a3e6c5e placementPolicy as property 2022-04-15 13:19:52 +02:00
Uwe Rathmann de52ea70d4 updated from Doxygen 1.9.3 ( using doxygen -u ) 2022-04-15 13:13:58 +02:00
Uwe Rathmann 9c8c588245 using QMetaObject instead of QTimer for delayed calls 2022-04-14 08:26:49 +02:00
Peter Hartmann decb8c2898 CI: Add MacOS build (#178) 2022-04-13 21:07:00 +02:00
Peter Hartmann 5e8fa249a4 website: Add README on how to recreate the website (#179)
Resolves #171
2022-04-13 21:06:24 +02:00
Peter Hartmann 1e27ce19ce CI: Use jom to parallelize the build (#177)
... and use powershell after all
2022-04-13 12:40:19 +02:00
Peter Hartmann 94a186b553 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
Peter Hartmann 1525228625 github build action for Linux and Windows (#175)
* initial github build action

* Github actions: Install Qt 5.15

... We use a specific Github Action for this, since the current Qt
version shipping with Ubuntu is too old.

* Github Action: Cache Qt installation

* Github Action: Build on Linux and Windows

Co-authored-by: Richard Spindler <oracle@propirate.net>
2022-04-13 07:23:36 +02:00
Uwe Rathmann ec9edb83a3 Skinny::init added 2022-04-12 14:13:59 +02:00
Uwe Rathmann 0ff98f9532 avoid crash with vnc plugin 2022-04-11 12:05:00 +02:00
Uwe Rathmann b6c8363eeb some adjustments for the software renderer 2022-04-11 11:13:47 +02:00
Uwe Rathmann 0176f356f1 QQuickImagePrivate can be used now 2022-04-11 10:12:33 +02:00
Uwe Rathmann e747b59514 respecting the graphicsApi 2022-04-11 10:11:57 +02:00
Uwe Rathmann bd5eb47439 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 fa48146048 forgotten file added 2022-04-10 14:04:02 +02:00
Uwe Rathmann bd9297a2bb QskPlacementPolicy.dox added 2022-04-08 18:00:10 +02:00
Uwe Rathmann 8b362edb29 QskPlacementPolicy introduced 2022-04-08 16:46:20 +02:00
Uwe Rathmann d12bfe014b beautified 2022-04-08 15:37:55 +02:00
Uwe Rathmann eca1ada982 Qsk::Visibility added 2022-04-08 15:37:32 +02:00