summaryrefslogtreecommitdiff
path: root/src/controls/Private/EditMenu.qml
Commit message (Collapse)AuthorAgeFilesLines
* iOS: Remove text selection handlingRichard Moe Gustavsen2016-04-261-1/+1
| | | | | | | | Text selection and overlay are now done from the iOS platform plugin. Change-Id: I3903ab05816775f75708e915780f549e62797135 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Unify license header usageAntti Kokko2016-02-041-12/+15
| | | | | | | Update old header.LGPL3 to header.LGPL Change-Id: I3c851bc24da89f6300b94199387d1adf16ca4f48 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Manage the case when __style doesn't exist yet at onCompletedMarco Martin2015-09-111-4/+10
| | | | | | | | | | since __style gets instantiated by a loader, we are not sure that when Component.onCompleted is triggered, __style will be already there. manage separately the case when __style will be instantiated right after the component is complete. Change-Id: I23418138881904b10741159835e7f825363bc022 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
* Allow for styles to provide own EditMenuMarco Martin2015-08-071-3/+10
| | | | | | | | | | | | | Allow for styles to define their own EditMenu component, to provide cut/copy/paste actions with the platform style. In order to be able to provide mobile-optimized controls on Linux systems, use the boolean env var QT_MOBILE_PLATFORM in this case. This allows on a plain Linux system to offer controls with the touch friendly text selection handles and the little inline cut/copy/paste menu Change-Id: Id9013b4386423938735390325a003fcccdcfd598 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
* Controls: update license headersJ-P Nurmi2015-02-111-28/+25
| | | | | | | Change-Id: I77e7a218a958d76ac7ef7780f4be52a81f76fa6b Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
* EditMenu shown for TextArea/Field on active focus gain.Samuel Nevala2014-10-241-1/+2
| | | | | | | | Don't load EditMenu at all on Android. Task-number: QTBUG-42094 Change-Id: I94f10c4bbfc83ed30d166ef56863dfc956d1fb8e Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Fix TextField & TextArea mouse cursor shapeJ-P Nurmi2014-10-171-0/+1
| | | | | | | | | | Mouse cursor shape is specified by an internal MouseArea inside editor. Edit menu was placing another MouseArea on top, so the cursor shape was lost. This change makes EditMenu re-use the same MouseArea. Task-number: QTBUG-41955 Change-Id: I71e38bb42ea20f63b3e15c4c2cc7282b64b10d62 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
* EditMenu: let menu property be a component to lazy load itRichard Moe Gustavsen2014-09-241-1/+21
| | | | | | | | | Since all input fields have a menu assigned to it by default (which in most cases never will be shown), it should be an optimization to await creating it until needed. Change-Id: I5777bbdae42103981e9b2f5ddfdfd763acea07ae Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* EditMenu: add base implementation for desktopRichard Moe Gustavsen2014-09-231-1/+1
| | | | | | | | This will add a default edit menu for TextArea, TextField Combobox and Spinbox. Change-Id: Ib310d20e9f8f8c17750d12cb181577838d600bd6 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Add new private control 'EditMenu'Richard Moe Gustavsen2014-09-111-0/+53
This control will be used as a part of the different text edit controls for controlling how the edit menu should work. Change-Id: Id3ed5795111c37269fce62a97cf4d9bde1b5f6b3 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>