Commit Graph

1530 Commits

Author SHA1 Message Date
Uwe Rathmann b00edfce28 interpolation between graphic filters fixed 2018-01-06 17:58:53 +01:00
Uwe Rathmann c989c61d3f alignment of metrics improved and disabled 2018-01-06 17:58:10 +01:00
Uwe Rathmann 2df8d81174 layout code fixed 2018-01-05 09:36:55 +01:00
Uwe Rathmann 277d8dd8d6 stable calculation of text base lines, so that text don't "wobble"
anymore during translations of margins/paddings
2018-01-04 13:59:51 +01:00
Uwe Rathmann 6108af2c84 unused parameter removed 2018-01-03 17:24:27 +01:00
Uwe Rathmann 184157a025 code simplified 2018-01-03 17:23:40 +01:00
Uwe Rathmann ed9433c229 no reason for recreating a texture, when it is only translated 2018-01-03 15:44:40 +01:00
Uwe Rathmann 6edeca7360 wheel event handler improved - more work to do 2018-01-03 15:05:35 +01:00
Uwe Rathmann eafd887f9c rounding issues when aligning QRects fixed ( no more jumping SVGs when
changing skins )
2018-01-03 13:10:55 +01:00
Uwe Rathmann 6813d643d3 skins factories can be loaded as plugins 2018-01-03 11:57:05 +01:00
Uwe Rathmann bfd646c153 making compiler checks happy 2018-01-03 09:24:23 +01:00
Uwe Rathmann 6a23822f3b bad blocking of implicitSize change notifications fixed 2018-01-03 09:22:45 +01:00
Uwe Rathmann 95ffcdaa23 some fixes 2017-12-22 14:15:24 +01:00
Uwe Rathmann 6e724b465c destructor of QskWindow fixed hen one toplevel item is destroying
another
2017-12-19 10:32:05 +01:00
Uwe Rathmann 2500f5c8c4 more accurate capturing for lambdas 2017-12-14 09:41:41 +01:00
Uwe Rathmann d63fae938d less connections in QskControl::QskControl 2017-12-14 09:41:10 +01:00
Uwe Rathmann 51d1e9fe59 slightly faster constructor by avoiding some connections 2017-12-12 20:02:48 +01:00
Uwe Rathmann 4c74d9c19a introducing Q_FALLTHROUGH 2017-12-11 08:58:57 +01:00
Uwe Rathmann 920ed2232c memory problems fixed 2017-12-08 13:56:35 +01:00
Uwe Rathmann 5a8d633239 satisfying clang pedantic checks 2017-12-07 17:28:23 +01:00
Uwe Rathmann a122b19df0 satisfying clang compiler checks 2017-12-07 17:12:52 +01:00
Uwe Rathmann ee4317ccd4 satisfying clang pedantic checks 2017-12-07 17:04:05 +01:00
Uwe Rathmann d55f1583ee clange pedantic flags satisfied 2017-12-07 16:53:11 +01:00
Uwe Rathmann bef02983f3 broken gcc version fixed 2017-12-07 12:59:05 +01:00
Uwe Rathmann 5858d9a843 finally ending up with a named struct, what seems to be the only thing
that is accepted from all compilers
compilers
2017-12-07 12:44:58 +01:00
Uwe Rathmann a41d78be4f bugs found by the clang sanitizer 2017-12-07 11:54:06 +01:00
Uwe Rathmann 47a8df5214 late destruction fixed 2017-12-07 11:53:34 +01:00
Uwe Rathmann c1e7571e10 QskShortcut moved to QskShortcutMap, new class QskShortcut for the QML
use case ( makes sense from C++ as well, but is less efficient as it needs one QObject per
shortcut )
2017-12-06 17:01:10 +01:00
Uwe Rathmann ccf1834a9c ugly templated code slightly more readable 2017-12-06 12:23:43 +01:00
Uwe Rathmann c66292f605 QskShortcut improved 2017-12-05 17:40:21 +01:00
Uwe Rathmann 85e3af73d9 support for shortcut connections on different threads added 2017-12-05 13:10:50 +01:00
Uwe Rathmann 8175719679 isTabFence/isShortcutScope added 2017-12-05 13:10:17 +01:00
Uwe Rathmann 81acf6b610 Qt5 type of connection for QskShortcut 2017-12-03 17:58:18 +01:00
Uwe Rathmann 6644be15bd using QGlobalStatic 2017-12-01 09:33:13 +01:00
Uwe Rathmann 698c29d925 memory leak fixed 2017-11-30 17:10:59 +01:00
Uwe Rathmann 12cd9a16b1 setText/setGraphic/setGraphicSource need to be slots 2017-11-21 18:10:10 +01:00
Uwe Rathmann 6f2419de4c bad key event handling fixed 2017-11-21 09:05:09 +01:00
Uwe Rathmann 0d00b52730 obsolete code removed 2017-11-18 18:08:01 +01:00
Uwe Rathmann 70dd4ce86e call polish, when children are added in autoLayouChildren mode 2017-11-18 13:52:48 +01:00
Uwe Rathmann 2ebfd306e1 having valid layoutRects for buttons 2017-11-17 08:03:38 +01:00
Uwe Rathmann 559c73eae8 expliciely removing the clipe item to avoid unexpected calls in the
destructor
2017-11-09 19:59:51 +01:00
Uwe Rathmann 708c7e81f2 handling Qt::GlobalColor 2017-11-09 19:59:32 +01:00
Uwe Rathmann 3f979fa6af moving code from QskControl to QskControlPrivate - beside hiding an API
it also works around a bug found with gcc 5/6 for -O2
2017-11-07 19:00:29 +01:00
Uwe Rathmann 4b20544cd6 working around a gcc optimzation bug with gcc 4/5/6 gcc 7 seems to be
o.k.
2017-11-03 19:58:21 +01:00
Uwe Rathmann a9d0628dcd never using focus scopes without also being a tab fence ( currently only popups ). Otherwise navigation over the focus tab chain is broken. 2017-11-03 11:47:21 +01:00
Uwe Rathmann f2f2724ea5 buggy implementation of QskRgbValue::toTransparent fixed 2017-11-02 18:49:51 +01:00
Uwe Rathmann b1a137100a using Qt::PopupFocusReason as reason, when ... yes the focus changes
because of a QskPopup
2017-11-02 17:42:19 +01:00
Uwe Rathmann 356a4a38c2 unused include removed 2017-11-02 17:21:09 +01:00
Uwe Rathmann 0d63bedf70 bautified 2017-11-02 16:27:59 +01:00
Uwe Rathmann 33efb2d17a better focus handling for popups 2017-11-02 16:25:15 +01:00
Uwe Rathmann ee7a404ae1 adjusting the stack order inside layouts to have a proper tab focus chain 2017-11-01 12:48:41 +01:00
Uwe Rathmann 5fad5bbef0 code simplified 2017-10-30 15:23:30 +01:00
Uwe Rathmann 6db25ff7bc making clazy happier 2017-10-30 14:38:30 +01:00
Uwe Rathmann 3504525840 making clazy happier 2017-10-30 12:06:19 +01:00
Uwe Rathmann b754afbc87 forgotten signal addded 2017-10-30 08:53:34 +01:00
Uwe Rathmann 58a9c5303f making clazy happier 2017-10-30 08:48:49 +01:00
Uwe Rathmann 65184fb389 shadowing of QQuickWindow::visibility fixed 2017-10-30 08:43:28 +01:00
Uwe Rathmann c3b6830eb5 making clazy happier 2017-10-30 08:33:43 +01:00
Uwe Rathmann 9caad94075 making clang happy 2017-10-30 08:08:58 +01:00
Uwe Rathmann 324ed2f80c QT_STRICT_ITERATORS enabled for gcc 2017-10-29 14:01:06 +01:00
Uwe Rathmann dcb02e9a72 scrollbars fixed 2017-10-25 17:10:50 +02:00
Uwe Rathmann 958b609306 after giving up misusing private objects, we are free to move our
private data back to to private object.
2017-10-25 14:53:49 +02:00
Uwe Rathmann 19b64d5b97 compiler warning fixed 2017-10-25 10:41:34 +02:00
Uwe Rathmann 7322f431cc QskRangeControl::setReadOnly fixed 2017-10-25 07:48:10 +02:00
Uwe Rathmann 2c0733182a Qt::FocusPolicy added. Hope this implementation does not break common
standards for mouse/wheel handling like being done in QC2
2017-10-24 19:32:54 +02:00
Uwe Rathmann 68125cfc7e more code to the public API 2017-10-23 10:19:49 +02:00
Uwe Rathmann 94b6c63332 more parts of the QskSkinlet API being public 2017-10-23 08:36:19 +02:00
Uwe Rathmann 610bc48931 APIs fot creating text nodes changed 2017-10-23 07:46:46 +02:00
Uwe Rathmann d7d3047141 QskSkinRenderer removed 2017-10-20 20:26:39 +02:00
Uwe Rathmann a7a5d53821 QskSkinRenderer removed 2017-10-20 20:26:14 +02:00
Uwe Rathmann 2aa7877152 cleaning up QskTextNode 2017-10-20 15:29:50 +02:00
Uwe Rathmann 609bd9aac7 QskTextOptions improved 2017-10-20 13:31:55 +02:00
Uwe Rathmann f21bed63c7 started to remove QskSkinRenderer 2017-10-20 13:09:30 +02:00
Uwe Rathmann 958196db19 QskBoxOptions removed 2017-10-20 09:17:13 +02:00
Uwe Rathmann 2f32d2cbc6 minimum size for material buttons 2017-10-19 18:07:29 +02:00
Uwe Rathmann 83cf24737b using QskBoxNode for the subwindow title bar 2017-10-19 16:24:43 +02:00
Uwe Rathmann cc7d3eb473 also using updateBoxNode for QskSubWindowArea::Panel 2017-10-19 15:23:56 +02:00
Uwe Rathmann dcc4cee5da using updateBoxNode for the popup overlay 2017-10-19 15:11:55 +02:00
Uwe Rathmann 5814e94cff combined setting of color/metric animators reverted as also need
animators for flags.
2017-10-19 08:44:16 +02:00
Uwe Rathmann 6df27afcc0 APIs for setting box hints changed 2017-10-18 20:00:06 +02:00
Uwe Rathmann b3e4360ad1 avoiding some pedantic compiler warnings 2017-10-18 19:51:29 +02:00
Uwe Rathmann e746870cbb beautified 2017-10-18 19:50:34 +02:00
Uwe Rathmann 75395e2900 QskRgbValue::toTransparent added 2017-10-18 19:47:23 +02:00
Uwe Rathmann 86895c2fed some constructors as constexpr 2017-10-18 19:45:56 +02:00
Uwe Rathmann 646207a8d8 reordeered in alphabetical order 2017-10-18 19:43:23 +02:00
Uwe Rathmann e5a053462c QskInputPanel fixed 2017-10-17 19:02:02 +02:00
Uwe Rathmann e6f0088ae4 All box subcontrols are displayd with vertex lists instead of
textures
    now. Implementation is almost complete beside of the not yet done Qt
    antialiasing mode. Not all sort of linear gradients ( see
    QLinearGradients ) are implemented - needs 1-2 days more.
    The aspect flags for box primitives have been substantially changed
