Remove KQuickControls TextArea/TextField again
Kai Uwe Broulik
kde at privat.broulik.de
Sun Jan 25 14:18:56 UTC 2015
Hi,
yes, it's a regular Menu that is behind the "menu" property of TextArea and
TextField. Qt has a default menu with Cut/Copy/Paste (5.4) or
Undo/Redo/Cut/Copy/Paste/Delete/Clear/Select All (5.5).
Unfortunately the default menu itself is not accessible so you cannot override
it in a declarative manner but just by calling addItem/addMenu/addSeparator on
the menu on component creation. Adding things like Sonnet and Jovie could be
done by a hypothetical KQC TextArea/TextField (which is then used by Plasma
Components by default) again.
Cheers,
Kai Uwe
More information about the Plasma-devel
mailing list