##// END OF EJS Templates
Spectrogram segfault should be fixed now, added ability to provide Spectrogram min sampling time to avoid computation when possible...
Spectrogram segfault should be fixed now, added ability to provide Spectrogram min sampling time to avoid computation when possible Spectrogram visu is still broken... Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1328:eb278710ae3b
r1467:da44adcd99e4
Show More
ActionsGuiController.h
35 lines | 1.1 KiB | 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;
void removeAction(const std::shared_ptr<SelectionZoneAction> &action);
/// Sets a flag to say that the specified menu can be filtered, usually via a FilteringAction
void addFilterForMenu(const QStringList &menuPath);
/// Returns true if the menu can be filtered
bool isMenuFiltered(const QStringList &menuPath) const;
private:
class ActionsGuiControllerPrivate;
spimpl::unique_impl_ptr<ActionsGuiControllerPrivate> impl;
};
#endif // SCIQLOP_ACTIONSGUICONTROLLER_H