Commit Graph

1325 Commits

Author SHA1 Message Date
Peter Hartmann f45cae27a3 Merge branch 'uwerat-master' into material-theme 2022-06-17 09:37:32 +02:00
Peter Hartmann 174397e48e segmented bar: Respect padding hint for graphic 2022-06-17 09:37:04 +02:00
Peter Hartmann 04b3167df3 segmented bar: Use QskAspect for the orientation
... to be able to style properly.
2022-06-17 09:37:04 +02:00
Peter Hartmann c4b1fd7916 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 e17ed9ee3e 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 7edfb41f22 only clip at the top border 2022-06-17 09:24:58 +02:00
Peter Hartmann afa63bce5b Merge branch 'uwerat-master' into material-theme 2022-06-15 14:37:49 +02:00
Uwe Rathmann c374688b28 missing Metric bit for spacings added 2022-06-15 11:38:07 +02:00
Uwe Rathmann 62ea3b67a9 Merge branch 'master' of https://github.com/uwerat/qskinny 2022-06-15 11:00:44 +02:00
Uwe Rathmann ffd02c6f5c being more careful with setting the dirty bits of a QskBoxShadowNode 2022-06-15 10:59:39 +02:00
Peter Hartmann 5213a9fd0e Merge branch 'uwerat-master' into material-theme 2022-06-15 10:58:56 +02:00
Peter Hartmann 33d601befd Revert "QskPushButton: respect the graphics alignment"
This reverts commit 3c69498026.
2022-06-15 10:57:36 +02:00
Peter Hartmann be360c729c 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 b8502524ff missing color update added 2022-06-14 12:03:33 +02:00
Uwe Rathmann 2b2da9dac2 compare operators fixed, extra methods for offsetX/Y 2022-06-14 11:49:50 +02:00
Peter Hartmann 1d586d2791 Merge branch 'uwerat-master' into material-theme 2022-06-14 09:28:52 +02:00
Uwe Rathmann e1ebc06f09 Merge branch 'master' of https://github.com/uwerat/qskinny 2022-06-13 20:35:02 +02:00
Uwe Rathmann 5a2dcfedfc lost workaround forsituations, where multisampling gets lost, fixed 2022-06-13 20:34:12 +02:00
Peter Hartmann a44c3a1e4e 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 bde5d8f59f Merge branch 'uwerat-master' into material-theme 2022-06-13 17:12:25 +02:00
Uwe Rathmann 3a22880778 shadows added to the box model 2022-06-13 17:01:15 +02:00
Peter Hartmann 1bcb6a18aa 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 1ae1b76dd5 Merge branch 'uwerat-master' into material-theme 2022-06-13 14:40:06 +02:00
Uwe Rathmann 6b04e8d3ea setter/getter for shadow hints 2022-06-13 13:10:45 +02:00
Uwe Rathmann ee2b5e891f removeChildNode added 2022-06-13 13:09:49 +02:00
Uwe Rathmann 4920c66640 isNull added 2022-06-13 13:09:08 +02:00
Peter Hartmann 3f65bfb68e Merge branch 'uwerat-master' into material-theme 2022-06-13 09:50:27 +02:00
Uwe Rathmann 57feb5aae3 QskShadowMetrics added to QskSkinHintTableEditor 2022-06-13 08:43:28 +02:00
Peter Hartmann 24bff6d64d button: Add more states to cover different button types 2022-06-08 11:48:29 +02:00
Peter Hartmann 769e88d1d5 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 a01e03622a Merge remote-tracking branch 'origin/master' into material-theme 2022-06-07 11:09:38 +02:00
Peter Hartmann c2bc787087 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
Uwe Rathmann a145bd9207 QskBoxShadowNode introduced ( from playground/shadows )
- shader code migrated from glsl to vulkan-glsl
   - #ifdef "Geschnetzel" introduced to support old and rhi graphic APIs
   - iotdashboard, shadows examples adjusted
2022-06-04 17:56:14 +02:00
Peter Hartmann 0497382b57 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
Peter Hartmann 0299217762 Material: Switch palettes to Material 3
Also, remove the old Material 2 palettes, since the weights etc.
changed.
2022-06-02 18:25:12 +02:00
Uwe Rathmann 8a8d6639fc Qt5 compiler error fixed 2022-06-02 16:15:25 +02:00
Uwe Rathmann 4124985f7d bye, bye QskTextureNode 2022-06-02 16:09:49 +02:00
Uwe Rathmann 9af48dfba0 default graphic pipeline without native OpenGL calls.
code is QRHI compiant now
2022-06-02 16:02:42 +02:00
Uwe Rathmann 5dd6d0b747 typo fixed 2022-06-01 18:29:05 +02:00
Uwe Rathmann 4cb9f84c0a mirroring added 2022-06-01 18:27:05 +02:00
Uwe Rathmann 1d4a624700 QFrameBufferObject::takeTexture also leaks with Qt 5.15 2022-06-01 17:50:16 +02:00
Uwe Rathmann fa611251f3 fixed fot Qt5 2022-06-01 17:41:33 +02:00
Uwe Rathmann ab721c7b3c raster rendering does not solve the problems with the experimantel RHI
state in Qt5 ( no problems with Qt6 RHI and Qt5 without RHI )
2022-06-01 17:04:37 +02:00
Uwe Rathmann 294081c700 QskPaintedNode improved 2022-06-01 16:57:57 +02:00
Uwe Rathmann 7237ad65c9 includes fixed 2022-06-01 16:51:11 +02:00
Uwe Rathmann fc88e450ed QskPaintedNode reimplemented to work with RHI and software renderer
Code will be moved in parts to QskTextureRenderer to do something
similar with QskTextureNode.
2022-05-31 17:56:49 +02:00
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 3aed2368fa deprecation warnings fixed 2022-05-02 16:51:24 +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