35 #include "pqComponentsModule.h" 53 class PQCOMPONENTS_EXPORT
pqDialog :
public QDialog
56 typedef QDialog Superclass;
59 pqDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
65 void setUndoLabel(
const QString& label) { this->UndoLabel = label; }
71 void beginUndo(
const QString&);
80 virtual void accept();
82 virtual void done(
int r);
void setUndoLabel(const QString &label)
Set the lable used for undo command.
virtual void acceptInternal()
Subclassess should override this instead of accept();.
virtual void doneInternal(int)
Subclassess should override this instead of done().
This is a QDialog subclass that is aware of the undo-redo sub-system.