##// END OF EJS Templates
Remove the catalogue from discard or remove button have now the same gui...
Remove the catalogue from discard or remove button have now the same gui behavior

File last commit:

r1083:f354146de80e
r1317:232b551e25db
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.
r1076 #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
r1083
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.
r1076 QVector<std::shared_ptr<SelectionZoneAction> > selectionZoneActions() const;
private:
class ActionsGuiControllerPrivate;
spimpl::unique_impl_ptr<ActionsGuiControllerPrivate> impl;
};
#endif // SCIQLOP_ACTIONSGUICONTROLLER_H