Commit Graph

546 Commits

Author SHA1 Message Date
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
Uwe Rathmann 16efc695b9 more changes concering the input context 2018-04-26 14:42:33 +02:00
Uwe Rathmann 688ea07c02 code moved from inputcontext to inputpanel 2018-04-23 14:37:17 +02:00
Uwe Rathmann dfe2b875fd key composition moved to QskInputContext 2018-04-23 14:06:40 +02:00
Uwe Rathmann 4ce1780f90 Qt 5.6 incompatibilities fixed 2018-04-23 10:42:37 +02:00
Uwe Rathmann 48c897f825 also accepting autorepeated Key_Space/Key_Select, even if this is not in line with
what QAbstractButton does
2018-04-19 15:27:45 +02:00
Uwe Rathmann 63cb3bde5d updates, when the window size is changing 2018-04-19 09:39:46 +02:00
Uwe Rathmann ddbc5db920 using a renderjob for restoring the componentComplete flags 2018-04-19 09:33:24 +02:00
Uwe Rathmann 6e2e80d2de QskTextInput/QskInputPanel improvements 2018-04-18 19:41:46 +02:00
Uwe Rathmann 3f8616c084 QskTextInput improved 2018-04-18 10:46:11 +02:00
Uwe Rathmann a950203e7b fixed for multiple windows with different thread contexts 2018-04-17 14:46:50 +02:00
Uwe Rathmann 34cc82dd70 QskTextInput/QskInputPanel improved 2018-04-13 16:32:48 +02:00
Uwe Rathmann 79c53bb1c7 workaround for setting the focus with Qt::PopupFocusReason 2018-04-13 16:23:09 +02:00
Uwe Rathmann e2ca55819e locale updates fixed 2018-04-12 13:32:28 +02:00
Uwe Rathmann ed558f3021 wrong return value when inheriting the locale fixed 2018-04-12 13:07:58 +02:00
Uwe Rathmann d1ecec2ad8 improving QskInputContext 2018-04-12 12:03:51 +02:00
Uwe Rathmann 0ee83c1e32 QskInputContext improvements 2018-04-11 17:33:43 +02:00
Uwe Rathmann 67dee082ec filtering of input method events moved to QskInputContext 2018-04-11 08:58:14 +02:00
Uwe Rathmann 02ea027ca8 making clang happier 2018-04-10 18:31:49 +02:00
Uwe Rathmann 10a3435e91 QskInputPanel reintroduced being a composite of QskVirtualKeyboard +
QskInputSuggestionBar
2018-04-10 16:51:35 +02:00
Uwe Rathmann 1513d3716f QskTextInput inproved 2018-04-09 10:05:59 +02:00
Uwe Rathmann 546044f916 layout code with transformations 2018-04-06 18:07:12 +02:00
Uwe Rathmann 07d28529be QskVirtualKeyboard much simpler now 2018-04-06 17:30:24 +02:00
Uwe Rathmann 80c41c53e0 inputpanel subdir introduced 2018-04-06 11:27:10 +02:00
Uwe Rathmann 84649f74f1 for some reason accessing QMethodInputPrivate makes the sanitizer complaining 2018-04-06 09:00:41 +02:00
Uwe Rathmann 469e110f82 code simplified 2018-04-06 09:00:09 +02:00
Uwe Rathmann f4060f2e75 virtual keyboard related stuff improved 2018-04-05 14:18:15 +02:00
Uwe Rathmann 7b2e63c7e5 dead inputcontext related code removed 2018-04-04 20:19:47 +02:00
Uwe Rathmann 26f8e1b936 improving the input context 2018-04-04 12:05:01 +02:00
Uwe Rathmann 12a938e653 virtual keyboard improvements 2018-04-04 10:15:59 +02:00
Uwe Rathmann 777a134645 improving text input classes 2018-04-03 20:15:20 +02:00
Uwe Rathmann 26417ed49a initial version of QskTextInput wrapping QQuickTextInput 2018-04-03 10:47:21 +02:00
Uwe Rathmann 6f4a0045d5 using subControlRect 2018-04-03 10:46:55 +02:00
Uwe Rathmann 0a0acb5e27 simplifying the inputcontext stuff 2018-04-02 17:01:04 +02:00
Uwe Rathmann d947fb3999 input panel stuff 2018-04-01 12:47:44 +02:00
Uwe Rathmann 0fea82dfff constructor code improved 2018-03-31 18:34:34 +02:00
Uwe Rathmann 9bf518145d compiler errors/warnings fixed 2018-03-30 15:04:26 +02:00
Peter Hartmann 7b8f0625c1 Add Pinyin / Hunspell and some more refactoring (#58)
* more keyboard refactoring

* keyboard: Add Pinyin and Hunspell, and change suggestions API

* Add object files to gitignore
2018-03-30 10:15:05 +02:00
Peter Hartmann 66677067d5 remove keyboardRect() (#57) 2018-03-28 19:05:20 +02:00
Peter Hartmann b497b776ae merge changes from downstream (#56)
* keyboard: Rename some classes

* keyboard: adapt some files from downstream
2018-03-28 18:01:25 +02:00
Peter Hartmann b68fc92cc9 keyboard: fix layout calculation 2018-03-28 15:49:45 +02:00
Peter Hartmann 7af9cc6cdf input panel: derive from QskBox 2018-03-28 15:31:44 +02:00
Peter Hartmann 2951523aaf Don't use a tab fence 2018-03-28 14:01:26 +02:00
Peter Hartmann 745adf463e keyboard: Store ints rather than Qt::Keys 2018-03-28 12:02:10 +02:00
Peter Hartmann ee5cffdc79 keyboard: Fix special characters mode 2018-03-28 10:53:06 +02:00
Peter Hartmann 60c16c82c8 keyboard: Make key buttons work
Not sure whether this is the right way...
2018-03-27 19:20:37 +02:00
Peter Hartmann ddea04445c keyboard: Fix focusing / tab key 2018-03-27 17:05:20 +02:00
Peter Hartmann 412267cf9a keyboard: Make auto repeat work 2018-03-27 17:03:33 +02:00
Peter Hartmann 02da3993f2 keyboard: make font size grow 2018-03-27 17:02:14 +02:00
Peter Hartmann fbdfb5aa19 create UI in constructor, no need to defer anymore 2018-03-27 17:02:12 +02:00
Peter Hartmann fcba898217 fix layout 2018-03-27 16:46:21 +02:00
Peter Hartmann a28909327b Add subcontrol for input panel 2018-03-27 16:40:53 +02:00
Peter Hartmann 80249f0c30 QskInputPanel: Support margins 2018-03-27 16:39:54 +02:00
Peter Hartmann debd286b4d input panel: Apply style to new input panel 2018-03-27 16:38:42 +02:00
Peter Hartmann 5a250eff8b Fix input panel event propagation 2018-03-27 16:37:32 +02:00
Peter Hartmann e365592457 new input panel code 2018-03-27 16:37:27 +02:00
Peter Hartmann 2e3834acf9 input panel formatting 2018-03-27 16:33:48 +02:00
Uwe Rathmann 374f39c87b const added 2018-03-25 16:17:46 +02:00
Uwe Rathmann de6ab7f7aa qskSetItemGeometry added 2018-03-24 18:05:57 +01:00
Uwe Rathmann 5447aa30fa limit the flood of LayoutRequest events 2018-03-23 09:55:48 +01:00
Uwe Rathmann 6005336cf8 only animate color filters, when the transition affects colors 2018-03-23 09:54:35 +01:00
Uwe Rathmann 736a28d02f QskSkinTransition fixed to work with graphic roles 2018-03-22 11:22:13 +01:00
Uwe Rathmann c4325d5f45 interpolating QskColorFilter fixed 2018-03-22 11:21:02 +01:00
Uwe Rathmann bc200c879e trailing spaces removed 2018-03-22 11:20:13 +01:00
Uwe Rathmann fc63f316b4 focus tab chain update fixed, when re-inserting am item at the end, that had already been
inserted before
2018-03-20 14:57:29 +01:00
Uwe Rathmann c88ae44687 unused color table removed 2018-03-15 20:18:53 +01:00
Uwe Rathmann 4cd45201f6 more compile time checks, when using QskMetaFunction 2018-03-14 14:45:39 +01:00
Uwe Rathmann ee3ac13e36 QskShortcutMap using QskMetaInvokable 2018-03-12 09:27:54 +01:00
Uwe Rathmann 42a09813ed QskMata classes improved, queued connections for property write
accessors added
2018-03-11 17:28:32 +01:00
Uwe Rathmann c109b170f1 QskMetaInvokable improved 2018-03-09 16:20:33 +01:00
Uwe Rathmann b788f7da2c property WRITE accessors added to QskMetaInvokable 2018-03-09 12:24:18 +01:00
Uwe Rathmann 0e832e27f8 QskMetaFunction::parameterTypes fixed 2018-03-08 08:37:44 +01:00
Uwe Rathmann 6c9d78c532 QskMetaInvokable introduced 2018-03-04 13:31:49 +01:00
Uwe Rathmann b5a5b56a1d QskMetaFunction.hpp introduced 2018-03-03 15:52:42 +01:00
Uwe Rathmann 05e2b91c01 QskMeta stuff seem to work now, but needs more testing 2018-03-02 14:58:43 +01:00
Uwe Rathmann a9f5e0a528 non working ideas removed 2018-03-02 11:26:25 +01:00
Uwe Rathmann 686f4ff2d8 dh 2018-03-02 07:23:12 +01:00
Uwe Rathmann 2dbb48d8bb dh 2018-03-02 07:07:19 +01:00
Uwe Rathmann 3970b11330 QskMeta classes improved 2018-03-02 06:57:08 +01:00
Uwe Rathmann b7a48ae910 QskMetaCall classes improved 2018-03-01 17:11:59 +01:00
Uwe Rathmann 6e4421d4b7 QskMetaFunction::init removed - saves some size in the text segment 2018-03-01 15:13:55 +01:00
Uwe Rathmann 3079698d63 [Misc] QskMeta classes improved 2018-03-01 12:18:58 +01:00
Uwe Rathmann 02639e5d04 QskMeta classes improved 2018-02-28 16:48:46 +01:00
Uwe Rathmann 0075ccbdbd QskMeta classes reorganized 2018-02-28 10:43:15 +01:00
Uwe Rathmann 6b87084678 memory leaks fixed 2018-02-28 08:37:40 +01:00
Uwe Rathmann 28660cca7d implementation of QskMetaFunction continued - still several issues to
solve
2018-02-27 17:47:23 +01:00
Uwe Rathmann 76f0ed1ece gcc 4/5 incompatibility fixed 2018-02-27 08:23:16 +01:00
Uwe Rathmann 34cd6e3754 QskMetaFunction added 2018-02-26 09:39:14 +01:00
Uwe Rathmann 0c1cfa3453 QskMetaFunction added - similar to QMetaMethod but for what Qt calls
"functor based" callbacks
2018-02-26 09:09:21 +01:00
Uwe Rathmann d58732d5ac using Qt::UniqueConnection 2018-02-15 09:48:14 +01:00
Uwe Rathmann 217c722e71 not using the deprecated QQuickItem::boundingRect anymore 2018-02-07 19:30:34 +01:00
Uwe Rathmann 38ed90b659 code improved 2018-02-07 15:40:05 +01:00
Uwe Rathmann 8553ecc354 comments added 2018-02-07 15:39:46 +01:00
Uwe Rathmann 2c72388239 always inserting the input grabber at the beginning so that
QQuickItem::childAt ( and squish ) are working
2018-02-07 09:26:47 +01:00
Uwe Rathmann f3467a4fa8 obsolete comment removed 2018-02-07 09:26:27 +01:00
Uwe Rathmann 4a43c75608 daisy chaining the previously registered hooks 2018-02-07 09:25:31 +01:00
Uwe Rathmann 1ad514dcdd state dependent animator hints fixed 2018-02-06 14:58:24 +01:00
Uwe Rathmann d32646c67c qskTabChainIncrement added 2018-02-06 14:57:34 +01:00
Uwe Rathmann e91a0932e8 copyrights added/fixed 2018-02-06 14:56:29 +01:00
Uwe Rathmann ccdc1e7c37 beautified 2018-02-06 14:56:05 +01:00
Uwe Rathmann 361ecbb980 copyrights added/fixed 2018-02-06 14:55:35 +01:00
Uwe Rathmann 3ddcb3706f check for invalid contexts added 2018-02-06 07:51:33 +01:00
Uwe Rathmann 84d8c87309 setting the initial focus only on Qt::PopupFocusReason 2018-02-04 12:28:26 +01:00
Uwe Rathmann d98317942e bad autofocusing of scopes, when reciving the focus removed - it lead to
inconsistent QQuickItem states, when focused items get
reparented.
2018-02-02 18:04:38 +01:00
Uwe Rathmann 3a0b3f4ad1 unused includes removed 2018-02-01 09:29:28 +01:00
Uwe Rathmann b4dda0d557 using the contents rectangle as default focus rectangle 2018-02-01 09:28:47 +01:00
Uwe Rathmann 716f5d5bcb framebuffer mode removed as it crashes in the multithreaded situation +
didn't offer the expected workaround for the missing multisampling
support on certain VMs
2018-02-01 09:15:36 +01:00
Uwe Rathmann e39b0fd861 [Misc] wrong disconnect fixed 2018-02-01 08:29:38 +01:00
Uwe Rathmann 2dc2278e6b [Misc] bad disconnecting fixed 2018-02-01 08:07:54 +01:00
Uwe Rathmann bd68a86019 input panel key tables restored 2018-01-29 08:31:43 +01:00
Uwe Rathmann 5d91175d05 focus navigation improved 2018-01-24 10:14:50 +01:00
Uwe Rathmann 3f0075f616 improving focus handling after closing a popup 2018-01-21 14:10:12 +01:00
Uwe Rathmann 8cb65fefa6 better focus handover after closing a popup 2018-01-20 17:21:13 +01:00
Uwe Rathmann 2cdabf34d6 QskControl::focusIndicatorRect introduced 2018-01-19 10:15:29 +01:00
Uwe Rathmann 19c0e43e5c find a default focus item, when a focusScope/tabFence control ( usually
a popup ) gets the focus - to be on the internal tab chain.
2018-01-19 10:08:59 +01:00
Uwe Rathmann 3837205847 [Misc] several static methods from QskControl changed into qskXYZ
functions to avoid any conflicts with APIs that might be added to
QQuickItem in future versions
2018-01-19 10:07:05 +01:00
Uwe Rathmann b083479b21 using QString() instead of QString::null 2018-01-16 20:34:54 +01:00
Uwe Rathmann 6589f7a696 QskScrollArea once more changed, this time again without having to copy
the viewport clip node
2018-01-16 20:26:18 +01:00
Uwe Rathmann 4f6bf75426 some auto scrolling modes added 2018-01-16 12:13:38 +01:00
Uwe Rathmann b1c3acde8e QskScrollArea reimplemented to have a proper filtering of child events 2018-01-12 15:46:15 +01:00
Uwe Rathmann ebe332c14e auto reparenting the focus indicator to be always below the most inner
clip
2018-01-11 16:29:33 +01:00
Uwe Rathmann b80aed9c92 - QskGestureRecognizer replaying all mouse events, when being aborted.
- QskScrollView gesture handling improved to handle replayed events from children that actively ignore mouse events
2018-01-11 14:16:20 +01:00
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