BALL::VIEW::UndoManagerDialog Class Reference
[QT Dialogs]

#include <BALL/VIEW/DIALOGS/undoManagerDialog.h>

Inheritance diagram for BALL::VIEW::UndoManagerDialog:
Inheritance graph
[legend]

List of all members.

Public Slots

void show ()
 Show and raise dialog.
void close_pressed ()
void resetTo_pressed ()
void takeSnapshot_pressed ()

Public Member Functions

 UndoManagerDialog (QWidget *parent=0, const char *name="UndoManagerDialog", Qt::WFlags fl=0)
 Constructor.
 ~UndoManagerDialog ()
 Destructor.
virtual void initializeWidget (MainControl &main_control)
virtual void checkMenu (MainControl &main_control)
virtual void onNotify (Message *message)
 Overrides message in order to intercept system changed events.

Protected Attributes

QAction * action_
SnapshotManagerInterface snapshot_interface_
bool first_run

Detailed Description

Dialog for managing snapshots

Definition at line 31 of file undoManagerDialog.h.


Constructor & Destructor Documentation

BALL::VIEW::UndoManagerDialog::UndoManagerDialog ( QWidget parent = 0,
const char *  name = "UndoManagerDialog",
Qt::WFlags  fl = 0 
)

Constructor.

BALL::VIEW::UndoManagerDialog::~UndoManagerDialog (  )  [inline]

Destructor.

Definition at line 46 of file undoManagerDialog.h.


Member Function Documentation

virtual void BALL::VIEW::UndoManagerDialog::checkMenu ( MainControl main_control  )  [virtual]

Menu checking method. This method is called MainControl::checkMenus before a popup menu is shown. It should be used to update the state of menu entries (e.g. disable or enable entries).

Parameters:
main_control the MainControl object whose menus should be checked

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::UndoManagerDialog::close_pressed (  )  [slot]
virtual void BALL::VIEW::UndoManagerDialog::initializeWidget ( MainControl main_control  )  [virtual]

Initialize the widget. This method is called automatically immediately before the main application is started. It should add the widget's menu entries and connections (if required). This method will be called by MainControl::show.

Parameters:
main_control the MainControl object to be initialized with this ModularWidget
See also:
finalizeWidget()

Reimplemented from BALL::VIEW::ModularWidget.

virtual void BALL::VIEW::UndoManagerDialog::onNotify ( Message message  )  [virtual]

Overrides message in order to intercept system changed events.

Reimplemented from BALL::VIEW::ConnectionObject.

void BALL::VIEW::UndoManagerDialog::resetTo_pressed (  )  [slot]
void BALL::VIEW::UndoManagerDialog::show (  )  [slot]

Show and raise dialog.

void BALL::VIEW::UndoManagerDialog::takeSnapshot_pressed (  )  [slot]

Member Data Documentation

Definition at line 73 of file undoManagerDialog.h.

Definition at line 76 of file undoManagerDialog.h.

Definition at line 74 of file undoManagerDialog.h.

Generated by  doxygen 1.6.3