Gui::Dialog::UndoDialog Class Reference

This class implements the undo dialog. More...

#include <DlgUndoRedo.h>

Public Member Functions

 UndoDialog (QWidget *parent=nullptr)
 Constructs a UndoRedoDialog which is a child of 'parent', with the name 'name'. More...
 
virtual ~UndoDialog ()
 Destroys the object and frees any allocated resources. More...
 

Protected Slots

void onFetchInfo ()
 This method fetches the undo / redo information from the active document and shows it in the undo / redo dialog. More...
 
void onSelected ()
 Closes the dialog and sends the message 'Undo' to the currently active MDI view. More...
 

Detailed Description

This class implements the undo dialog.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ UndoDialog()

UndoDialog::UndoDialog ( QWidget parent = nullptr)

Constructs a UndoRedoDialog which is a child of 'parent', with the name 'name'.

'

References draftgeoutils.intersections::connect(), and onFetchInfo().

◆ ~UndoDialog()

UndoDialog::~UndoDialog ( )
virtual

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ onFetchInfo

void UndoDialog::onFetchInfo ( )
protectedslot

This method fetches the undo / redo information from the active document and shows it in the undo / redo dialog.

References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), onSelected(), and Gui::MDIView::undoActions().

Referenced by UndoDialog().

◆ onSelected

void UndoDialog::onSelected ( )
protectedslot

Closes the dialog and sends the message 'Undo' to the currently active MDI view.

References Gui::Application::Instance, and Gui::Application::sendMsgToActiveView().

Referenced by onFetchInfo().


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