Changeset View
Changeset View
Standalone View
Standalone View
containmentactions/contextmenu/menu.h
Show All 39 Lines | 36 | public: | |||
---|---|---|---|---|---|
40 | QList<QAction *> contextualActions() override; | 40 | QList<QAction *> contextualActions() override; | ||
41 | 41 | | |||
42 | QAction *action(const QString &name); | 42 | QAction *action(const QString &name); | ||
43 | private Q_SLOTS: | 43 | private Q_SLOTS: | ||
44 | void makeActions(); | 44 | void makeActions(); | ||
45 | void populateLayouts(); | 45 | void populateLayouts(); | ||
46 | void requestConfiguration(); | 46 | void requestConfiguration(); | ||
47 | void switchToLayout(QAction *action); | 47 | void switchToLayout(QAction *action); | ||
48 | 48 | void setConfigureActionText(); | |||
49 | 49 | | |||
50 | private: | 50 | private: | ||
51 | QStringList m_layoutsData; | 51 | QStringList m_layoutsData; | ||
52 | 52 | | |||
53 | QList<QAction *>m_actions; | 53 | QList<QAction *>m_actions; | ||
54 | 54 | | |||
55 | QAction *m_separator1{nullptr}; | 55 | QAction *m_separator1{nullptr}; | ||
56 | 56 | | |||
Show All 9 Lines |