##// END OF EJS Templates
Merge pull request 393 from SciQLop-fork develop...
Merge pull request 393 from SciQLop-fork develop Develop

File last commit:

r1083:f354146de80e
r1222:a28635845636 merge
Show More
ActionsGuiController.h
27 lines | 827 B | text/x-c | CLexer
/ gui / include / Actions / ActionsGuiController.h
#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);
std::shared_ptr<SelectionZoneAction>
addSectionZoneAction(const QStringList &subMenuList, const QString &name,
SelectionZoneAction::ExecuteFunction function);
QVector<std::shared_ptr<SelectionZoneAction> > selectionZoneActions() const;
private:
class ActionsGuiControllerPrivate;
spimpl::unique_impl_ptr<ActionsGuiControllerPrivate> impl;
};
#endif // SCIQLOP_ACTIONSGUICONTROLLER_H