Commit Graph

972 Commits

Author SHA1 Message Date
Uwe Rathmann c9e959e73f makeing code more readable 2020-11-01 09:28:20 +01:00
Uwe Rathmann a5327a68b8 using c++11 auto 2020-11-01 09:26:19 +01:00
Uwe Rathmann 9426e69e3e Qt6 incomptibilities 2020-11-01 08:48:50 +01:00
Uwe Rathmann c7383a5e31 disabled lines for DebugContext added 2020-11-01 08:48:19 +01:00
Uwe Rathmann b004e6d8d5 code improved 2020-10-31 08:06:41 +01:00
Uwe Rathmann e86ce49fb4 converters added 2020-10-30 07:29:43 +01:00
Uwe Rathmann 9a3e8d0d2d using QskMargins instead of QMargins in Q_PROPRTY definitions to get Qt6
working
2020-10-28 19:35:51 +01:00
Uwe Rathmann aed9412aee Q_GADGET added 2020-10-28 12:33:51 +01:00
Uwe Rathmann 1eada5fbe0 Qt6 incompatibilities fixed 2020-10-28 12:33:26 +01:00
Uwe Rathmann a81c0e4708 version check fixed 2020-10-28 08:28:13 +01:00
Uwe Rathmann 4c6e0ae32d Qt5 incompatibilities 2020-10-26 18:50:48 +01:00
Uwe Rathmann 4d7d9735dc prepairing Qt6 usage 2020-10-26 18:06:06 +01:00
Uwe Rathmann 93dc6f76f7 Qt6 incompatibilities fixed 2020-10-26 17:59:19 +01:00
Uwe Rathmann 8e410a9e4b Qt6 incompatibilities fixed 2020-10-26 17:52:08 +01:00
Uwe Rathmann 07cdcc56df code improved 2020-10-26 14:13:57 +01:00
Uwe Rathmann 5757d49ba9 avoid Qt5/6 incompatibilities 2020-10-25 18:04:55 +01:00
Uwe Rathmann 963ccb1da8 avoid Qt 5/6 incompatibilities 2020-10-25 17:53:22 +01:00
Uwe Rathmann 571f532307 moving ClipItem to namespace 2020-10-25 17:40:29 +01:00
Uwe Rathmann 1228518e6a avoid Qt5/6 incompatbilities 2020-10-25 17:35:50 +01:00
Uwe Rathmann 35c786c012 Qt 6 incompatibilities fixed 2020-10-25 16:09:49 +01:00
Uwe Rathmann a101080231 Qt6 incompatibilities fixed 2020-10-25 15:56:22 +01:00
Uwe Rathmann 0c37453d5f workaround for Qt 5/6 QMouseEvent incompatabilities 2020-10-25 15:55:02 +01:00
Uwe Rathmann bf4fbaa905 no QVector forward declaration - can't be done with Qt6, but as we have
all what we need from qglobal.h ...
2020-10-25 14:57:41 +01:00
Uwe Rathmann c4b32c0d50 Qt6 incompatibility 2020-10-23 14:08:27 +02:00
Uwe Rathmann 21bd75ae5b Qt6 incompatibility fixed 2020-10-23 14:00:27 +02:00
Uwe Rathmann 205de91dae Qt6 incompatibility fixed 2020-10-23 13:54:27 +02:00
Uwe Rathmann 484c0ceec5 no QStringList forward declarations possible with Qt6 - so we have to
rely on Qt headers we have included before. Not good ...
2020-10-23 13:45:09 +02:00
Uwe Rathmann 77c00fb727 no QVector forward declarations with Qt6 2020-10-23 13:44:29 +02:00
Uwe Rathmann 27c4704f68 no QVector forward declarations possible with Qt6 2020-10-23 13:43:28 +02:00
Uwe Rathmann 4fefe62ad0 Qt6 changes for QList/QVector disaallow forward declarations, but as
with every qobject.h we have qlist.h anyway
2020-10-23 13:41:18 +02:00
Uwe Rathmann 5d9d307d6f Qt6 compatibility fixes 2020-10-23 13:38:00 +02:00
Uwe Rathmann 862ab8cc16 Qt6 incompatibilities fixed 2020-10-23 13:20:51 +02:00
Uwe Rathmann b351e078f5 Qt6 incompatibility fixed 2020-10-23 12:49:42 +02:00
Uwe Rathmann 2d8e3ec7a8 avoid deprecated APIs 2020-10-23 12:49:10 +02:00
Uwe Rathmann 60c8ec4746 avoid dprecated APIs 2020-10-23 12:48:34 +02:00
Uwe Rathmann 19b5918f43 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-10-20 17:48:02 +02:00
Uwe Rathmann bb0cb27e69 version ifdefing simplified 2020-10-20 17:47:19 +02:00
Uwe Rathmann a5cf44a869 missing include added 2020-10-20 17:46:22 +02:00
Uwe Rathmann 7ac3375d30 unused member removed 2020-10-20 17:45:31 +02:00
Uwe Rathmann 9b9fb04adb shadowRect added 2020-10-20 17:45:07 +02:00
Uwe Rathmann 6e1eb9801a setReadOnly fixed 2020-10-20 12:03:05 +02:00
Uwe Rathmann d0b833a38d missing inline keywords added 2020-10-09 08:37:23 +02:00
Uwe Rathmann e5f770d753 QskShadowMetrics added 2020-10-09 08:21:30 +02:00
Uwe Rathmann 1b8bbdc261 hash function simplified 2020-10-09 08:21:06 +02:00
Uwe Rathmann 21d90e5fa0 pointless "bit saving" removed 2020-10-09 08:20:36 +02:00
Uwe Rathmann 7b59793054 debug operator added 2020-09-28 09:04:25 +02:00
Uwe Rathmann b78a77f4ff constructor for QMarginsF added 2020-09-28 09:03:35 +02:00
Uwe Rathmann 42d48c4649 debug operator fixed 2020-09-28 09:03:11 +02:00
Uwe Rathmann b3d8598965 handlePosition property added 2020-09-23 12:43:46 +02:00
Uwe Rathmann 4ebd07390f QskSlider::tracking fixed 2020-09-23 12:32:08 +02:00
Uwe Rathmann 31244327f2 mutex added when accessing the cache 2020-09-22 12:33:31 +02:00
Uwe Rathmann 65a73f949e comment fixed 2020-09-21 15:20:00 +02:00
Uwe Rathmann db9916d4b9 wheel increment by stepsize 2020-09-21 15:03:12 +02:00
Uwe Rathmann 44cdbbeba1 avoid conflict with QskBoundedInput::ReadOnly 2020-09-21 12:53:25 +02:00
Uwe Rathmann 9d01f938f5 using effectiveSubcontrol when setting the position of the handle 2020-09-21 11:31:37 +02:00
Uwe Rathmann fef6e1cef1 using width/height 2020-09-04 07:39:52 +02:00
Uwe Rathmann b4e735acce for autoLayoutChildren we also need to polish on LayoutRequest events 2020-09-04 07:37:16 +02:00
Uwe Rathmann 664b141ee4 contains/fuzzyContains for intervals added 2020-08-26 13:30:41 +02:00
Uwe Rathmann 18dd693892 using more auto 2020-08-15 14:42:28 +02:00
Uwe Rathmann 5bd66a27a8 QskRgbValue -> QskRgb 2020-08-15 13:29:17 +02:00
Uwe Rathmann 3519e92e91 lighter/darker added 2020-08-15 13:05:25 +02:00
Uwe Rathmann 5b6f070d7d rgb colors alphabetically ordered 2020-08-15 12:49:09 +02:00
Uwe Rathmann 65872352e0 conversion from Qt::GlobalColor added 2020-08-15 12:19:44 +02:00
Uwe Rathmann d1652bda82 extending the clip rectangle by the padding of the tabbar 2020-08-11 13:08:02 +02:00
Uwe Rathmann 9ab254ae5b typo fixed 2020-08-11 13:07:26 +02:00
Uwe Rathmann f2c1eff7ac effectivePlacement added 2020-08-10 14:24:42 +02:00
Uwe Rathmann e5cb155350 beautified 2020-08-09 11:50:34 +02:00
Uwe Rathmann 50923fcf8c QskIntervalF::interpolate added 2020-08-09 11:06:48 +02:00
Uwe Rathmann 48a5e387d4 indeterminated progress bars 2020-08-09 10:49:32 +02:00
Uwe Rathmann 606a3e2ce2 support for QskIntervalF added 2020-08-09 10:45:48 +02:00
Uwe Rathmann c4006f655b autoRepeat added 2020-08-09 10:43:52 +02:00
Uwe Rathmann 45f9e7c7f6 using auto 2020-08-07 12:14:47 +02:00
Uwe Rathmann 27a95ee60f QskProgressBar improved 2020-08-06 09:28:18 +02:00
Uwe Rathmann c9717a9d33 render bug for ellipsoid monochrome boxes fixed 2020-08-05 14:02:03 +02:00
Uwe Rathmann d276dcb7ae debuf functions improved 2020-08-05 14:01:40 +02:00
Uwe Rathmann 95d3c6e37b QskProgressBar improved 2020-08-03 08:02:13 +02:00
Uwe Rathmann cad27956e6 QskValueBar -> QskProgressBar 2020-08-01 17:51:45 +02:00
Uwe Rathmann 7cd4b940aa QskValueBar added 2020-07-31 16:57:22 +02:00
Uwe Rathmann c66d2044a9 more variations for generating color stops 2020-07-31 16:56:33 +02:00
Uwe Rathmann 0df61d647d QskGradient::extracted fixed 2020-07-31 16:55:54 +02:00
Uwe Rathmann 9c55e03859 QskRgbPalette::colorStops added 2020-07-31 13:26:22 +02:00
Uwe Rathmann 39f4d80153 QskRgbPalette added 2020-07-31 12:43:08 +02:00
Uwe Rathmann 6871b7a0b8 features added 2020-07-31 12:42:36 +02:00
Uwe Rathmann 2186765763 QskBoundedControl added 2020-07-31 07:41:25 +02:00
Uwe Rathmann 1e6f1c810b more variations of updateBoxNode 2020-07-31 07:40:33 +02:00
Uwe Rathmann 97b1c7167d fuzzyContains added 2020-07-31 07:40:04 +02:00
Uwe Rathmann 8a8bfc4124 assertion added for skinlets without invokable constructor 2020-07-31 07:39:14 +02:00
Uwe Rathmann 151a62cdb7 default implementation for alignInput 2020-07-29 07:25:35 +02:00
Uwe Rathmann c35b81b106 making updateNode virtual 2020-07-29 07:22:04 +02:00
Uwe Rathmann d39501c1b9 TabChain -> FocusChain 2020-07-27 18:03:02 +02:00
Uwe Rathmann 14e844eb84 making setSkinStata public 2020-07-27 07:26:38 +02:00
Uwe Rathmann 79ac52110d lower/upper adjustements changed 2020-07-25 19:08:05 +02:00
Uwe Rathmann 0e2172db30 clipping fixed 2020-07-25 18:54:44 +02:00
Uwe Rathmann 89cedda359 shifting the focus when removing the active focus item from the focus
tab chain
2020-07-25 18:53:43 +02:00
Uwe Rathmann 9bd3e608ba QskBoundedRangeInput added 2020-07-25 18:46:04 +02:00
Uwe Rathmann fefbbe1ffe QskBoundedInput added 2020-07-25 14:19:14 +02:00
Uwe Rathmann bf4d401fd2 QskBoundedValueControl -> QskBoundedValueInput 2020-07-25 13:05:19 +02:00
Uwe Rathmann 2aadafc34c QskRangeControl -> QskBoundedValueControl 2020-07-25 12:50:26 +02:00
Uwe Rathmann 22230365b7 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-07-25 09:56:30 +02:00
Uwe Rathmann a31659dc58 obsolete decleration removed 2020-07-25 09:55:53 +02:00
Uwe Rathmann 2f69ca4388 QskSkinlet::removeTraillingNodes added 2020-07-23 09:29:45 +02:00
Uwe Rathmann d8aee0e2a0 QskIntervalF::width fixed 2020-07-23 09:29:18 +02:00
Uwe Rathmann 05c4be184f using intervals 2020-07-22 11:49:28 +02:00
Uwe Rathmann e461b46013 font property added 2020-07-15 16:17:50 +02:00
Uwe Rathmann 6cbc72b44e focus tab chain fixed 2020-07-15 13:30:24 +02:00
Uwe Rathmann 2bea439c80 limiting the focus indicator to the window 2020-07-15 12:45:20 +02:00
Uwe Rathmann 3b66787977 memory leak fixed 2020-07-03 14:55:57 +02:00
Uwe Rathmann 90bfc14a00 antizipate scrollbars before resizing the content item 2020-07-03 13:51:02 +02:00
Uwe Rathmann 94b2aec272 avoid invalid rects 2020-07-03 13:50:12 +02:00
Uwe Rathmann cf7603da37 focus tab chain fixed 2020-07-03 13:49:27 +02:00
Uwe Rathmann 15777421a2 handling initial empty sizes 2020-06-09 06:56:20 +02:00
Uwe Rathmann d611e9cf57 destructor code reverted 2020-05-24 10:07:35 +02:00
Uwe Rathmann 3919fc4938 since Qt 5.12 topLevel children are removed in ~QQuickWindow and we
don't need to do this in ~QskWindow anymore
2020-05-10 11:16:39 +02:00
Uwe Rathmann ecf49658f7 crash fixed, when updates happen on deconstruction of the window 2020-05-10 11:15:38 +02:00
Uwe Rathmann 4d262d0a83 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-05-09 16:17:56 +02:00
Uwe Rathmann 3f416c21f9 making -fanalyzer happy 2020-05-09 16:17:27 +02:00
Uwe Rathmann 56d5da7f2b better cast 2020-05-04 12:20:20 +02:00
Uwe Rathmann cb43ac7dee more C++11 specifier 2020-05-04 08:59:44 +02:00
Uwe Rathmann 8ab9c4cddb declared but not implemented method removed 2020-05-03 14:50:59 +02:00
Uwe Rathmann 2c9aa6635c more C++11 specifier 2020-05-03 14:24:17 +02:00
Uwe Rathmann 475a5a7dc1 more C++11 specifier 2020-05-03 14:06:56 +02:00
Uwe Rathmann acbfb9a006 more C++11 specifier 2020-05-03 14:02:54 +02:00
Uwe Rathmann 0fa33f6061 more C++11 specifier 2020-05-03 14:01:41 +02:00
Uwe Rathmann 4bc74e02df more C++11 specifier 2020-05-03 14:00:19 +02:00
Uwe Rathmann 5cbeca4921 more C++11 specifier 2020-05-03 13:59:27 +02:00
Uwe Rathmann bbf648b8bd more c++11 specifier 2020-05-03 13:47:10 +02:00
Uwe Rathmann 97be72453b more C++11 specifier 2020-05-03 13:46:23 +02:00
Uwe Rathmann 2dece458e4 more C++11 specifier 2020-05-03 13:40:19 +02:00
Uwe Rathmann 5fe6a9beb0 more C++11 specifier 2020-05-03 13:39:47 +02:00
Uwe Rathmann bc54bfbe97 formal changes for QskLayoutHint 2020-05-02 12:38:44 +02:00
Uwe Rathmann f920eee6c5 QskIntervalF introduced 2020-05-02 11:57:58 +02:00
Uwe Rathmann e108487d4e avoid Qt 5.15 deprecation warnings 2020-04-13 16:11:04 +02:00
Uwe Rathmann d5604823c2 missing include ( Qt 5.15-Beta2 ) added 2020-03-29 11:40:07 +02:00
Uwe Rathmann f4853e7849 fixing focusClipRect updates 2020-03-23 16:10:17 +01:00
Uwe Rathmann a6c9af503c QskSkin::stateMask added to block handling of states not being supported
from the skin
2020-03-19 14:10:50 +01:00
Uwe Rathmann 84a0927c0e beautified 2020-03-19 14:10:20 +01:00
Uwe Rathmann 0b77a24be0 missing status parameter added 2020-03-18 12:49:57 +01:00
Uwe Rathmann 167f7f628c QskGraphicPaintEngine::drawTextItem added 2020-03-17 12:01:05 +01:00
Uwe Rathmann fd919e9065 disable wheel handling 2020-03-16 16:38:02 +01:00
Uwe Rathmann efe053ecd2 clip rectangle updates fixed 2020-03-16 16:37:28 +01:00
Uwe Rathmann 6ea56cdf30 QskControl::focusIndicatorClipRect added 2020-03-16 13:17:51 +01:00
Uwe Rathmann b1c3c11984 obsolete comment removed 2020-03-13 18:11:56 +01:00
Uwe Rathmann 72b1fb48c9 using postEvent instead of sendEvent 2020-03-13 18:11:31 +01:00
Uwe Rathmann e8f155c482 code not compiling with 5.6 disabled 2020-03-13 15:05:01 +01:00
Uwe Rathmann 416759f3c6 QskTabBar::autoFitTabs added 2020-03-13 14:50:09 +01:00
Uwe Rathmann f257ad8f95 code improved 2020-03-13 14:04:28 +01:00
Uwe Rathmann f8e4117beb non-const tabBar getter added 2020-03-13 13:59:17 +01:00
Uwe Rathmann 130d2d1771 QskSizePolicy::transposed added 2020-03-13 13:57:56 +01:00
Uwe Rathmann 062713e8cc avoid using deprecated calls 2020-03-13 13:32:22 +01:00
Uwe Rathmann 53e924a999 flickable tabbars 2020-03-13 07:39:31 +01:00
Uwe Rathmann 3c7308e23f wrong velocity calculation fixed 2020-03-12 19:00:52 +01:00
Uwe Rathmann 7af6d6fd09 QSK_DEBUG_RENDER_TIMING does not work with Qt >= 5.12 2020-03-12 11:26:14 +01:00
Uwe Rathmann 1d4b8763b4 fixed for Qt >= 5.12 2020-03-12 11:17:43 +01:00
Uwe Rathmann c23b3fae18 avoid deprecation warnings 2020-03-12 09:59:46 +01:00
Uwe Rathmann 132095e8db avoid deprecation warnings 2020-03-12 09:59:07 +01:00
Uwe Rathmann 9fe283d24e beautified 2020-03-12 09:58:40 +01:00
Uwe Rathmann bd83f75e5d avoid deprecation warnings 2020-03-12 09:57:38 +01:00
Uwe Rathmann 263eef1e9a avoid deprecation warnings 2020-03-12 09:57:12 +01:00
Uwe Rathmann 89b8321ed7 avoid deprecation warnings 2020-03-12 09:56:38 +01:00
Uwe Rathmann 32b638a2eb qhighdpiscaling_p.h does not compile with disabled deprecations 2020-03-12 09:54:54 +01:00
Uwe Rathmann 7044bced9e accidently reverted fix reenabled 2020-03-11 14:34:50 +01:00
Uwe Rathmann 2981a47fed QskScrollBox added 2020-03-10 16:09:35 +01:00
Uwe Rathmann 911538180e QSK_DEBUG_RENDER_TIMING disabled 2020-03-10 10:42:24 +01:00
Uwe Rathmann 1941fbc847 QskControl::LayoutOutWhenHidden flag added 2020-03-10 10:30:44 +01:00
Uwe Rathmann 4dad15f591 assertion weakened to a warning 2020-03-10 10:28:39 +01:00
Uwe Rathmann 3fd4714bd9 clear + autodelete 2020-03-10 10:27:28 +01:00
Uwe Rathmann f303aeb295 clear + autodelete 2020-03-10 10:26:37 +01:00
Uwe Rathmann af224d3605 clear + autodelete 2020-03-10 10:26:10 +01:00
Uwe Rathmann ab3ec52e78 some defensive checks added 2020-03-10 10:24:02 +01:00
Uwe Rathmann 3f70ff764f string based setScreen method added 2020-03-10 10:21:59 +01:00
Uwe Rathmann d92c20e924 some helper functions, for retrieving information from the platform
abstraction
2020-03-10 10:17:44 +01:00
Uwe Rathmann e75937f711 clearing the focus flag, when removing an item from the window 2020-03-06 10:51:14 +01:00
Uwe Rathmann b4077ebe4d avoid using deprecated calls 2020-03-01 18:27:39 +01:00
Uwe Rathmann fe98439bd6 qskItemSize added for Qt < 5.10 2020-01-17 13:58:15 +01:00
Uwe Rathmann 71a18b43ae code for Qt < 5.8 fixed 2020-01-10 07:22:36 +01:00
Uwe Rathmann 05403599ae minor performance improvements 2020-01-03 11:40:57 +01:00
Uwe Rathmann ea055fc7a7 avoid incompatible Qt::endl calls 2020-01-02 17:49:10 +01:00
Uwe Rathmann fb87fe1251 beautified 2020-01-02 17:48:16 +01:00
Uwe Rathmann efabc6d2ee version compatible handling of QPainter::RenderHints 2020-01-02 12:21:32 +01:00
Uwe Rathmann 441488e41f QskGradientStop::setStop added 2020-01-02 12:20:15 +01:00
Uwe Rathmann fa1cff904c debug operator added, avoid new/delete 2019-12-30 20:06:46 +01:00
Uwe Rathmann 62e4dbf542 using auto 2019-12-30 20:04:22 +01:00
Uwe Rathmann f8c04461a3 optional QskTextLabel::Panel added 2019-12-15 13:57:19 +01:00
Uwe Rathmann 74867144b5 QskWindow::setCustomRenderMode fixed for Qt 5.14 2019-12-14 20:47:15 +01:00
Uwe Rathmann 122181d8a1 Qt 5.14 adjustments 2019-12-14 19:05:40 +01:00
Uwe Rathmann deaffd1f53 Qt 5.14 adjustments 2019-12-14 19:01:38 +01:00
Uwe Rathmann cb5f7df765 reset hint fixed 2019-12-14 16:40:18 +01:00
Uwe Rathmann 4e438df051 QskSkinnable::resetHint changed 2019-12-14 13:34:30 +01:00
Uwe Rathmann 8fccc35156 detection of non-translating transformations fixed 2019-12-05 11:26:48 +01:00
Uwe Rathmann 06959dfc86 not using Q_GADGET to avoid having a moc file, that needs to be included
in the standalone mode of svg2qvg
2019-12-05 10:08:11 +01:00
Uwe Rathmann 3046650f0d QskGraphic::Commandtypes added 2019-12-04 18:33:30 +01:00
Uwe Rathmann 49eb15da83 removeItem fixed 2019-12-03 17:21:56 +01:00
Uwe Rathmann 90c515be42 making some methods private 2019-11-29 17:33:26 +01:00
Uwe Rathmann 86293a65f1 indexOf fixed 2019-11-29 16:15:13 +01:00
Uwe Rathmann e9a8c0bc7f using subControlRect 2019-11-27 17:38:34 +01:00
Uwe Rathmann 3d58c94926 qskItemUpdateRecursive added 2019-11-05 11:47:56 +01:00
Uwe Rathmann 93ddbfa345 block implicitSize updates, when not being necessary 2019-10-29 10:56:26 +01:00
Uwe Rathmann d67d83dd85 using QOpenGLPaintDevice::setPaintFlipped 2019-10-29 07:02:30 +01:00
Uwe Rathmann 93e8009c78 0 filling of the FBO in the OpenGL path 2019-10-28 09:41:12 +01:00
Uwe Rathmann 1f59962360 devicePixelRatio detection moved to QskTextureRenderer 2019-10-27 08:11:47 +01:00