Peter Hartmann
f4cf4a9ff4
segmented bar: Respect padding hint for graphic
2022-06-17 09:33:02 +02:00
Peter Hartmann
63a6ff2849
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:22:13 +02:00
Peter Hartmann
e67bce17e4
segmented bar: Add states for when cursor is at beginning and end
...
... so we can style the cursor accordingly
2022-06-17 09:22:13 +02:00
Uwe Rathmann
54616a5781
missing Metric bit for spacings added
2022-06-15 11:38:07 +02:00
Uwe Rathmann
9fbcedfc2c
Merge branch 'master' of https://github.com/uwerat/qskinny
2022-06-15 11:00:44 +02:00
Uwe Rathmann
824325eccf
being more careful with setting the dirty bits of a QskBoxShadowNode
2022-06-15 10:59:39 +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
49bc726376
missing color update added
2022-06-14 12:03:33 +02:00
Uwe Rathmann
1e675e5b8c
compare operators fixed, extra methods for offsetX/Y
2022-06-14 11:49:50 +02:00
Uwe Rathmann
e554a125b2
Merge branch 'master' of https://github.com/uwerat/qskinny
2022-06-13 20:35:02 +02:00
Uwe Rathmann
2a2894a63f
lost workaround forsituations, where multisampling gets lost, fixed
2022-06-13 20:34:12 +02:00
Peter Hartmann
264d53cb39
QskMenu: Respect graphic padding ( #196 )
...
We need some padding for e.g. the Material 3 style.
2022-06-13 17:18:47 +02:00
Uwe Rathmann
1339a5f4cb
shadows added to the box model
2022-06-13 17:01:15 +02:00
Uwe Rathmann
1e1cf34829
setter/getter for shadow hints
2022-06-13 13:10:45 +02:00
Uwe Rathmann
ff76f1ecfa
removeChildNode added
2022-06-13 13:09:49 +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
167965e12c
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
0ed9afe2b4
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
Uwe Rathmann
a66d4645e8
Qt5 compiler error fixed
2022-06-02 16:15:25 +02:00
Uwe Rathmann
c3c0b2cd33
bye, bye QskTextureNode
2022-06-02 16:09:49 +02:00
Uwe Rathmann
54b55c0324
default graphic pipeline without native OpenGL calls.
...
code is QRHI compiant now
2022-06-02 16:02:42 +02:00
Uwe Rathmann
5dc4200cdc
typo fixed
2022-06-01 18:29:05 +02:00
Uwe Rathmann
a35cc9936a
mirroring added
2022-06-01 18:27:05 +02:00
Uwe Rathmann
86e438a0ed
QFrameBufferObject::takeTexture also leaks with Qt 5.15
2022-06-01 17:50:16 +02:00
Uwe Rathmann
5ab536f0e3
fixed fot Qt5
2022-06-01 17:41:33 +02:00
Uwe Rathmann
86658ee2dc
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
e1a58f84ee
QskPaintedNode improved
2022-06-01 16:57:57 +02:00
Uwe Rathmann
c291cde259
includes fixed
2022-06-01 16:51:11 +02:00
Uwe Rathmann
c64d386477
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
8593a5cf2e
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
dae4ee02d5
deprecation warnings fixed
2022-05-02 16:51:24 +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
9f706beab1
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
bce7d6e1dc
unused lambda capture removed
2022-04-22 08:39:01 +02:00
Uwe Rathmann
019a6899db
avoid conflicts with RGB from wingdi.h
2022-04-22 08:21:20 +02:00
Uwe Rathmann
8e0008cf59
Merge branch 'master' of https://github.com/uwerat/qskinny
2022-04-22 08:13:44 +02:00
Uwe Rathmann
8680423c33
avoid warnings about narrowing size_t to int
2022-04-22 08:13:19 +02:00
Uwe Rathmann
4e0d1197da
handling of devicePixelratio for pixmaps fixed
2022-04-21 13:08:50 +02:00
Uwe Rathmann
12a3dd06da
boilerplate code to have QskSegmentedBar in the gallery.
2022-04-20 15:25:15 +02:00
Uwe Rathmann
8f04d21739
formal adjustments
2022-04-20 14:20:41 +02:00
Uwe Rathmann
50ee82fbaa
QskSegmentedBar ( inspired by the IOS segmented control ) added
2022-04-20 14:14:37 +02:00
Uwe Rathmann
e689575510
suing QskMenu::Segement instead of Qskmenu::Cell to be in line with other
...
controls
2022-04-20 13:58:53 +02:00
Uwe Rathmann
22060f6aaf
missing moc include
2022-04-20 13:54:27 +02:00
Uwe Rathmann
d011d5d1ea
all node role enums should have RoleCount
2022-04-20 13:50:14 +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
e514b659e8
resetPlacementPolicy added
2022-04-16 20:38:50 +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