from
    too atomic to more strutured units.
    The skins are currently incomplete - will be fixed later.
2017-10-17 17:34:00 +02:00
Uwe Rathmann 6479937294 All box subcontrols are displayd with vertex lists instead of textures
now. Implementation is almost complete beside of the not yet done Qt
antialiasing mode. Not all sort of linear gradients ( see
QLinearGradients ) are implemented - needs 1-2 days more.
The aspect flags for box primitives have been substantially changed from
too atomic to more strutured units.
The skins are currently incomplete - will be fixed later.
2017-10-17 17:29:02 +02:00
Uwe Rathmann 917636992b some debug code for counting lookups in the hint tables 2017-09-06 10:22:59 +02:00
Uwe Rathmann abf9b1763e typos fixed 2017-09-05 12:48:58 +02:00
Uwe Rathmann ad5d2ddf66 QskBorderMetrics::rotated + QskBoxColors::rotated added 2017-09-03 14:56:39 +02:00
Uwe Rathmann 1866ecb2f3 bad hash value calculation of QskBoxNode fixed 2017-09-03 14:55:21 +02:00
Uwe Rathmann b03ee5b11d QskBorderMetrics::toAbsolute ( = resolving Qt::RelativeSize metrics )
added
2017-09-01 15:49:00 +02:00
Uwe Rathmann 8d80b6acc1 minor QskPageIndicator cleanups 2017-09-01 13:09:24 +02:00
Uwe Rathmann 8ba11e2136 unused buttonShift method removed QskPushButtonSkinlet, this has to be
done by setting the padding
2017-09-01 12:28:20 +02:00
Uwe Rathmann d6902f144c using QskSeparator::Panel | QskAspect::Size for the thickness of a
separator
2017-09-01 12:27:08 +02:00
Uwe Rathmann 16585a708d harmonizing skinlet code 2017-09-01 11:55:55 +02:00
Uwe Rathmann be146f2480 unused code removed 2017-08-31 14:12:00 +02:00
Uwe Rathmann d2d37852a2 suing initSizePolicy in constructors to avoid potential problems from
layout requests coming before the parent has been constructed completely.
2017-08-31 09:09:05 +02:00
Uwe Rathmann cf58650c05 dynamic constraints for QskStackBox added 2017-08-31 08:50:24 +02:00
Uwe Rathmann ff9e9ab63c starting to configure box subcontrols/nodes with
QskBoxColors/QskBorderMetrics
2017-08-28 17:42:11 +02:00
Uwe Rathmann 42981403e7 QskSkin::setGraphicRole, QskSkin::setFontRole introduced 2017-08-28 13:20:01 +02:00
Uwe Rathmann 46da086092 QskSkinnable::subControlRect introduced to avoid having to use
QskSkinlet in application code
2017-08-28 10:15:47 +02:00
Uwe Rathmann 93f5552a4e don't fall back on QskAspect::Control, when resolving from the local
skin hint table
2017-08-24 13:06:20 +02:00
Uwe Rathmann 6a0c6aa6bd more complex types of skin hints ( starting with QskMargins, but more to
come )
2017-08-23 14:53:29 +02:00
Uwe Rathmann 230bd83f61 calculation of inner/outer margins for boxes having a radius fixed 2017-08-23 08:45:32 +02:00
Uwe Rathmann 13d6719a5f QskSkinHintTable introduced to share more code between accessing local
and global hints
2017-08-22 20:50:55 +02:00
Uwe Rathmann a57915c6f0 introducing high level APIs for setting of font and graphic roles for
Text/Graphic-Label
2017-08-22 20:15:11 +02:00
Uwe Rathmann 3c40903ea9 cleanup og the the skinHint retrieving 2017-08-22 19:47:06 +02:00
Uwe Rathmann 1adcce7347 as the number of local hints is supposed to be small
we don't need to have an extra lookup table for the animator hints.
2017-08-22 11:57:10 +02:00
Uwe Rathmann b6df087756 harmonizing handling of local/global hint tables 2017-08-22 09:44:56 +02:00
Uwe Rathmann 4fde9abd02 making QskControl::childMouseEventFilter protectedagain 2017-08-21 15:56:26 +02:00
Uwe Rathmann 9f7453a0d5 typo fixed 2017-08-21 15:55:55 +02:00
Uwe Rathmann e169645ac5 typos fixed 2017-07-30 14:30:50 +02:00
Uwe Rathmann f3ebc74f44 playing with the inputpanel example to get the virtual keyboard running 2017-07-28 13:06:59 +02:00
Uwe Rathmann ce10af1c98 return early with no node, when trying to create textures from empty
rects
2017-07-27 15:50:56 +02:00
Uwe Rathmann 8a806a5386 registering of subcontrols has to start with 1, 0 is reserved for QskAspect::Control 2017-07-27 15:49:21 +02:00
Uwe Rathmann e5a0571cb0 creating of default skins by accident fixed ( needs only to be done, when
the application has no other skins already defined )
2017-07-26 17:50:41 +02:00
Uwe Rathmann 2b0a39494f interpolating between color-filter and no-color-filter ( and v.v. )
added for skin transitions
2017-07-26 17:48:52 +02:00
Uwe Rathmann 6a12eeda08 convenience setters added 2017-07-26 17:48:34 +02:00
Uwe Rathmann 40aeb80618 respecting all local skin hints during skin transitions 2017-07-26 13:21:44 +02:00
Uwe Rathmann e5c2bd893b pontless include removed 2017-07-26 09:38:38 +02:00
Uwe Rathmann 3ef6e30857 default nop implementation for QskSkinTransition::updateSkin 2017-07-25 21:32:12 +02:00
Uwe Rathmann dd109b1283 [Misc] QskGraphicLabel::Stretch mode fixed 2017-07-25 10:38:43 +02:00
Uwe Rathmann 7fdd3322fb QskLineEdit/QskImage moved to playground 2017-07-24 07:48:36 +02:00
Uwe Rathmann e3a07d8cca Experimental and unfinished QskImage/QskLineEdit classes moved to a new
playground area
2017-07-24 07:47:09 +02:00
Uwe Rathmann 972e04fd52 Blocking Animator events from the scene graph thread to avoid running
into QCoreApplication assertions. This is a workaround only as starting
animators happens in QskInputPanel and shuld be avoided there.
2017-07-24 07:43:59 +02:00
Uwe Rathmann 6dccfb1de5 QskSkinTransition fixed 2017-07-23 16:36:40 +02:00
Uwe Rathmann 89695a82d5 README improved 2017-07-22 18:17:53 +02:00
Uwe 3cdfeaaf1c initial commit 2017-07-21 18:21:34 +02:00