35 #include "pqComponentsModule.h" 51 class PQCOMPONENTS_EXPORT
pqDialog :
public QDialog
54 typedef QDialog Superclass;
56 pqDialog(QWidget* parent=0, Qt::WindowFlags f=0);
61 { this->UndoLabel = label; }
65 void beginUndo(
const QString&);
72 virtual void accept();
74 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.