This class implements the redo dialog. More...
#include <DlgUndoRedo.h>
Public Member Functions | |
RedoDialog (QWidget *parent=0) | |
Constructs a UndoRedoDialog which is a child of 'parent', with the name 'name'. | |
virtual | ~RedoDialog () |
Destroys the object and frees any allocated resources. | |
Protected Slots | |
void | onFetchInfo () |
This method fetches the undo / redo information from the active document and shows it in the undo / redo dialog. | |
void | onSelected () |
Closes the dialog and sends the message 'Redo' to the currently active MDI view. |
This class implements the redo dialog.
Definition at line 51 of file DlgUndoRedo.h.
RedoDialog::RedoDialog | ( | QWidget * | parent = 0 |
) |
Constructs a UndoRedoDialog which is a child of 'parent', with the name 'name'.
'
Definition at line 97 of file DlgUndoRedo.cpp.
References draftlibs::fcgeo::connect(), and onFetchInfo().
RedoDialog::~RedoDialog | ( | ) | [virtual] |
Destroys the object and frees any allocated resources.
Definition at line 106 of file DlgUndoRedo.cpp.
void RedoDialog::onFetchInfo | ( | ) | [protected, slot] |
This method fetches the undo / redo information from the active document and shows it in the undo / redo dialog.
Definition at line 115 of file DlgUndoRedo.cpp.
References Gui::Application::activeDocument(), Gui::MainWindow::activeWindow(), Gui::getMainWindow(), Gui::Document::getRedoVector(), Gui::Application::Instance, onSelected(), and Gui::EditorView::redoActions().
Referenced by RedoDialog().
void RedoDialog::onSelected | ( | ) | [protected, slot] |
Closes the dialog and sends the message 'Redo' to the currently active MDI view.
Definition at line 137 of file DlgUndoRedo.cpp.
References Gui::Application::Instance, and Gui::Application::sendMsgToActiveView().
Referenced by onFetchInfo().