-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121698/
-----------------------------------------------------------
Review request for Plasma.
Repository: plasma-framework
Description
-------
This adds a context menu that is similar to what is found on regular
textfields/textareas consisting of
- Undo
- Redo
- Cut
- Copy
- Paste
- Delete
- Clear
- Select All
It does not show the standard shortcuts as I couldn't figure out how that would
be done. There's a "StandardKey" referenced by the QQC Action item but I
couldn't find documentation about it and also I cannot use Action {} in a
MenuItem.
Diffs
-----
src/declarativeimports/plasmastyle/TextAreaStyle.qml 41299c5
src/declarativeimports/plasmastyle/TextFieldStyle.qml 2e5b718
src/declarativeimports/plasmastyle/private/EditContextMenuArea.qml
PRE-CREATION
Diff: https://git.reviewboard.kde.org/r/121698/diff/
Testing
-------
The menu seems to work as expected, items are enabled/disabled as needed or
when the control is disabled. The MouseArea doesn't errorneously eat events
either.
File Attachments
----------------
Context menu in action
https://git.reviewboard.kde.org/media/uploaded/files/2014/12/27/ab2162e2-dc13-4c99-9a66-aaeeb08b6384__editcontextmenu.png
Thanks,
Kai Uwe Broulik
_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel