56 typedef QDialog Superclass;
59 pqDialog(QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags{});
65 void setUndoLabel(
const QString& label) { this->UndoLabel = label; }
71 void beginUndo(
const QString&);
80 void accept()
override;
82 void done(
int r)
override;
#define PQCOMPONENTS_EXPORT
void setUndoLabel(const QString &label)
Set the label 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.