12 #ifndef CXLAYOUTINTERACTOR_H
13 #define CXLAYOUTINTERACTOR_H
15 #include "cxGuiExport.h"
19 #include <QActionGroup>
39 void connectToMenu(QMenu* menu);
43 void layoutChangedSlot();
44 void newCustomLayoutSlot();
45 void editCustomLayoutSlot();
46 void deleteCustomLayoutSlot();
50 LayoutData executeLayoutEditorDialog(QString title,
bool createNew);
51 QActionGroup* createLayoutActionGroup(
int widgetIndex);
52 QAction* addLayoutAction(QString layout, QActionGroup* group,
int widgetIndex);
53 void setActiveLayout(QString layout,
int widgetIndex);
54 void deepDeleteActionGroup(QActionGroup* actionGroup);
57 QActionGroup* mLayoutActionGroup;
58 QAction* mNewLayoutAction;
59 QAction* mEditLayoutAction;
60 QAction* mDeleteLayoutAction;
61 QPointer<QMenu> mMenu;
62 QPointer<QMenu> mSecondaryLayoutMenu;
63 QActionGroup* mSecondaryLayoutActionGroup;
74 #endif // CXLAYOUTINTERACTOR_H