Global Menu Applet

Authored by davidedmundson on Jan 11 2017, 2:02 PM.

Description

Global Menu Applet

Summary:
This restores the global menu applet which you can place in panel.

The applet provides two views namely Compact and Full View.
Views can be switched from applet's settings.

  • Compact View provides a single button for accessing the application's

menu

  • Full View shows the full application menu in panel

See https://phabricator.kde.org/D3156

Reviewers: Plasma, broulik, chinmoyr

Subscribers: andreaska, davidedmundson, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D3706

Details

Auditors
kfunk
Committed
davidedmundsonJan 11 2017, 2:08 PM
Differential Revision
D3706: WIP: Global Menu Applet
Parents
R120:109b0882da77: Simplify AppMenu menu management
Branches
Unknown
Tags
Unknown
kfunk raised a concern with this commit.EditedJan 12 2017, 10:23 AM
kfunk added a subscriber: kfunk.

Problem:

/home/kfunk/devel/src/kf5/plasma-workspace/applets/appmenu/lib/appmenuapplet.cpp:168:27: error: no member named 'mapToGlobal' in 'QQuickItem'
        QPoint pos = ctx->mapToGlobal(QPointF(0, 0)).toPoint();
                     ~~~  ^
/home/kfunk/devel/src/kf5/plasma-workspace/applets/appmenu/lib/appmenuapplet.cpp:236:49: error: no member named 'mapFromGlobal' in 'QQuickItem'
        const QPointF &localPos = m_buttonGrid->mapFromGlobal(e->globalPos());
                                  ~~~~~~~~~~~~  ^

QQuickItem::map{From,To}Global is part of Qt 5.7 only

kfunk accepted this commit.Jan 16 2017, 12:14 PM

Fixed in D4099