Commit Graph

501 Commits

Author SHA1 Message Date
Uwe Rathmann 3e40bfb257 adding the locale as property for the root item, so that resolving the
locale works from window to item
2019-01-21 15:21:42 +01:00
Uwe Rathmann dd090a9f6e comment as reminder added 2019-01-21 15:21:02 +01:00
Uwe Rathmann c27c100d64 inline comment improved 2019-01-10 20:07:55 +01:00
Uwe Rathmann cbf6ef10b8 disconnect from enabledChanged in the destructor 2019-01-09 10:08:31 +01:00
Uwe Rathmann 2670715097 broken comment fixed 2019-01-08 17:21:18 +01:00
Uwe Rathmann 07b6ad0e7a workaround for a dangling pointer usage in
QQuickWindowPrivate::polishItems added
2019-01-08 17:08:50 +01:00
Uwe Rathmann 56e4544c47 using c++11 iteration 2019-01-07 09:42:23 +01:00
Uwe Rathmann e1ca897478 uncrustified 2019-01-07 09:13:53 +01:00
Uwe Rathmann 4e54d1cb58 uncrustified 2019-01-04 13:42:16 +01:00
Uwe Rathmann 14444fc1fd interpolating colors improved 2019-01-04 11:53:16 +01:00
Uwe Rathmann 738695031b interpolation between an invalid and a valid gradient 2018-12-22 16:12:45 +01:00
Uwe Rathmann 775dca5792 QskSkinnable::setSkinState added to be able to have transitions between
states that differ in more than one flag
2018-12-22 16:11:24 +01:00
Uwe Rathmann 3716b04036 using QVariant::userType instead of QVariant::type 2018-12-20 16:40:06 +01:00
Uwe Rathmann de158d71b5 avoid copying of new animators 2018-12-20 14:38:01 +01:00
Uwe Rathmann 8473f5c2a1 avoid useless sizeHint calls 2018-12-19 10:02:14 +01:00
Uwe Rathmann 4409cee0cf typo fixed 2018-12-19 10:01:26 +01:00
Uwe Rathmann 16c21fa4e0 Direction flag added 2018-12-16 15:29:04 +01:00
Uwe Rathmann 763c920c2d minor changes 2018-12-14 09:11:00 +01:00
Uwe Rathmann dfa8170316 ignoring mouse events, when not being done on the scrollbars 2018-12-13 19:10:18 +01:00
Uwe Rathmann 9ea7409f68 handling of '\n' in texts fixed 2018-12-13 11:29:40 +01:00
Uwe Rathmann 270c94f89f QskTextOptions::effectiveElideMode added 2018-12-13 11:25:16 +01:00
Uwe Rathmann e97bca7859 using auto 2018-12-11 15:00:53 +01:00
Uwe Rathmann 4a035ee0ed typos fixed 2018-12-11 14:59:43 +01:00
Uwe Rathmann a9f059ede3 gtk_widget_gedon't block consecutive LayoutRequest
events as we don't know, when the receiver will have processed them
2018-12-11 14:58:48 +01:00
Uwe Rathmann 9a1e46e0ba QskPushButton::graphicSourceSize added to prevent raster graphics
from being scaled
2018-11-26 17:52:16 +01:00
Uwe Rathmann da89006102 making use of overloading QQuickItemPrivate
getImplicitWidth/getImplicitHeight
2018-11-26 08:50:44 +01:00
Uwe Rathmann 280ce5149d aspectRatio as parameter added, using IgnoreAspectRatio for graphics
what fixes resizing the background of the automotive example
2018-11-25 16:47:27 +01:00
Uwe Rathmann 5a9a4dfa89 signatures shortened 2018-11-25 16:35:06 +01:00
Uwe Rathmann b99dd147f2 QskControlPrivate separate declaration/implemetation 2018-11-25 12:52:37 +01:00
Uwe Rathmann cbc5d2b11f formal changes 2018-11-25 10:56:09 +01:00
Uwe f3d6cdd669 QskScrollArea respecting dynamic constraints 2018-11-17 09:22:11 +01:00
Uwe Rathmann c2ca7fd200 missing initialization of the buttonBox fixed 2018-11-08 17:40:52 +01:00
Uwe Rathmann 8a97403343 QskDialogSubWindow API improved 2018-11-08 13:33:30 +01:00
Uwe Rathmann 958e087943 distributing extra space at the borders fixed 2018-11-08 09:02:03 +01:00
Uwe Rathmann c1861f45b0 improving implementation of dialogs 2018-11-07 10:10:48 +01:00
Uwe Rathmann 2ddde243e1 cleaning up dialog classes 2018-11-06 19:00:42 +01:00
Uwe Rathmann b0e8a486a3 cleaning up dialog classes 2018-11-06 18:54:21 +01:00
Uwe Rathmann b398bfcc62 signals improved 2018-11-06 18:47:30 +01:00
Uwe Rathmann 96ec87a620 QskDialog::ButtonLayoutFlag added 2018-11-05 16:06:43 +01:00
Uwe Rathmann 2874d68d23 API cleanup 2018-11-05 13:50:41 +01:00
Uwe Rathmann b398d11310 QskDialog::StandardButton renamed to QskDialog::Action 2018-11-05 13:29:52 +01:00
Uwe Rathmann 11a4c79f0f code cleanup 2018-11-05 11:42:46 +01:00
Uwe Rathmann 04c1c883f6 code removed from QskControl::changeEvent as it is already done in
QskControl::event
2018-11-03 17:48:34 +01:00
Uwe Rathmann aeb29e855a better compile time checks 2018-11-03 17:14:09 +01:00
Uwe Rathmann 8227d8446c IsFunctorOrStaticFunction added 2018-11-03 17:13:47 +01:00
Uwe Rathmann 84e19c43f8 reminder to handle ItemChildRemovedChange added 2018-10-29 20:13:02 +01:00
Uwe Rathmann 5da92830df QskSubWindow titleBar improvements 2018-10-29 20:11:48 +01:00
Uwe Rathmann 85f816e42d broken implementation of Qt::AlignBottom fixed 2018-10-29 20:01:05 +01:00
Uwe Rathmann 856af42ec1 moc on enums in namespaces before Qt 5.8 workaround fixed 2018-10-26 16:24:57 +02:00
Uwe Rathmann 1f517d0cd1 metaobject inerfaces improved 2018-10-26 09:04:52 +02:00
Uwe Rathmann adaee2b5ab install rues 2018-10-26 09:04:08 +02:00
Uwe Rathmann 116dd01b94 including the margins to heightForWidth/widthForHeight calculations 2018-10-23 19:19:09 +02:00
Uwe Rathmann a3fea8413c only drop explicitly hidden items from layout calculations 2018-10-23 19:18:28 +02:00
Uwe Rathmann ae62e40b93 qskIsVisibleToParent added 2018-10-23 19:18:05 +02:00
Uwe Rathmann 7d39d8dbf6 including cpp files tp svg2qvg to drop runtime dependencies 2018-10-22 10:09:37 +02:00
Uwe Rathmann 2b6d0bc90a [Misc] moving QskRgbValue tp common 2018-10-22 10:05:57 +02:00
Uwe Rathmann 75e61edd07 some convenience methods to set text options 2018-10-19 12:53:45 +02:00
Uwe Rathmann f75de504c3 some inline comments added 2018-10-18 15:50:09 +02:00
Uwe Rathmann 8a9db8ed10 wrong maximumSize for spacer items without stretch fixed 2018-10-18 15:41:59 +02:00
Uwe Rathmann 2b84276019 heightForWidth/widthForHeight added 2018-10-18 15:41:33 +02:00
Uwe Rathmann f1ac0cc13d working on fade/slide in/out effects for popups 2018-10-10 08:55:03 +02:00
Uwe Rathmann 1ddb7aee6b pixel offset fixed 2018-10-05 15:43:47 +02:00
Uwe Rathmann 1d0058a42c QskControl::windowDeactivateEvent added 2018-10-05 14:20:46 +02:00
Uwe Rathmann e13f9eb4db QskPopup imoroved to allow for implementing priority based stacking
orders
2018-10-05 14:15:17 +02:00
Uwe Rathmann da0fb28290 QskPaintedNode/QskTextureRenderer added 2018-10-04 16:15:42 +02:00
Uwe Rathmann 6db5105fdc code related to QML access moved to an extra library: qmlexport 2018-10-04 10:23:28 +02:00
Uwe Rathmann 45027d2983 MSVC workaround added 2018-10-03 14:24:25 +02:00
Uwe Rathmann c14c7b0059 QskAspect::AllUserStates added 2018-10-02 07:29:54 +02:00
Uwe Rathmann cdc0c108ab not using QOpenGLTexture anymore and now we have access to the textureId
in a MSVC compatible way ( also not having to create a temporary QObject
for translating a QImage into a texture )
2018-09-30 18:09:17 +02:00
Uwe Rathmann 6b2b4c3017 getting rid of MSVC incompatible hacking private members 2018-09-28 10:07:18 +02:00
Uwe Rathmann 2e7c6c6676 QskTextInput::setEditing fixed ( includes removing of MSVC incompatible
code )
2018-09-28 07:30:56 +02:00
Uwe Rathmann a5b3a70e7d some temporary workarounds for MSVC problems 2018-09-23 17:25:32 +02:00
Uwe Rathmann a3c224c865 trying to work around MSVC issues 2018-09-23 16:36:58 +02:00
Uwe Rathmann f94373390b making MSVC happy 2018-09-23 11:02:00 +02:00
Uwe Rathmann b4edcddbf4 making clazy happy 2018-08-03 11:11:42 +02:00
Uwe Rathmann e9facebb29 using c++11 iteration 2018-08-03 08:46:02 +02:00
Uwe Rathmann 2a3811fcd9 QskGlobal include cleanup 2018-08-03 08:30:23 +02:00
Uwe Rathmann 0a92cb82db playing with clang-format 2018-08-03 08:15:28 +02:00
Uwe Rathmann 68bc2f032c dh 2018-07-31 17:32:25 +02:00
Uwe Rathmann ec101b7d56 don't handle touch events, otherwise we miss the synthesized mouse event 2018-07-26 15:45:05 +02:00
Uwe Rathmann e552788a08 missing handling og TouchBegin added 2018-07-26 14:44:52 +02:00
Uwe Rathmann 8d29b4b119 setCheckedState hook introduced 2018-07-26 12:24:27 +02:00
Uwe Rathmann 75608b1d45 missing emit of currentIndexChanged fixed 2018-07-26 12:23:43 +02:00
Uwe Rathmann 56573670c4 enabling wheel according to readOnly fixed 2018-07-26 12:22:40 +02:00
Uwe Rathmann 7e765a903a using QFontMetricsF 2018-07-19 15:21:47 +02:00
Uwe Rathmann 465009bce2 forward declaration for QVariant 2018-07-19 15:21:28 +02:00
Uwe Rathmann aaac57de94 unused member removed 2018-07-19 14:10:48 +02:00
Uwe Rathmann 0b3933f800 forward declarations fixed 2018-07-15 09:46:21 +02:00
Uwe Rathmann 4b67e7f37b better handling of devicePixelRatio 2018-07-13 15:09:25 +02:00
Uwe Rathmann 609ab2d54b blockin update calss, when not having any content ( avoids warnings from
Qt, when being built in debug mode )
2018-07-13 08:37:44 +02:00
Uwe Rathmann 3f28bd463f beautified 2018-07-05 13:25:02 +02:00
Uwe Rathmann 852504da05 beautified 2018-07-05 13:02:25 +02:00
Uwe Rathmann 73d911cee2 QskInputGrabber added 2018-07-02 08:08:38 +02:00
Uwe Rathmann 7ee3ff436d never call update, when having no content 2018-07-02 08:08:08 +02:00
Uwe Rathmann d98302a722 wrong insertion of the input grabber fixed 2018-06-26 11:55:57 +02:00
Uwe Rathmann 47962506e9 bad loop fixed 2018-06-26 11:46:51 +02:00
Uwe Rathmann 5e6d5ebceb started to improve QskPopup and friends 2018-06-26 11:11:37 +02:00
Uwe Rathmann c752ee547f QskControl::isVisibleTo added 2018-06-26 11:10:44 +02:00
Uwe Rathmann dcf77a0ae1 obsolete comments removed 2018-06-25 12:39:46 +02:00
Uwe Rathmann 370800d9c8 workaround added ( extra flahg in QskWindow ) to work around the missing
NoMousePropagation attribute
2018-06-25 12:36:15 +02:00
Uwe Rathmann 9320b5c5be helping the beautifier 2018-06-25 12:35:42 +02:00
Uwe Rathmann c6317a9f2b explicitely ungrab on reset 2018-06-19 10:46:51 +02:00
Uwe Rathmann f10c6437d6 sending the initial input method event for clearing the cursor
asynchronously
2018-06-14 14:37:31 +02:00
Uwe Rathmann 5cc45e35e2 typos fixed 2018-06-14 13:19:04 +02:00
Uwe Rathmann a8288f21b4 workaround for QTBUG: 68874 2018-06-14 12:44:08 +02:00
Uwe Rathmann db3f1e3c19 corner case for simultaneous mouse press events on different screens
fixed
2018-06-14 11:35:47 +02:00
Uwe Rathmann b0a87163bf Qt 5.6 incompatibility fixed 2018-06-12 20:50:32 +02:00
Uwe Rathmann e70bcecae3 pointless line removed 2018-06-12 20:27:16 +02:00
Uwe Rathmann 54f4655698 support for input panels per window added 2018-06-12 18:43:14 +02:00
Uwe Rathmann 1fc4d3af18 crash fixed 2018-06-12 11:03:03 +02:00
Uwe Rathmann 9e5ded43c6 sending of input method update hints improved 2018-06-12 10:56:06 +02:00
Uwe Rathmann e195614654 input panel again 2018-06-12 08:20:48 +02:00
Uwe Rathmann f8982e2177 heightForWidth/widthForHeight generalized for autoLayoutChildren 2018-06-12 08:19:28 +02:00
Uwe Rathmann cb6faf7a1f input context classes reorganized: the whole idea if using input methods
for a virtual keyboard misses fundamental problems like f.e. having an
application with more than one window/screen.
2018-06-11 18:55:48 +02:00
Uwe Rathmann 87eea5a2a9 QskTextInput signals fixed 2018-06-11 11:34:12 +02:00
Uwe Rathmann 0e53dc63ea unused code removed 2018-06-11 09:01:37 +02:00
Uwe Rathmann 87f4d718c5 QString version of setGraphicSource added 2018-06-07 07:24:34 +02:00
Uwe Rathmann 1e71259406 styling of QskInputPanel 2018-06-05 16:55:36 +02:00
Uwe Rathmann a62e7fb3e2 sizePolicy of the inputProxy fixed 2018-06-05 12:46:13 +02:00
Uwe Rathmann e300755027 input method stuff 2018-06-05 11:20:54 +02:00
Uwe Rathmann b17d8dcb68 creating the input panel accidently fixed 2018-06-04 10:20:52 +02:00
Uwe Rathmann 9f78660f30 inputpanel classes reorganized, coming closer to something useful 2018-06-04 10:00:52 +02:00
Uwe Rathmann ce50d49312 keyboard handling improved 2018-06-03 11:01:22 +02:00
Uwe Rathmann 23eec85708 moving code from QskInputPanel 2018-06-02 17:10:41 +02:00
Uwe Rathmann 11dd05ff49 code moved to QskInputManager 2018-06-01 17:26:22 +02:00
Uwe Rathmann 186b18587b QskInputManager introduced 2018-06-01 12:00:31 +02:00
Uwe Rathmann 221b573287 input context changes 2018-06-01 09:45:02 +02:00
Uwe Rathmann b97a43008c layout code moved from QskInputPanel to QskBox 2018-05-30 11:47:46 +02:00
Uwe Rathmann 62de379794 heightForWidth/widthForHeight improved 2018-05-30 11:05:02 +02:00
Uwe Rathmann 4eb74f5b71 working with nested gesture recognizers fixed 2018-05-29 12:05:16 +02:00
Uwe Rathmann 0c5dc0ce37 registration of text predictions removed from QskInputContext 2018-05-09 17:01:30 +02:00
Uwe Rathmann e5d6fe0dc3 QskInputContext is no platform input context anymore to avoid forwarding
private APIs to applicaton code
2018-05-09 15:45:43 +02:00
Uwe Rathmann b29f688df2 reminding comment added 2018-05-09 15:45:10 +02:00
Uwe Rathmann c2d8f0f6fe QskControl::setExplicitSizeHint fixed 2018-05-09 14:13:26 +02:00
Uwe Rathmann 6b47678805 input panel improvements 2018-05-09 08:20:59 +02:00
Uwe Rathmann f9ef60e2d5 handle window loss in pressed state 2018-05-09 08:20:32 +02:00
Uwe Rathmann 1a9a08636b QskResizable merged into QskControl. The memory of the explicit size
hints is allocated lazily as in the most cases a control does not
have them at all
2018-05-08 10:34:00 +02:00
Uwe Rathmann 8096ef0eff beautified 2018-05-08 10:33:31 +02:00
Uwe Rathmann 8ed1036839 memory leak fixed - buttons were not deleted in case of dialogs, that
have never been shown
2018-05-08 10:32:22 +02:00
Uwe Rathmann c46b105879 sizeHints renamed to explicitSizeHints, widthForHeight/heightForWidth
moved to QskControl
2018-05-01 13:55:26 +02:00
Uwe Rathmann e859075f6a unused enum removed 2018-05-01 12:51:14 +02:00
Uwe Rathmann 02e6a65b07 code moved from QskControl to QskQuick 2018-05-01 12:41:20 +02:00
Uwe Rathmann 1ba0fd40bc code moved from QskControl to QskQuick 2018-05-01 12:26:59 +02:00
Uwe Rathmann c7ae7baae2 using QStringList instead og QVector< QString > - although QList is not
the better choice
2018-05-01 11:52:29 +02:00
Uwe Rathmann 456bf48dec unused QskVirtualKeyboard::event removed 2018-05-01 11:51:56 +02:00
Uwe Rathmann 5636ddf329 reformat 2018-05-01 11:50:41 +02:00
Uwe Rathmann 9fe1d45345 QskGraphicLabel::setSource( QString ) added 2018-05-01 11:50:06 +02:00
Uwe Rathmann 3ffd9b3a71 input panel improved 2018-04-30 10:03:51 +02:00
Uwe Rathmann 7fe675d74d input proxy feature added for QskInputPanel 2018-04-27 16:55:50 +02:00
Uwe Rathmann 602e3748df input comntext improvements 2018-04-27 13:48:51 +02:00