21 #ifndef VIEW_ACTIONS_MANAGER_H 22 #define VIEW_ACTIONS_MANAGER_H 27 #include <tulip/View.h> 28 #include <tulip/DataSet.h> 29 #include <tulip/GlMainWidget.h> 32 class TLP_QT_SCOPE ViewActionsManager :
public QObject {
36 GlMainWidget *_glMainWidget;
38 QAction *_centerViewAction;
39 QAction *_forceRedrawAction;
40 QAction *_advAntiAliasingAction;
41 QAction *_snapshotAction;
44 ViewActionsManager(View *view, GlMainWidget *widget,
bool keepRatio,
45 bool showAdvancedAntiAliasing =
true);
49 void fillContextMenu(QMenu *menu);
54 void openSnapshotDialog();
55 void setAntiAliasing(
bool);
56 void setAdvancedAntiAliasing(
bool);