##// END OF EJS Templates
Updates model after an event has been created through the colored zone
Updates model after an event has been created through the colored zone

File last commit:

r1118:f354146de80e
r1286:073d4af7c849
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