Commit Graph

2135 Commits

Author SHA1 Message Date
Uwe Rathmann 525ca3bd0e QskSlider: Adapt to new Material3 style
( ValueLabel a.k.a Tooltip is not done yet )
2024-11-07 17:31:14 +01:00
Uwe Rathmann 954d39256f missing include added 2024-11-07 11:43:47 +01:00
Uwe Rathmann fe1706905e passing QQuickWindow to the box renderer, so it knows about detals of
the render target ( f.e devivePixelratio )
2024-11-07 11:21:45 +01:00
Uwe Rathmann a2719b4ccd using point sizes for fonts and metrics in logical coordinates 2024-10-31 13:30:06 +01:00
Uwe Rathmann e46fa8bc72 using mm instead of dp 2024-10-30 12:51:17 +01:00
Uwe Rathmann 93983e23c5 defensive check added 2024-10-30 09:37:00 +01:00
Uwe Rathmann e15f167978 QskTextInput::wrapMode added 2024-10-28 09:26:22 +01:00
Uwe Rathmann 7cbf641066 unused signal removed 2024-10-28 08:57:16 +01:00
Peter Hartmann b2f3220dfe
switch button: Support icons (for M3) (#452) 2024-10-28 08:14:32 +01:00
Uwe Rathmann 80934fa07f QskCheckBox::Halo replaced by using a box shadow 2024-10-25 18:56:02 +02:00
Uwe Rathmann 9d8666290f QskShadowMetrics::ShapeMode introduced 2024-10-25 18:54:04 +02:00
Uwe Rathmann 99b4bddac9 QskSwitchButton M3 fixes, using shadows instead of an additonal
subcontrol
2024-10-25 11:37:34 +02:00
Uwe Rathmann 635cd3c91f QskRadioBox: using the shadow ( instead of an additional Halo subcontrol ) 2024-10-24 12:15:02 +02:00
Uwe Rathmann 1258c17534 several fixes concerning box shadows 2024-10-24 10:16:51 +02:00
Uwe Rathmann 325c621485 using better English 2024-10-24 09:59:32 +02:00
Uwe Rathmann ca1951d9a6 using QskBoxRectangleNode for shadows without blur 2024-10-23 15:20:42 +02:00
Uwe Rathmann f3aed21a23 using halo instead of ripple 2024-10-23 13:25:23 +02:00
Uwe Rathmann c5f8c549d3 decimals moved from QskSpinBox to QskBoundedValueInput 2024-10-23 11:15:47 +02:00
Uwe Rathmann 089f0c3abe QskSpinBox::text property moved to QskBoundedValueInput::valueText 2024-10-23 08:52:24 +02:00
Uwe Rathmann 07bae93427 QskBoundedInput: pageSize renamed to pageSteps to avoid confusion. wrong
usage when sing the wheel fixed
2024-10-22 11:55:22 +02:00
Uwe Rathmann 932d34aea8 spin box hovering 2024-10-21 14:22:09 +02:00
Uwe Rathmann 3d77cfbb7a trying to reduce the number of updates 2024-10-14 10:56:37 +02:00
Uwe Rathmann 0cdff58c93 base -> settled 2024-10-14 08:33:28 +02:00
Uwe Rathmann aae2ebad96 don't create the anchor for getters 2024-10-13 12:33:44 +02:00
Uwe Rathmann 5d9bf64a7b hiding the fill/centerIn implementation details 2024-10-13 12:21:40 +02:00
Uwe Rathmann d2b12bcf44 documentation updated 2024-10-11 08:10:48 +02:00
Uwe Rathmann b0a5edb0f3 docs updated 2024-10-10 16:01:02 +02:00
uwerat 51d1bdbc95
Features/anchoring (#434)
* initial version of QskItemAnchors introduced

* QskItemAnchors completed ( baseline anchoring is the only missing API )

* missing initialization added
2024-10-10 15:55:22 +02:00
Uwe Rathmann d6b9ea4525 assertions weakened to warnings to prevent property inspectors ( f.e gammaray ), that do not know about the specific semantics of the gradient direction, from crashing 2024-10-09 07:45:20 +02:00
Uwe Rathmann af34d7b8f2 arc shadow shader moved to playground shadows - the algo does not match
the arc renderer.
2024-09-30 12:06:51 +02:00
Uwe Rathmann 6a2e07339e QskShapeNode::updateNode -> updatePath. workaround for a bug that has
not yet been understood reintroduced
2024-09-26 17:07:54 +02:00
Uwe Rathmann f898746019 QskStrokeNode::updatePath + methods without implementation removed 2024-09-26 16:20:03 +02:00
Uwe Rathmann d52542c79b avoid QskComboBox::openPopup crash, when not having a window yet 2024-09-26 12:05:25 +02:00
Uwe Rathmann 1fa98ef9a2 Merge branch 'master' of https://github.com/uwerat/qskinny 2024-09-25 15:52:53 +02:00
Uwe Rathmann 283afee43a using QSGVertexColorMaterial for monochrome gradients, when requested by
QskFillNode::PreferColoredGeometry ( = default ). might be useful for
batching
2024-09-25 15:51:01 +02:00
Uwe Rathmann 6e15e74061 missing return added 2024-09-25 13:52:12 +02:00
Uwe Rathmann ae9bc90d38 eliminating the index buffer 2024-09-25 07:51:02 +02:00
Uwe Rathmann e9947c17a0 QskGradient::effectiveGradient moved to
QskBoxRenderer::effectiveFradient as its implementation is not correct
for arcs
2024-09-24 12:23:51 +02:00
Uwe Rathmann a989ff92c9 resolving QskGradient::Stops depends on the shape and can't be resolved
in QskFillNode.
2024-09-24 12:20:03 +02:00
Uwe Rathmann a25c19cbd1 QSK_PREFER_SHADER_COLORS introduced 2024-09-24 10:18:51 +02:00
Uwe Rathmann a946394e9d code of QskBoxNode/QskArcNode aligned 2024-09-24 10:17:10 +02:00
Uwe Rathmann 25b9423ae4 QskRgb::isVisible introduced 2024-09-24 10:14:26 +02:00
Uwe Rathmann 3ecd1e90cc qskHasEnvironment moved from QskSetup.cpp to QskFunctions.cpp 2024-09-24 10:02:48 +02:00
Uwe Rathmann 8390aeb4fa QskSimpleListBox::removeAt fixed 2024-09-24 07:33:28 +02:00
Uwe Rathmann 132183e304 unnecessary handling of monochrome fillings removed 2024-09-23 16:09:23 +02:00
Uwe Rathmann b69f84e865 handling of arcs improved 2024-09-23 16:04:09 +02:00
Uwe Rathmann c9f7bf59ee better detection of the dirty flags 2024-09-23 15:55:00 +02:00
Uwe Rathmann 591fc55479 clearifying comments 2024-09-23 15:38:12 +02:00
Uwe Rathmann cc455dff5a using more intuitive function names for QskBoxRenderer 2024-09-19 08:39:14 +02:00
Uwe Rathmann 46e5630f48 handling of background node improved 2024-09-17 17:52:52 +02:00
Uwe Rathmann 6c391b831d functionality of QskBoxFillNode/QskRectangleNode moved into QskBoxRectangleNode 2024-09-17 13:57:10 +02:00
Uwe Rathmann 58344c0c4e QskFillNode::Hints added 2024-09-17 13:40:58 +02:00
Uwe Rathmann d6b9f4edc7 QskBoxRenderer::isGradientSupported does not need the shape 2024-09-17 13:34:23 +02:00
Uwe Rathmann ada3be71e0 QskBoxFillNode fixed - updating the material first. 2024-09-14 17:43:37 +02:00
Uwe Rathmann 3fb9ac8495 TODO markers added 2024-09-12 09:05:54 +02:00
Uwe Rathmann 68e9303357 QskArcRenderer introduced 2024-09-11 10:24:22 +02:00
Uwe Rathmann cc64460a80 QskProgressRingSkinlet::contentsSizeHint with constraints 2024-09-09 09:54:23 +02:00
Uwe Rathmann c61e3c7f36 CircularProgressBar removed, using QskProgressRing instead 2024-09-04 17:50:42 +02:00
Uwe Rathmann 86942d4226 code duplication eliminated 2024-09-04 17:08:40 +02:00
Uwe Rathmann 01a0f6b540 QskVertex::Line API enhanced 2024-09-02 11:13:31 +02:00
Uwe Rathmann 36ac8d95d6 convenience getter added 2024-07-17 15:36:45 +02:00
Uwe Rathmann 1aaf4ec296 Qt 6.8 warnings fixed 2024-06-25 08:51:43 +02:00
Uwe Rathmann b99ed6ec9b compiler warnings ( unused definitions ) fixed 2024-06-17 12:07:29 +02:00
Uwe Rathmann 69098643ff code moved to QskArcMetrics 2024-06-12 12:40:11 +02:00
Uwe Rathmann 8775976f0b internally using a boolean instead of the sizemode enum 2024-06-12 12:39:32 +02:00
Uwe Rathmann d6da8fcbb8 QskArcNode is a container node 2024-06-12 12:20:31 +02:00
Uwe Rathmann 2164e86310 using qreal instead of double 2024-06-03 13:18:41 +02:00
Uwe Rathmann 319abafb0d bad shadowColor check fixed 2024-05-21 16:08:40 +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
Uwe Rathmann af2eb74ea1 missing ifdefs added 2024-01-29 16:09:25 +01:00
Uwe Rathmann 57ebeec2df obsolete methods removed 2024-01-29 13:37:25 +01:00
Uwe Rathmann 7ab5c50b3d using nullptr for QSemaphore instead of a different call 2024-01-29 12:21:46 +01:00
Peter Hartmann 63cb58ef4a Build for WebAssembly including building everything statically etc.
Resolves #372
2024-01-26 15:03:12 +01:00
Uwe Rathmann 0bdc7f5f86 flickering fixed, when moving over the scroll bar handle 2024-01-24 17:35:47 +01:00
Uwe Rathmann 158960fd80 dangling pointer crash ( skin changes ) fixed 2024-01-24 17:34:58 +01:00
Uwe Rathmann 83432af799 better painter paths for >= 360° 2024-01-22 14:10:46 +01:00
Uwe Rathmann 02d76b199a Qt/WASM seems to have no thread support 2024-01-19 15:52:00 +01:00
Uwe Rathmann 0e41703359 avoid deprecation warnings from Qt 6.7 2024-01-18 08:50:45 +01:00
Uwe Rathmann 511db2650e copyright notice generalised 2024-01-17 14:31:45 +01:00
Rick Vogel da066d1edd fix build break for non msvc compiler 2024-01-13 09:55:40 +01:00
Rick Vogel 09ee9dad3a changed qskinny cmake package 2024-01-13 09:55:40 +01:00
Uwe Rathmann 17809eaea5 Merge branch 'master' into cmake 2024-01-09 12:11:41 +01:00
Uwe Rathmann 099281972e qsk_add_shaders cmake function added 2024-01-09 11:59:55 +01:00
Uwe Rathmann 4b2f344531 Merge branch 'master' into cmake 2024-01-09 09:30:39 +01:00
Uwe Rathmann 81cecb6ec4 supoort of experimental Qt5/RHI dropped ( use Qt6 for RHI ). Building
the qsb files from the makefiles. See https://github.com/uwerat/qskinny/issues/356
2024-01-08 16:06:43 +01:00
Uwe Rathmann 9c6686e1db Merge branch 'feature/cmake-install-paths' of https://github.com/lgtmak/qskinny into cmake 2024-01-08 08:36:33 +01:00
Uwe Rathmann e63b064f5a QskArcShadowNode introduced ( kudos to Rick ) 2024-01-06 15:05:30 +01:00
Uwe Rathmann a420407a56 qskInterpolatedColor added 2024-01-06 15:00:23 +01:00
Alexander Kavon 0670623fbd build functions and QskQmlExportTargets.cmake file 2023-12-29 01:53:56 -05:00
Alexander Kavon 48e3ecef04 standardized namespace, remove extra FILE option from export 2023-12-28 17:46:11 -05:00
Alexander Kavon dcc729b4d5 move packaging vars for QSkinny core library to src/CMakeLists.txt 2023-12-28 17:04:55 -05:00
Alexander Kavon 153f8a4228 move export(), install() to src/CMakelists.txt from ./CMakelists.txt 2023-12-28 16:36:28 -05:00
Alexander Kavon fc72a95aaf updated project paths to namespace qskinny, project namespace should be project name, reused qsk_install_* variables 2023-12-28 14:20:42 -05:00
Alexander Kavon 4983634568 updated cmake install() destinations 2023-12-28 14:18:26 -05:00
Uwe Rathmann b3b4ca6aef Qt6 incompatibility fixed 2023-12-28 17:18:34 +01:00
Uwe Rathmann 1bc7cc3097 finally working for RHI and the Qt5 OpenGL legacy backends 2023-12-28 17:02:30 +01:00
Uwe Rathmann ff10fc6fc1 missing initialization added 2023-12-27 08:51:12 +01:00
Uwe Rathmann 67f0df44af Qt 6.7 incompatibilities fixed 2023-12-27 08:47:57 +01:00
Uwe Rathmann aaf029bd00 incompatibility with Qt [6.0->6.3] fixed 2023-12-22 14:15:21 +01:00
Uwe Rathmann 972f839cad Qt5 implementation of QskSceneTexture 2023-12-22 13:52:01 +01:00
Vogel, Rick e0bdf160f9 add missing install variables 2023-12-21 18:02:50 +01:00
Rick Vogel b850c18557 don't use QSK_SOURCE_DIR 2023-12-21 14:05:29 +01:00
Uwe Rathmann cbd4fa9bdc QskSceneTexture disabled for Qt5 ( not done yet ) 2023-12-17 18:12:57 +01:00
Uwe Rathmann fb3d09430f QskSceneTexture added 2023-12-17 17:32:07 +01:00
Uwe Rathmann bdf4bb045c QskTreeNode introduced 2023-12-17 17:28:00 +01:00
Uwe Rathmann 1e3e1f83de QskBox namespace renamed to QskBoxRenderer to avoid name clashes with
QskBox from QskBox.h
2023-12-17 17:18:35 +01:00
Uwe Rathmann 5e5dd7a61c doing a fuzzy compare to avoid line duplication 2023-12-13 18:14:47 +01:00