28 typedef QDialog Superclass;
31 pqDialog(QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags{});
37 void setUndoLabel(
const QString& label) { this->UndoLabel = label; }
43 void beginUndo(
const QString&);
52 void accept()
override;
54 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.