Commit Graph

1640 Commits

Author SHA1 Message Date
Uwe Rathmann cecc412128 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 1765b1df42 quit menu option added 2022-05-30 07:49:58 +02:00
Peter Hartmann 51c5082ef4 IOT dashboard: Use SVGs instead of PNGs (#191)
Resolves #129
2022-05-18 13:45:09 +02:00
Peter Hartmann 2e18d5e7ac CI: Use OpenGL backend on Windows (#190)
We currently don't support the D3D11 backend, since we rely on
OpenGL functionality when rendering textures, see e.g.
qskCreateTextureRaster().
2022-05-04 08:49:39 +02:00
Peter Hartmann 2fb91bc667 CI: Also give Windows apps a start size (#189)
Apparently they need that just like on MacOS
2022-05-03 09:15:09 +02:00
Uwe Rathmann ba8e813b68 deprecation warning fixed 2022-05-02 16:58:03 +02:00
Uwe Rathmann 3aed2368fa deprecation warnings fixed 2022-05-02 16:51:24 +02:00
Uwe Rathmann 38fdc102de compiler warning fixed 2022-05-02 16:26:13 +02:00
Peter Hartmann 7889f53a02 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 d8518e1d6c 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 0354121199 unused lambda capture removed 2022-04-22 08:39:01 +02:00
Uwe Rathmann 293499db23 avoid conflicts with RGB from wingdi.h 2022-04-22 08:21:20 +02:00
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 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