##// END OF EJS Templates
Few rpath fixes on dmg build...
Few rpath fixes on dmg build Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1468:82521d75dedb
Show More
GenerateVariableMenuOperation.h
49 lines | 1.8 KiB | text/x-c | CLexer
/ gui / include / Visualization / operations / GenerateVariableMenuOperation.h
Alexandre Leroux
Creates the visitor that generates a hierarchical menu associated with a variable....
r210 #ifndef SCIQLOP_GENERATEVARIABLEMENUOPERATION_H
#define SCIQLOP_GENERATEVARIABLEMENUOPERATION_H
#include "Visualization/IVisualizationWidgetVisitor.h"
#include <Common/spimpl.h>
Alexandre Leroux
Defines a menu builder...
r211 #include <QLoggingCategory>
Alexandre Leroux
Prohibits the plot of a variable in several graphs (2)...
r736 #include <set>
Alexandre Leroux
Creates the visitor that generates a hierarchical menu associated with a variable....
r210 class QMenu;
Alexandre Leroux
Prohibits the plot of a variable in several graphs (2)...
r736 class IVisualizationWidget;
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Creates the visitor that generates a hierarchical menu associated with a variable....
r210
Alexandre Leroux
Defines a menu builder...
r211 Q_DECLARE_LOGGING_CATEGORY(LOG_GenerateVariableMenuOperation)
Alexandre Leroux
Creates the visitor that generates a hierarchical menu associated with a variable....
r210 /**
* @brief The GenerateVariableMenuOperation class defines an operation that traverses all of
* visualization widgets to determine which can accommodate a variable. The result of the operation
* is a menu that contains actions to add the variable into the containers.
*/
Switched to new TS impl but quite broken!...
r1420 class GenerateVariableMenuOperation : public IVisualizationWidgetVisitor
{
Alexandre Leroux
Creates the visitor that generates a hierarchical menu associated with a variable....
r210 public:
/**
* Ctor
* @param menu the menu to which to attach the generated menu
* @param variable the variable for which to generate the menu
Alexandre Leroux
Prohibits the plot of a variable in several graphs (2)...
r736 * @param variableContainers the containers that already contain the variable for which to
* generate the menu
Alexandre Leroux
Creates the visitor that generates a hierarchical menu associated with a variable....
r210 */
Switched to new TS impl but quite broken!...
r1420 explicit GenerateVariableMenuOperation(QMenu* menu, std::shared_ptr<Variable2> variable,
std::set<IVisualizationWidget*> variableContainers);
void visitEnter(VisualizationWidget* widget) override final;
void visitLeave(VisualizationWidget* widget) override final;
void visitEnter(VisualizationTabWidget* tabWidget) override final;
void visitLeave(VisualizationTabWidget* tabWidget) override final;
void visitEnter(VisualizationZoneWidget* zoneWidget) override final;
void visitLeave(VisualizationZoneWidget* zoneWidget) override final;
void visit(VisualizationGraphWidget* graphWidget) override final;
Alexandre Leroux
Creates the visitor that generates a hierarchical menu associated with a variable....
r210
private:
class GenerateVariableMenuOperationPrivate;
spimpl::unique_impl_ptr<GenerateVariableMenuOperationPrivate> impl;
};
#endif // SCIQLOP_GENERATEVARIABLEMENUOPERATION_H