##// END OF EJS Templates
Merge branch 'feature/CatalogueCatalogue' into develop
Merge branch 'feature/CatalogueCatalogue' into develop

File last commit:

r1118:f354146de80e
r1359:2a3a8fe0212d merge
Show More
ActionsGuiController.h
27 lines | 827 B | text/x-c | CLexer
/ gui / include / Actions / ActionsGuiController.h
Adds a a gui controller class to manage global actions across the application.
r1111 #ifndef SCIQLOP_ACTIONSGUICONTROLLER_H
#define SCIQLOP_ACTIONSGUICONTROLLER_H
#include <Actions/SelectionZoneAction.h>
#include <Common/spimpl.h>
#include <memory>
class ActionsGuiController {
public:
ActionsGuiController();
std::shared_ptr<SelectionZoneAction>
addSectionZoneAction(const QString &name, SelectionZoneAction::ExecuteFunction function);
Put the align actions in sub menus
r1118
std::shared_ptr<SelectionZoneAction>
addSectionZoneAction(const QStringList &subMenuList, const QString &name,
SelectionZoneAction::ExecuteFunction function);
Adds a a gui controller class to manage global actions across the application.
r1111 QVector<std::shared_ptr<SelectionZoneAction> > selectionZoneActions() const;
private:
class ActionsGuiControllerPrivate;
spimpl::unique_impl_ptr<ActionsGuiControllerPrivate> impl;
};
#endif // SCIQLOP_ACTIONSGUICONTROLLER_H