Commit Graph

2065 Commits

Author SHA1 Message Date
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
Uwe Rathmann c58a86130a wring pen check fixed 2023-12-05 16:54:08 +01:00
Uwe Rathmann 2419183397 QskFocusIndicator::duration introduced 2023-12-02 12:48:20 +01:00
Uwe Rathmann 583e27dac6 disabling the overlay to work around the clipping problem, when fading
in/out
2023-11-28 15:39:20 +01:00
Uwe Rathmann 6c826c3adc tickWidth moved into QskGraduationMetrics 2023-11-28 15:19:49 +01:00
Uwe Rathmann 3fabf3ee03 using QskGraduationMetrics 2023-11-28 14:35:28 +01:00
Uwe Rathmann d0472bc617 QskScaleRenderer -> QskGraduationRenderer 2023-11-28 13:45:14 +01:00
Uwe Rathmann 717a1c2ef2 code from features/plots merged 2023-11-28 13:36:47 +01:00
Uwe Rathmann 3c505652a3 QskIntervalF::width -> QskIntervalF::length 2023-11-28 13:12:52 +01:00
Uwe Rathmann 7197c89533 working on QskGraduation 2023-11-28 13:07:21 +01:00
Uwe Rathmann 54761e5a64 QskScaleTickmarks -> QskTickmarks 2023-11-28 10:46:03 +01:00
Uwe Rathmann bd1f7f2d11 QskScaleEngine -> QskGraduation 2023-11-28 09:55:17 +01:00
Uwe Rathmann 24949074d4 QskGraduationMetrics introduced 2023-11-25 17:04:06 +01:00
Uwe Rathmann 534ffb41e1 QskBasicLinesNode completed 2023-11-24 13:07:53 +01:00
Uwe Rathmann f3a1de5b00 alignment fixed, when having a devicePixelRatio 2023-11-24 11:21:50 +01:00
Uwe Rathmann e7752a25f9 forgotten qt5 code added 2023-11-23 16:50:26 +01:00
Uwe Rathmann e31c063937 QskLinesNode derived from QskBasicLinesNode 2023-11-23 15:47:08 +01:00
Uwe Rathmann dc64f21901 QskBasicLinesNode ( crisplines shaders ) introduced 2023-11-23 15:38:25 +01:00
Uwe Rathmann 68cca6a53c QskBoxFillNode introduced 2023-11-15 11:47:56 +01:00
Uwe Rathmann 3b6967615c constexpr qualifier added 2023-11-07 08:39:00 +01:00
Uwe Rathmann e2432e4f0c fading subcontrol substititution fixed 2023-11-06 09:19:33 +01:00
Uwe Rathmann d968b20199 ungrab focus, before fading out 2023-11-05 13:38:30 +01:00
Uwe Rathmann 1ab236de9f better fading support for popups, being used in QskDrawer/QskMenu/QskSubWindow 2023-11-03 18:13:24 +01:00
Uwe Rathmann 3b4f167709 always sending ( ot posting ) animator events. Otherwise we might be one
updateNode cycle too late
2023-10-30 17:08:39 +01:00
Uwe Rathmann b5fb6d80ad the itemNode is always a QSGTransformNode 2023-10-30 17:08:01 +01:00
Uwe Rathmann 83df3ad8da QskPopup key handling added 2023-10-25 10:07:38 +02:00
Uwe Rathmann 346aff98d1 using QQuickItemPrivate::inDestructor for Qt >= 6.5 instead of the
componentComplete hack done in ~QskQuickItem
2023-10-23 18:32:08 +02:00
Uwe Rathmann cec07e78ff QskSkinnable::runnigHintAnimator added 2023-10-22 10:58:07 +02:00
Uwe Rathmann d4ad863b7a sending geometry events to the root item, to support event filtering 2023-10-22 10:52:28 +02:00
Uwe Rathmann a0f5bbf54a more defensive updates for non-color animations 2023-10-22 10:51:29 +02:00
Uwe Rathmann b3c7eb7412 QskPopup::fading renamed to QskPopup::transitioning 2023-10-19 09:47:42 +02:00
Uwe Rathmann 4cbd0d62a5 respect QskPopup::hasFaderEffect 2023-10-18 15:10:55 +02:00
Uwe Rathmann e56360480f using 0/1 for closed/open ( instead of 1/0 ) 2023-10-18 15:07:29 +02:00
Uwe Rathmann 25461aaaf6 QskDrawer improvements 2023-10-18 15:05:17 +02:00
Uwe Rathmann a791867a3e QskDrawer::interactive, gesture handling for closing 2023-10-17 17:05:57 +02:00
Uwe Rathmann 142995504b QskDrawer using autoLayoutChildren 2023-10-17 15:53:30 +02:00
Uwe Rathmann d0cd48f8c2 QskDrawer improvements 2023-10-17 14:36:44 +02:00
Uwe Rathmann d85d0a0338 QskPopup::toggle added 2023-10-17 14:35:21 +02:00
Uwe Rathmann b31f94225d ItemChildRemovedChange handling added 2023-10-17 14:34:20 +02:00
Uwe Rathmann 5f31eb1e78 QskDrawer reimplemented, can be open by a swipe gesture now. more work
to do
2023-10-17 12:14:42 +02:00
Uwe Rathmann 3b5e6aa0fd always accept transitions for items without QQuickItem::ItemHasContents 2023-10-16 19:19:38 +02:00
Uwe Rathmann 7cf88e7b45 compiler warning fixed 2023-10-15 15:53:27 +02:00
Uwe Rathmann 3ecd8f337e code moved from QskPopupSkinlet to QskSlideInNode 2023-10-15 15:44:09 +02:00
Uwe Rathmann 56446c26db missing enum initialization fixed 2023-10-15 15:43:29 +02:00
Uwe Rathmann 208865ba8d QskGestureRecognizer improvements 2023-10-11 09:18:09 +02:00
Uwe Rathmann 2e980f087d QskGestureRecognizer::targetItem introduced 2023-10-09 10:37:07 +02:00
Uwe Rathmann b73513eb1f using styleHints for the minimal pan distance 2023-10-09 10:32:03 +02:00
Uwe Rathmann eff3641c4c avoid Qt 6.6 deprecation warnings 2023-10-05 09:23:45 +02:00
Uwe Rathmann 067cffbd7c QskGestureRecognizer using event filtering 2023-10-05 08:59:30 +02:00
Uwe Rathmann 267c559330 QskStackBoxAnimator1::setOrientation replaced by QskStackBoxAnimator1::setDirection.
Autodetection the direction from the indexes did not work when having
only 2 items.
2023-09-27 11:07:05 +02:00
Uwe Rathmann 27f41dd5f6 crash for items <= 1 fixed 2023-09-26 16:42:45 +02:00
Uwe Rathmann 19f7e344ff whitespaces removed 2023-09-26 16:42:28 +02:00
Uwe Rathmann bf2c2b981e QskSwipeView improvements 2023-08-10 19:54:06 +02:00
Uwe Rathmann b6b9cf0039 basic adjustments 2023-08-10 19:10:31 +02:00
Uwe Rathmann 2514005120 Merge branch 'swipe-view' of https://github.com/edelhirsch/qskinny into edelhirsch-swipe-view 2023-08-10 18:48:01 +02:00
Uwe Rathmann 3eb62bb692 smooth state transitions for listbox row selections 2023-08-10 18:43:24 +02:00
Uwe Rathmann ac4f190733 QskGestureFilterEvent introduced to allow adding gestures to foreign
controls using event filtering ( f.e QskDrawer needs this )
2023-08-10 13:38:21 +02:00
Uwe Rathmann c8316906d2 QskDrawer setting for Fluent2 2023-08-10 13:36:01 +02:00
Uwe Rathmann 3912fc3a91 build warnings fixed 2023-08-09 10:40:01 +02:00
Uwe Rathmann 85642665d4 being more const aware 2023-08-09 10:37:20 +02:00
Peter Hartmann ec61c11ab6 progress bars: Introduce progress ring and refactor
Most of the code between rings and bars can be shared with a
common superclass QskProgressIndicator.

