Add edit context menu to TextField/TextArea

Review Request #121698 - Created Dec. 27, 2014 and discarded

Information
Kai Uwe Broulik
plasma-framework
master
121697
Reviewers
plasma

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.

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.

Files


David Edmundson
Kai Uwe Broulik
Review request changed

Status: Discarded

Change Summary:

Will do as David said

Loading...