Commit Graph

2135 Commits

Author SHA1 Message Date
Uwe Rathmann a6f91ea863 forwarding of mouse events fixed 2024-12-19 15:23:22 +01:00
Uwe Rathmann a91dcd5a56 QskTextField/QskTextInput seperated 2024-12-18 12:37:18 +01:00
Uwe Rathmann 9e1e8931bf QskComboBoxSkinlet::sizeHint fixed 2024-12-17 12:03:33 +01:00
Uwe Rathmann a6992c2f08 respect the marginHint for graphic subcontrols 2024-12-12 17:10:16 +01:00
Uwe Rathmann 89cfd7bb4f using the placeholderText in the gallery 2024-12-10 15:08:49 +01:00
Uwe Rathmann c331fd601a use enums for class members 2024-12-10 12:17:51 +01:00
Uwe Rathmann 0d86454774 elide mode for QskTextField::PlaceholderText added 2024-12-10 11:27:16 +01:00
Uwe Rathmann 0038f6d3b3 more enums specified 2024-12-09 16:03:55 +01:00
Uwe Rathmann 5d95913366 QskSizePolicy enums specified 2024-12-09 15:56:49 +01:00
Uwe Rathmann 4220edc7ca don't use enum bitfields for unspecied enums 2024-12-09 15:46:43 +01:00
Uwe Rathmann 36f502b57a QskItem::UpdateFlags sepcified 2024-12-09 15:43:57 +01:00
Uwe Rathmann 23beda3c28 more enum types specified 2024-12-09 15:39:06 +01:00
Uwe Rathmann 0849571523 enum types specified 2024-12-09 15:21:37 +01:00
Uwe Rathmann d53579f3d9 enum types specified 2024-12-09 15:04:37 +01:00
Uwe Rathmann 4e6ee36420 NodeRole enums qualified as quint8 2024-12-09 14:53:59 +01:00
Uwe Rathmann 3a83f5fa2c compiler errors fixed 2024-12-09 13:29:03 +01:00
Uwe Rathmann d1fa0207fa Markdown format added 2024-12-09 12:10:10 +01:00
Uwe Rathmann 66d97831b5 QskTextColors is a Q_GADGET now 2024-12-09 12:01:16 +01:00
Uwe Rathmann 4ad28e6076 don't show the placeholder when text is not empty 2024-12-09 10:04:33 +01:00
Uwe Rathmann b6f2003826 QskTextFieldSkinlet::sizeHint added 2024-12-04 10:08:39 +01:00
Uwe Rathmann 4540cc1e4e QskTextFieldSkinlet::Selected state introduced 2024-12-03 10:06:26 +01:00
Uwe Rathmann 77e556fad2 QskTextField::placeholderText introduced, QskTextField::description
removed
2024-12-03 09:32:39 +01:00
Uwe Rathmann 108aa23397 QskTextInput renamed to QskTextField ( term used by F2/M3 and QC2 ) 2024-12-02 12:54:31 +01:00
Uwe Rathmann b0864965a8 Material3 adjustements for progress bars 2024-12-01 11:06:51 +01:00
Uwe Rathmann d18017ca90 QskProgressRing fixed + M3 updates 2024-11-29 13:55:30 +01:00
Uwe Rathmann a58d6dd589 QskProgressIndicator::hasOrigin(), QskSlider::hasOrigin added 2024-11-29 09:42:01 +01:00
Uwe Rathmann 12dfac153d QskSlider::inverted introduced 2024-11-28 16:06:00 +01:00
Uwe Rathmann db1e9a7e44 key handling of bounded inputs improved 2024-11-28 15:59:59 +01:00
Uwe Rathmann d9a66e4a98 QskSlider API cleanup 2024-11-28 15:55:57 +01:00
Uwe Rathmann 7a180cfe5e the corrected mouse/touch handling works without extending the handle
selection area
handle selection
2024-11-28 12:00:46 +01:00
Uwe Rathmann 66085ea41f QskSlider::origin implemented 2024-11-27 16:27:57 +01:00
Uwe Rathmann e2c76aa121 QskSlider ticks implementaton completed 2024-11-27 16:24:55 +01:00
Uwe Rathmann 77731954eb slider changes on press 2024-11-26 13:59:42 +01:00
Uwe Rathmann 59b88ffd7c slider layout code fixed 2024-11-26 13:57:13 +01:00
Uwe Rathmann cd65adb451 QskSkinnable::metric with default value 2024-11-26 13:48:55 +01:00
Uwe Rathmann ea3d7a5e69 QskInterval::center(), QskInterval::stretch removed as they the
implementation is only handling normalized intervals
2024-11-25 09:02:04 +01:00
Uwe Rathmann 494c370e61 ticks for F2 sliders 2024-11-22 17:38:58 +01:00
Uwe Rathmann f4c2211f2c API extended 2024-11-22 17:37:47 +01:00
Uwe Rathmann 5c1e0ccad4 invalid constexpr qualifier removed 2024-11-21 19:19:53 +01:00
Uwe Rathmann 9a5dd886ed slider ticks - not only for M3 2024-11-21 17:59:54 +01:00
Uwe Rathmann d04c030924 using constexpr 2024-11-21 17:59:37 +01:00
Uwe Rathmann d87c8e3d0b API cleanup of the Bounded controls 2024-11-21 13:54:01 +01:00
Uwe Rathmann 109fc7d7f4 QskBoxClipNode renamed to QskClipNode + more clip options added 2024-11-20 14:57:16 +01:00
Uwe Rathmann 1e383406e2 M3 specific definitions moved to M3 classes 2024-11-20 11:00:17 +01:00
Uwe Rathmann 00f2112817 QskMaterial3SliderSkinlet introduced 2024-11-18 16:15:50 +01:00
Uwe Rathmann b5c56f7f80 mismatch between allocated and used memory fixed 2024-11-14 10:52:08 +01:00
Uwe Rathmann d1c2751a8e nullptr check added 2024-11-14 10:51:53 +01:00
Uwe Rathmann 8dd5a7b249 dangling reference fixed 2024-11-14 08:52:40 +01:00
Uwe Rathmann baaccb2f41 avoid enum bitfields 2024-11-14 07:43:34 +01:00
Uwe Rathmann 7f389ef6cc don't subtract the slider margins twice 2024-11-13 14:11:11 +01:00
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