Resolves #98
2023-08-09 08:33:05 +02:00
Uwe Rathmann 1a6a9f5941 mat3 skin prepared for smooth list view updates 2023-08-07 08:35:37 +02:00
Uwe Rathmann 95a8809979 ListView: alternating row colors removed. Adding sample variations bits
for animations makes the code too messy for the value of this feature.
2023-08-02 09:01:06 +02:00
Uwe Rathmann 946bac677d Hovered/Pressed states for QskListView cells added 2023-07-31 17:16:41 +02:00
Uwe Rathmann 849411ea97 mouse press handling fixed 2023-07-31 15:06:41 +02:00
Uwe Rathmann 638ee038aa trying to reorganize QskListViewSkinlet to be able to make use of
updateSeriesNode and friends
2023-07-27 17:03:34 +02:00
Uwe Rathmann 75b64d049a do not use focus navigation for the list entries 2023-07-21 13:01:06 +02:00
Uwe Rathmann 4270b0f7ba making QskMainView a tab fence, so that the tab chain does not stop at
the end
2023-07-21 11:35:24 +02:00
Uwe Rathmann c6fb2f81c9 scrollbar hover events 2023-07-20 16:46:21 +02:00
Uwe Rathmann bdef864bf3 fluent2 scrollbars improved 2023-07-20 10:41:49 +02:00
Uwe Rathmann eb0bac4927 using std::as_const to avoid deprecation warnings 2023-07-20 08:36:07 +02:00