modifying the drawer menus

Marco Martin notmart at gmail.com
Wed Jan 6 20:41:11 UTC 2016


On Wednesday 06 January 2016, Tomaz Canabrava wrote:
> We need a menu that will change its contents based on whats being displayed
> on the main part of the application.
> 
> Something like:
> 
> contextDrawer: MobileComponents.ContextDrawer {
>       id: contextDrawer
>       actions: mainDisplay.currentActions
> }

also, look at the example application
https://quickgit.kde.org/?p=plasma-mobile.git&a=tree&h=00e7f140840a25f30000dcba468c387fe25e9abc&hb=0deb7e59344211c7a73ca4ebdffea1d06bc926fa&f=components%2Fmobilecomponents%2Fexample%2Fcontents%2Fui

to see if it makes things a bit more clear

-- 
Marco Martin


More information about the Plasma-devel mailing list