Gui::Dialog::RedoDialog Class Reference

This class implements the redo dialog. More...

#include <DlgUndoRedo.h>

List of all members.

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.

Detailed Description

This class implements the redo dialog.

Author:
Werner Mayer

Definition at line 51 of file DlgUndoRedo.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:07 2011 for FreeCAD by  doxygen 1.6.1