Commit Graph

2713 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 0afecc4b9e using icons from https://github.com/microsoft/fluentui-system-icons/tree/main/assets 2024-04-23 15:36:07 +02:00
Uwe Rathmann 2236e44686 wrong transformation ( from accidently removed viewBox ) in svg2qvg
fixed. qvg files recreated
2024-04-22 11:40:09 +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
Peter Hartmann 0c8dc6db00 Wasm: Initialize resources and don't shadow name
e.g. the gallery has an own resource called "icons"

Resolves #409
2024-04-10 09:41:19 +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 4284cae4d4 qt5 -> qt6 2024-03-19 11:37:07 +01:00
Peter Hartmann 692cfad948 document how to build for WebAssembly 2024-03-15 13:22:12 +01:00
Uwe Rathmann f6aa7d0c5e Merge branch 'features/spinbox' 2024-03-05 09:31:59 +01:00
Uwe Rathmann 6c138ebd39 spinBox without decoration does not make much sense until we support
ediatble boxes
2024-03-05 09:18:42 +01:00
Uwe Rathmann 09c049b523 sipin box improvements 2024-03-05 09:18:27 +01:00
Uwe Rathmann 2b629123f9 questionable shadow class removed, using QQmlPrivate::RegisterType
again. Qt5 is using public APIs only - too many #ifdefs otherwise
2024-03-05 08:27:30 +01:00
Uwe Rathmann 5ecb85c725 temporary fallback code for WebAssembly 2024-03-03 11:30:14 +01:00
Uwe Rathmann 8398fd5d29 do not export lists: see https://github.com/uwerat/qskinny/issues/399 2024-02-28 12:52:35 +01:00
Uwe Rathmann 6947d9ffca fonts.qrc split into several qrc files 2024-02-28 12:29:00 +01: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 87c16d453b inline comments updated 2024-02-22 12:07:59 +01:00
Uwe Rathmann 39620bc8f0 obsolete code removed 2024-02-22 10:11:50 +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 8e018fc702 M3 font sizes changed 2024-02-21 17:50:29 +01:00
Uwe Rathmann a49b128168 using px instead of pixels 2024-02-21 14:03:02 +01:00
Uwe Rathmann 03ede1a0e6 1px: 1/96th of an inch 2024-02-21 13:48:46 +01:00
Uwe Rathmann 5dfcbf8cfa - Segoe fonts added
- compiling all fonts into the support lib
- fontconfig hacks removed
2024-02-20 16:20:43 +01:00
Uwe Rathmann 8fd8034d2a Qt5 incompatibility fixed 2024-02-20 13:31:53 +01:00
Uwe Rathmann bb3f453c7b missing include added 2024-02-19 16:20:17 +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 52fc83ea35 no skin depending default alignments for QskTextLabel 2024-02-09 14:14:06 +01:00
Uwe Rathmann e32621aebd font initialization more readable 2024-02-09 14:13:37 +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 d7a7dc5c47 code reorganized 2024-02-08 15:24:40 +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