modifying the drawer menus
Kevin Krammer
krammer at kde.org
Thu Jan 7 10:15:04 UTC 2016
On Wednesday, 2016-01-06, 23:33:32, Marco Martin wrote:
> On Wednesday 06 January 2016, Kai Uwe Broulik wrote:
> > Don't we handle the visible and enabled property of Action? That should
> > work for enabling / disabling certain drawer entries if in edit mode.
> > Irregardless of that usecase I would really expect that to work.
>
> i just pushed the support of enabled.
>
> apparently the QQC Action doesn't have a visible property :/
A glaring omission, we should try to upstream it.
After all QAction has a visible property for the very reason of not always
showing all toolbar buttons or menu entries without having to recreate them.
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160107/d7fd9ce0/attachment.sig>
More information about the Plasma-devel
mailing list