--===============1569784184761938863== Content-Type: multipart/alternative; boundary="===============5866685657473968064==" --===============5866685657473968064== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/121698/ ----------------------------------------------------------- (Updated Dez. 27, 2014, 5:46 nachm.) Status ------ This change has been discarded. 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 --===============5866685657473968064== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/121698/

This change has been discarded.


Review request for Plasma.
By Kai Uwe Broulik.

Updated Dez. 27, 2014, 5:46 nachm.

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.

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.

Diffs

  • src/declarativeimports/plasmastyle/TextAreaStyle.qml (41299c5)
  • src/declarativeimports/plasmastyle/TextFieldStyle.qml (2e5b718)
  • src/declarativeimports/plasmastyle/private/EditContextMenuArea.qml (PRE-CREATION)

View Diff

File Attachments

  • Context menu in action
  • --===============5866685657473968064==-- --===============1569784184761938863== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============1569784184761938863==--