Commit Graph

407 Commits

Author SHA1 Message Date
Uwe Rathmann 76248e480b QskArcMetrics::toAbsolute version with qreal added 2023-04-12 12:18:32 +02:00
Uwe Rathmann 7ddae671e2 API of classes dealing with arcs improved 2023-04-11 13:04:10 +02:00
Uwe Rathmann 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann 1ac6334c0e avoidable private includes removed 2023-04-05 09:56:28 +02:00
Uwe Rathmann 18c16c12fe hiding QGuiApplicationPrivate 2023-04-05 09:52:23 +02:00
Uwe Rathmann 084eae3dbc pedantic compiler flags fixed 2023-04-04 09:27:02 +02:00
Uwe Rathmann 658bc71891 fixig pedantic compiler warnings 2023-04-04 09:05:16 +02:00
Uwe Rathmann 7e36893d1c compiler warnings fixed 2023-04-04 08:49:11 +02:00
Uwe Rathmann 281ab9bff0 Qt5 issues fixed 2023-03-10 16:31:26 +01:00
Uwe Rathmann b55e5ee00a API adjustments 2023-03-10 12:46:19 +01:00
Uwe Rathmann e36f81b297 QskComboBox using QskLabelData now 2023-03-09 17:59:54 +01:00
Uwe Rathmann f9f5de8eb0 QskIcon/QskLabelData introduced 2023-03-09 15:30:40 +01:00
Uwe Rathmann 4f244c8f76 pixel scaling algo moved from M3 to QskPlatform.h 2023-03-05 11:52:42 +01:00
Uwe Rathmann c587263592 symbolHints introduced, several skinlets changed to make use of them 2023-03-02 14:56:30 +01:00
Uwe Rathmann a32204cd8c QskAspect::Flag replaced by QskAspect::NoType. Flag was a leftover from
the very early stages of this project and its semantics had become wrong
in the meantime
2023-03-02 12:19:32 +01:00
Uwe Rathmann a6bf60c9b4 upgraded to uncrustify 0.76.0 - still not happy with the C++ beautifier
situation, that requires way too much manual post processing
2023-02-28 15:49:42 +01:00
Uwe Rathmann 90fec17a60 QskRgb::RGBAMask added 2023-02-26 15:03:44 +01:00
Uwe Rathmann 3262673e40 section bits added to the resolution matching algo. The switch in the
Header section of the gallery is working again
2023-02-17 12:02:05 +01:00
Uwe Rathmann d71b972232 QskBoxShapeMetrics::ScalingMode: using better names, missing mode
reinserted
2023-02-16 11:30:31 +01:00
Uwe Rathmann 64fee0247e Floating section added 2023-02-16 08:23:45 +01:00
Uwe Rathmann a0dde1a4e0 Tiny/Small/Large/Huge variations introduced 2023-02-15 17:10:50 +01:00
Uwe Rathmann 66db409b71 QskAspect::Placement renamed to QskAspect::Variation so that we use the
corresponding bits for an emphasis too
2023-02-15 16:37:54 +01:00
Uwe Rathmann 67b10cca0a elliptic scaling fixed 2023-02-04 11:55:37 +01:00
Uwe Rathmann 1dcdca3489 faster isMonochrome calculations 2023-02-04 11:55:06 +01:00
Uwe Rathmann ca70fec579 caching some values for faster valueAt calculations 2023-02-04 11:53:54 +01:00
Uwe Rathmann 9d4c423591 color ramp calculation fixed for gradients with many stops 2023-02-04 11:53:23 +01:00
Uwe Rathmann 776468953d using Circular/Elliptic 2023-02-03 11:13:11 +01:00
Uwe Rathmann d4e746e7c5 elliposid != ellipse 2023-02-03 10:46:08 +01:00
Uwe Rathmann 1c4bcffc3f aspectRatioMode replaced by scalingMode 2023-02-03 10:38:17 +01:00
Uwe Rathmann e7c2cd0eba QskBoxShapeMetrics::toAbsolute reverted for the moment as the scaling of the buttons
is broken now. Only a temporary workaround as the other implementation
was actually correct
2023-02-02 18:44:08 +01:00
Uwe Rathmann f78416fc63 QskLinearDirection::valueAt fixed 2023-01-24 20:26:23 +01:00
Uwe Rathmann c384fd608d QskLinearDirection::valueAt added 2023-01-24 19:40:41 +01:00
Uwe Rathmann ad09186229 QskGradientDirection::contais added 2023-01-23 10:59:34 +01:00
Uwe Rathmann fff0389262 wrong aspect ratio scaling fixed 2023-01-23 10:59:01 +01:00
Uwe Rathmann 4038f52cdf inverted gradient vectors for horizontal/vertical gradients supported 2023-01-10 12:17:56 +01:00
Uwe Rathmann 9afabe0e92 using Q_NAMESPACE_EXPORT 2023-01-09 15:19:39 +01:00
Uwe Rathmann 3ce2cea547 QLineF added for linear gradients 2022-12-28 19:23:42 +01:00
Uwe Rathmann d9eacd9eb3 setDirection fixed 2022-12-24 12:22:07 +01:00
Uwe Rathmann 76c8e41fcc radiusX/radiusY to allow ellipsoid and circular radial gradients 2022-12-23 14:57:46 +01:00
Uwe Rathmann 82cb6e6811 QskGradient::effectiveGradient added 2022-12-22 20:13:45 +01:00
Uwe Rathmann 6ce73136ce reducing the memory used for QskGradient 2022-12-22 17:50:19 +01:00
Uwe Rathmann 83556493d4 hash function fixed 2022-12-22 13:04:58 +01:00
Uwe Rathmann e551906849 QskGradient::StretchMode introduced 2022-12-22 12:38:44 +01:00
Uwe Rathmann 3de71d1bd5 QskGradient::Spread -> QskGradient::SpreadMode 2022-12-22 11:45:23 +01:00
Uwe Rathmann b98791c421 using QTransform 2022-12-21 13:26:23 +01:00
Uwe Rathmann 4ec304fe91 QGradient replaces when adding a stop at the same position, instaed of
appending it - like how it is with CSS or Qsk. As a workaround we
increase the positon by a small epsilon.
2022-12-20 15:49:09 +01:00
Uwe Rathmann 03d2dad7ca setting QGradient::CoordinateMode when converting into a QGradient 2022-12-20 15:47:26 +01:00
Uwe Rathmann c66c61de0c missing default seed value added 2022-12-20 15:42:36 +01:00
Uwe Rathmann af1f5b8757 QGradint converters fixed 2022-12-09 11:23:32 +01:00
Uwe Rathmann 35a0d63b5a code specific for Qt < 5.15 removed 2022-12-05 07:51:41 +01:00
Uwe Rathmann 2446bf34c5 bad index fixed 2022-12-04 21:11:36 +01:00
Uwe Rathmann ad8cfbb694 QskBoxBorderMetrics::adjustedRect added 2022-12-04 19:50:54 +01:00
Uwe Rathmann 9ed4aafff5 Qt5 compiler error fixed 2022-12-01 13:45:32 +01:00
Uwe Rathmann ec0d21fb0c QskGradient <-> QGradient converter added 2022-12-01 13:03:57 +01:00
Uwe Rathmann 0925b40b7a QGradient::Spread -> QskGradient::Spread 2022-12-01 12:03:36 +01:00
Uwe Rathmann abf325dbde QJSValue converter for QskGradient added to be compatible with new Qt
6.5 features
2022-11-30 17:05:37 +01:00
Uwe Rathmann bbfc16c609 improving Qml support or QskGradient 2022-11-29 10:59:09 +01:00
Uwe Rathmann b52e54bb7e return invalid directions, when requeting with the wrong type 2022-11-24 07:58:47 +01:00
Uwe Rathmann ea8f426d67 QML registration using templates instead of macros. lower/uppercase
definitions for gadgets solved ( defining then twice to have the enums
with uppercase prefix )
2022-11-20 15:36:30 +01:00
Uwe Rathmann 2aaaa4ecb1 QskSizePolicy property names shortened 2022-11-20 15:27:08 +01:00
Uwe Rathmann b96b1acd20 missing boilerplate definitions added 2022-11-18 18:47:35 +01:00
Uwe Rathmann c5ace32bf2 QskAspect::Control renamed to QskAspect::NoSubcontrol 2022-11-18 12:29:58 +01:00
Uwe Rathmann 19f01c0232 debug operator simplified 2022-11-18 12:15:20 +01:00
Uwe Rathmann 116b835906 metatype registrations moved to class implementations 2022-11-18 09:44:11 +01:00
Uwe Rathmann 5356f0ce88 Q_INVOKABLE for READ/WRITE property accessors removed. do not make sense
and lead to assertions, when Qt has been built in debug mode
2022-11-18 09:12:13 +01:00
Uwe Rathmann d327a68fc1 missing setStops versions added 2022-11-16 16:19:19 +01:00
Uwe Rathmann 615e0016c2 working more with RGBA values instead of QColor 2022-11-16 13:46:37 +01:00
Uwe Rathmann 31577cab9b pointless reset operations removed 2022-11-16 13:25:17 +01:00
Uwe Rathmann 688c7881b2 missing setter for Qt::GlobalColor added 2022-11-14 09:00:02 +01:00
Uwe Rathmann 33bb68d903 more APIs for working with QRgb 2022-11-14 08:56:30 +01:00
Uwe Rathmann b140d1b30a QskGradientDirection introduced - no more classes derived from
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann 0fb4b25bba making QskGradient types acessible for QML ( mot 100% happy with using
lists )
2022-11-13 10:09:18 +01:00
Uwe Rathmann f988805f95 DefaultProperty added 2022-11-04 17:16:38 +01:00
Uwe Rathmann b64f92e695 properties changed 2022-11-04 17:16:12 +01:00
Uwe Rathmann fe8e696f40 debug operator fixed 2022-10-31 17:35:47 +01:00
Uwe Rathmann 4c73c1fd7b QskBoxBorderColors interpolation fixed 2022-10-31 17:35:13 +01:00
Uwe Rathmann ad67d035f3 new QskGradient 2022-10-31 14:42:08 +01:00
Uwe Rathmann 38bc3286cd QskGradient improved ( linear/radial/conic gradients ) 2022-10-31 14:22:20 +01:00
Uwe Rathmann 506dd4f60c working towards introducing new type of gradients 2022-10-25 18:17:21 +02:00
Uwe Rathmann 5712873f21 missing Q_ENUM added 2022-10-25 11:02:10 +02:00
Uwe Rathmann e67b0b385a allowing gradient stops that do not start/end with 0.0/1.0 ( like
QGradient )
2022-10-24 17:29:39 +02:00
Uwe Rathmann 1f28eec9de working towards improved QskGradient 2022-10-24 17:08:48 +02:00
Uwe Rathmann 03ce740b29 towards improved QskGradient 2022-10-24 16:40:47 +02:00
Uwe Rathmann 99132276fc first adjustments for QskGradient improvements 2022-10-24 16:02:46 +02:00
Uwe Rathmann d3f9e97301 unused private methods removed 2022-10-20 10:22:13 +02:00
Uwe Rathmann d5ba7d9504 QskGradient::qtStops added 2022-10-20 09:22:11 +02:00
Uwe Rathmann b6032f007c wrong check fixed 2022-10-15 13:24:58 +02:00
Uwe Rathmann 929c02fa0e colorTable generation added 2022-10-13 19:39:24 +02:00
Uwe Rathmann 8da486a13f QskGradientStops moved from QskGradient.h to QskGradientStop.h 2022-10-13 19:37:49 +02:00
Uwe Rathmann 7ca1e2f261 uncrustified 2022-09-13 12:22:20 +02:00
Uwe Rathmann 896145ac11 QskTextOptions as skin hints 2022-08-25 09:39:33 +02:00
Uwe Rathmann 6c778c4b07 qskAlignedRect overloads 2022-07-28 16:51:20 +02:00
Uwe Rathmann c67a594d07 whitespaces removed 2022-07-28 16:50:55 +02:00
Uwe Rathmann 62fcbc6c32 QskAspect::Section introduced 2022-06-29 16:15:38 +02:00
Uwe Rathmann d403af14ba making QskHctColor a class, tone calculation from rgb added 2022-06-27 12:54:13 +02:00
Uwe Rathmann d3c320bb9a Q_DECL_UNUSED removed, seems to cause problems on Macs 2022-06-26 14:33:39 +02:00
Uwe Rathmann e8f52c03cc hacks for exposing definitions to QML are not needed anymore 2022-06-25 16:52:24 +02:00
Uwe Rathmann e787b15d35 wip 2022-06-25 16:38:42 +02:00
Uwe Rathmann 6c7ba0489c M(aterial)2 related code replaced 2022-06-25 16:14:08 +02:00
Uwe Rathmann 98368d42ac typos fixed 2022-06-25 16:10:00 +02:00