Commit Graph

275 Commits

Author SHA1 Message Date
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