Commit Graph

1973 Commits

Author SHA1 Message Date
Uwe Rathmann bc066c8103 QskArcRenderer using the normal vector of the tangents for expanding
the arc to the desired thickness. This matches the result of what
QPainter::drawArc does. However our implementation is much
simpler as we do not convert the arc into a sequence of
bezier curves finally running into code that has to deal with
random QPainterPath element lists.
2024-05-30 19:06:02 +02:00
Uwe Rathmann a327084c3f QskArcMetrics::isProprtional added 2024-05-21 17:19:24 +02:00
Uwe Rathmann 16c9ea2161 Squashed commit of the following:
commit 319abafb0d
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue May 21 16:08:40 2024 +0200

    bad shadowColor check fixed
2024-05-21 17:00:13 +02:00
Uwe Rathmann aba7656d2a proportional arc thickness - like what the Qt rendering classes do 2024-05-15 09:27:52 +02:00
Uwe Rathmann f6845c709c QskArcRenderer - work in progress, QskArcRenderNode added 2024-05-14 17:03:03 +02:00
Uwe Rathmann 49e1d54724 QskArcRenderer started with some boilerplate code 2024-04-24 11:25:06 +02:00
Uwe Rathmann e8db2581f4 popup origin chenged to bottomLeft 2024-04-22 11:39:04 +02:00
Uwe Rathmann c78c0f03a1 QskGraphic::defaultSize replaced by QskGraphic::viewBox. svg2qvg uses
the viewBox of the SVG document to initialize the viewBox of the
graphic. Avoids scaling problems with the symbols of the skins, that
often rely on having a viewBox.
2024-04-17 14:46:29 +02:00
Uwe Rathmann 15118cfe07 version number increased to: QDataStream::Qt_5_15 2024-04-11 09:21:14 +02:00
Uwe Rathmann 3f77b01737 enable QskItem::PreferRasterForTextures as default setting.
using QSK_PREFER_FBO_PAINTING instead of QSK_PREFER_RASTER
2024-04-09 08:28:29 +02:00
Uwe Rathmann fb7ab1e1e4 spinbox for material3 more like what Qt does 2024-02-27 14:14:17 +01:00
Uwe Rathmann 7f8bc6caef wrong constexpr removed 2024-02-27 07:56:52 +01:00
Uwe Rathmann 82bd6f1420 QskSpinBox text alignment fixed 2024-02-26 17:58:49 +01:00
Aldo Nicolas Bruno f614117d96 Q_PROPERTY USER true 2024-02-25 09:04:58 +01:00
Uwe Rathmann d0a888ab74 smooth transition of font sizes added 2024-02-23 13:46:23 +01:00
Uwe Rathmann d2d0382ca8 Minimum/Maximum states removed 2024-02-22 10:05:10 +01:00
Uwe Rathmann d0dd2ac93b the emphasis might also have an impact on the sizeHints 2024-02-22 09:37:17 +01:00
Peter Hartmann 7901157b2f push button: Update after setting the emphasis
Otherwise we won't re-read the possibly new skin hints
2024-02-22 09:34:39 +01:00
Uwe Rathmann 9ad8ca3cc9 QskBoxBorderColors is invalid when one of the gradients is invalid 2024-02-22 09:19:00 +01:00
Uwe Rathmann 03ede1a0e6 1px: 1/96th of an inch 2024-02-21 13:48:46 +01:00
Uwe Rathmann 8fd8034d2a Qt5 incompatibility fixed 2024-02-20 13:31:53 +01:00
Uwe Rathmann f3b4a3d8da QskFontRole introduced 2024-02-19 15:51:55 +01:00
Uwe Rathmann d8dd07d305 combo box improved 2024-02-17 13:24:14 +01:00
Uwe Rathmann 49dda7ec04 QskSkinnable::effectiveFont accepts QFont ( beside font roles ). This
allows to assign individual fonts in application code without having to
define font roles
2024-02-09 09:11:41 +01:00
Uwe Rathmann 5bc2f504cf QskDialogSubWindow configurable from skin hints 2024-02-08 13:38:21 +01:00
Uwe Rathmann c96b3dbbff additional infoText removed from
QskSelectionSubWindow/QskSelectionWindow.
not sure if will keep those classes in the long run
2024-02-08 12:39:27 +01:00
Uwe Rathmann 36fab6a9c2 QskItem::polishOnParentResize flag introduced 2024-02-08 11:33:42 +01:00
Uwe Rathmann fc1ed926e6 QskInputGrabber is not exported 2024-02-07 09:32:56 +01:00
Uwe Rathmann 955d2f6c20 reducing the dialogs from what was once inspired from Qt/Widgets to
something simpler - inspired from QC2 dialogs - work i progress
2024-02-06 15:41:50 +01:00
Uwe Rathmann 69f42d8214 using Q_GLOBAL_STATIC 2024-02-02 15:27:23 +01:00
Uwe Rathmann 2585385e28 QskSetup is a namespace now 2024-02-02 15:01:43 +01:00
Uwe Rathmann 995736ef83 global graphic provider map moved from QskSetup.cpp to QskGraphicProvider.cpp 2024-02-02 14:55:41 +01:00
Uwe Rathmann 4862b2b467 QskQuickItem shortened to QskItem 2024-02-02 14:13:33 +01:00
Uwe Rathmann 4fddc4db24 code moved from QskSetup to QskQuickItem 2024-02-02 12:38:03 +01:00
Uwe Rathmann 9d2414fd89 focusPolicy/wheelEnabled moved from QskControl to QskQuickItem 2024-02-02 09:48:26 +01:00
Uwe Rathmann ceae1fef27 pointless handling of unused QEvent::FontChange/QEvent::PaletteChange
removed
2024-02-02 09:02:12 +01:00
Uwe Rathmann 5453cac209 initial size policy set to Fixed/Fixed 2024-02-01 17:09:02 +01:00
Uwe Rathmann 0f9c86d63b handling of selection states for sampled subcontrols added 2024-02-01 17:07:50 +01:00
Uwe Rathmann 330df7308a QskSkinTransition fixed 2024-02-01 15:40:16 +01:00
Uwe Rathmann 463187d048 no need to interpolate the metrics, when the color scheme changes 2024-02-01 15:35:31 +01:00
Uwe Rathmann 9117ccce1d trigger updates on eometry changes (
https://github.com/uwerat/qskinny/issues/379 )
2024-02-01 11:24:12 +01:00
Uwe Rathmann 2e34bfd4c6 qskExtractedGradientStops fixed (
https://github.com/uwerat/qskinny/issues/374 )
2024-02-01 10:02:49 +01:00
Uwe Rathmann 59c2e8ca33 handling QStyleHints::colorSchemeChanged 2024-01-30 16:46:01 +01:00
Uwe Rathmann 5aa46b3ccc Qt::ColorScheme handling added to QskSkin - no more multiple skins for
dark/light.
2024-01-30 14:52:40 +01:00
Uwe Rathmann 3873e07765 Qt5 incompatibilities fixed 2024-01-30 14:41:38 +01:00
Uwe Rathmann 26ba120114 QskGraphicProviderMap::clear added 2024-01-30 13:32:36 +01:00
Uwe Rathmann c1fdb03563 Qt5 incompatibility fixed 2024-01-30 13:30:58 +01:00
Uwe Rathmann 9ca02d7f1c moving away from std::unordered_map towards QHash. For transitions between
color schemes we need to copy out hash tables, what is way much easier
with the COW concept of the Qt containers. Also: according to
https://tessil.github.io/2016/08/29/benchmark-hopscotch-map.html QHash
seems to be faster in the most relevant category "Random full reads: execution time (integers)"
2024-01-30 13:04:38 +01:00
Uwe Rathmann 38e00addd6 code moved from QskSetup to QskSkinManager 2024-01-30 10:43:27 +01:00
Uwe Rathmann 0aff128eec obsolete qml bindings of QskSetup removed 2024-01-30 10:09:14 +01:00