#include <qdesigner_command_p.h>
Inheritance diagram for qdesigner_internal::InsertRowCommand:


Definition at line 380 of file qdesigner_command_p.h.
Public Member Functions | |
| InsertRowCommand (QDesignerFormWindowInterface *formWindow) | |
| void | init (QWidget *widget, int row) |
| virtual void | redo () |
| virtual void | undo () |
Private Attributes | |
| QPointer< QWidget > | m_widget |
| int | m_row |
| qdesigner_internal::InsertRowCommand::InsertRowCommand | ( | QDesignerFormWindowInterface * | formWindow | ) |
Definition at line 2105 of file qdesigner_command.cpp.
02106 : QDesignerFormWindowCommand(QApplication::translate("Command", "Insert Row"), formWindow) 02107 { 02108 }
| void qdesigner_internal::InsertRowCommand::init | ( | QWidget * | widget, | |
| int | row | |||
| ) |
| void qdesigner_internal::InsertRowCommand::redo | ( | ) | [virtual] |
Applies a change to the document. This function must be implemented in the derived class. Calling QUndoStack::push(), QUndoStack::undo() or QUndoStack::redo() from this funciton leads to undefined beahavior.
The default implementation calls redo() on all child commands.
Reimplemented from qdesigner_internal::QDesignerFormWindowCommand.
Definition at line 2116 of file qdesigner_command.cpp.
| void qdesigner_internal::InsertRowCommand::undo | ( | ) | [virtual] |
Reverts a change to the document. After undo() is called, the state of the document should be the same as before redo() was called. This function must be implemented in the derived class. Calling QUndoStack::push(), QUndoStack::undo() or QUndoStack::redo() from this funciton leads to undefined beahavior.
The default implementation calls undo() on all child commands in reverse order.
Reimplemented from qdesigner_internal::QDesignerFormWindowCommand.
Definition at line 2120 of file qdesigner_command.cpp.
int qdesigner_internal::InsertRowCommand::m_row [private] |
1.5.1