33 #ifndef CXLAYOUTINTERACTOR_H
34 #define CXLAYOUTINTERACTOR_H
36 #include "cxGuiExport.h"
40 #include <QActionGroup>
62 void connectToMenu(QMenu* menu);
66 void layoutChangedSlot();
67 void newCustomLayoutSlot();
68 void editCustomLayoutSlot();
69 void deleteCustomLayoutSlot();
73 LayoutData executeLayoutEditorDialog(QString title,
bool createNew);
74 QActionGroup* createLayoutActionGroup(
int widgetIndex);
75 QAction* addLayoutAction(QString layout, QActionGroup* group,
int widgetIndex);
76 void setActiveLayout(QString layout,
int widgetIndex);
77 void deepDeleteActionGroup(QActionGroup* actionGroup);
79 QActionGroup* mLayoutActionGroup;
80 QAction* mNewLayoutAction;
81 QAction* mEditLayoutAction;
82 QAction* mDeleteLayoutAction;
83 QPointer<QMenu> mMenu;
84 QPointer<QMenu> mSecondaryLayoutMenu;
85 QActionGroup* mSecondaryLayoutActionGroup;
96 #endif // CXLAYOUTINTERACTOR_H
boost::shared_ptr< class LayoutRepository > LayoutRepositoryPtr
boost::shared_ptr< class LayoutInteractor > LayoutInteractorPtr