33 #ifndef CXLAYOUTINTERACTOR_H 34 #define CXLAYOUTINTERACTOR_H 36 #include "cxGuiExport.h" 40 #include <QActionGroup> 60 void connectToMenu(QMenu* menu);
64 void layoutChangedSlot();
65 void newCustomLayoutSlot();
66 void editCustomLayoutSlot();
67 void deleteCustomLayoutSlot();
71 LayoutData executeLayoutEditorDialog(QString title,
bool createNew);
72 QActionGroup* createLayoutActionGroup(
int widgetIndex);
73 QAction* addLayoutAction(QString layout, QActionGroup* group,
int widgetIndex);
74 void setActiveLayout(QString layout,
int widgetIndex);
75 void deepDeleteActionGroup(QActionGroup* actionGroup);
78 QActionGroup* mLayoutActionGroup;
79 QAction* mNewLayoutAction;
80 QAction* mEditLayoutAction;
81 QAction* mDeleteLayoutAction;
82 QPointer<QMenu> mMenu;
83 QPointer<QMenu> mSecondaryLayoutMenu;
84 QActionGroup* mSecondaryLayoutActionGroup;
95 #endif // CXLAYOUTINTERACTOR_H boost::shared_ptr< class LayoutRepository > LayoutRepositoryPtr
boost::shared_ptr< class LayoutInteractor > LayoutInteractorPtr
Namespace for all CustusX production code.