Commit Graph

1850 Commits

Author SHA1 Message Date
Uwe Rathmann 57feb5aae3 QskShadowMetrics added to QskSkinHintTableEditor 2022-06-13 08:43:28 +02:00
Peter Hartmann 413e9f0853 small fix for switch 2022-06-08 11:50:43 +02:00
Peter Hartmann 24bff6d64d button: Add more states to cover different button types 2022-06-08 11:48:29 +02:00
Peter Hartmann fe064cdbe4 Revert "Material skin: Allow setting a different palette"
This reverts commit 421db106da.

We cannot easily change this on the fly anyhow.
2022-06-07 16:21:04 +02:00
Peter Hartmann 5df51f4133 Material skin: Allow setting a different palette 2022-06-07 14:03:06 +02:00
Peter Hartmann f1f7dae7e1 Material: set up fonts 2022-06-07 12:58:50 +02:00
Peter Hartmann adf44674b6 Material: More skin hints 2022-06-07 12:14:50 +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 5a061dd89f Gallery: Use raster for textures 2022-06-07 11:18:11 +02:00
Peter Hartmann a01e03622a Merge remote-tracking branch 'origin/master' into material-theme 2022-06-07 11:09:38 +02:00
Peter Hartmann 4c4ab1d865 Material: Set values according to new palette 2022-06-07 11:09:25 +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
Peter Hartmann b29672ecbd CI: Use the native backends on Windows also for Qt 6 (#194)
Resolves #164
2022-06-06 07:06:07 +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
Uwe Rathmann 0f6b3b0208 pointless fil removed 2022-06-03 16:56:09 +02:00
Peter Hartmann 59d7ba075d fixup Material: Move palette generation around 2022-06-03 10:23:02 +02:00
Peter Hartmann ad247b15c2 fixup? Material: Use predefined palettes in skin 2022-06-03 09:52:22 +02:00
Peter Hartmann 1daf1382db Material: Use predefined palettes
At some later point we might want to make the palettes settable,
so the user can define his own palettes.
2022-06-03 09:11:29 +02:00
Peter Hartmann 595c7ec5f2 fixup 2022-06-02 18:25:35 +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
Peter Hartmann 076b646eb0 Merge branch 'uwerat-master' into material-theme 2022-05-31 15:15:12 +02:00
Uwe Rathmann b14d81b3b3 iotdashboard enabled for Qt6 ( BoxShadowNode #ifdef'd for the moment ) 2022-05-30 20:03:56 +02:00
Uwe Rathmann 6bff4fd91c memory leak fixed 2022-05-30 17:17:47 +02:00
Uwe Rathmann 8f19a900e4 memory leak fixed 2022-05-30 17:15:52 +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 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 83ed2b94a6 nothing useful, but fixes compiler error 2022-05-02 16:43:50 +02:00
Uwe Rathmann 2ee865614c Merge branch 'master' into material-theme 2022-05-02 16:27:16 +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