#include <BALL/VIEW/DIALOGS/undoManagerDialog.h>
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 |
Dialog for managing snapshots
Definition at line 31 of file undoManagerDialog.h.
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.
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).
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.
main_control | the MainControl object to be initialized with this ModularWidget |
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] |
QAction* BALL::VIEW::UndoManagerDialog::action_ [protected] |
Definition at line 73 of file undoManagerDialog.h.
bool BALL::VIEW::UndoManagerDialog::first_run [protected] |
Definition at line 76 of file undoManagerDialog.h.
Definition at line 74 of file undoManagerDialog.h.