4 #ifndef pqPreviewMenuManager_h
5 #define pqPreviewMenuManager_h
7 #include "pqApplicationComponentsModule.h"
37 typedef QObject Superclass;
57 QMenu* parentMenu()
const;
63 void lockResolution(
int dx,
int dy);
71 void updateEnabledState();
73 void lockResolution(
bool lock);
74 void lockResolution(
int dx,
int dy, QAction*
target);
82 void updateCustomActions();
83 QAction* findAction(
int dx,
int dy);
84 bool prependCustomResolution(
int dx,
int dy,
const QString& label);
85 QPointer<QAction> FirstCustomAction;
89 void init(
const QStringList& defaultItems, QMenu* parentMenu);