Eclipse SUMO - Simulation of Urban MObility
|
Dialog for edit rerouters. More...
#include <GNEUndoListDialog.h>
Data Structures | |
class | GUIRow |
row used for show GUI row elements More... | |
struct | UndoListRow |
Public Member Functions | |
GNEUndoListDialog (GNEApplicationWindow *GNEApp) | |
FOX-declaration. | |
void | hide () |
hide window | |
void | setFocus () |
Move the focus to this window. | |
void | show () |
show window | |
bool | shown () const |
check if dialog is shown | |
~GNEUndoListDialog () | |
destructor | |
FOX-callbacks | |
event after press close button | |
long | onCmdClose (FXObject *, FXSelector, void *) |
long | onCmdSelectRow (FXObject *, FXSelector, void *) |
event after select row | |
Protected Member Functions | |
void | recalcList () |
recalc list destroying and creating rows | |
void | updateList () |
FOX needs this. | |
Protected Attributes | |
GNEApplicationWindow * | myGNEApp |
pointer to GNEApplicationWindow | |
std::vector< GUIRow * > | myGUIRows |
vector with rows | |
FXVerticalFrame * | myRowFrame = nullptr |
frame for rows | |
Private Member Functions | |
GNEUndoListDialog (const GNEUndoListDialog &)=delete | |
Invalidated copy constructor. | |
GNEUndoListDialog & | operator= (const GNEUndoListDialog &)=delete |
Invalidated assignment operator. | |
Dialog for edit rerouters.
Definition at line 43 of file GNEUndoListDialog.h.
GNEUndoListDialog::GNEUndoListDialog | ( | GNEApplicationWindow * | GNEApp | ) |
FOX-declaration.
Constructor
Definition at line 45 of file GNEUndoListDialog.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAccept, GUIDesignContentsScrollUndoList, GUIDesignHorizontalFrame, MID_GNE_BUTTON_ACCEPT, and TL.
GNEUndoListDialog::~GNEUndoListDialog | ( | ) |
destructor
Definition at line 63 of file GNEUndoListDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEUndoListDialog::hide | ( | ) |
hide window
Definition at line 79 of file GNEUndoListDialog.cpp.
References myGNEApp.
Referenced by onCmdClose(), and GNEApplicationWindow::onUpdOpenUndoListDialog().
long GNEUndoListDialog::onCmdClose | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 99 of file GNEUndoListDialog.cpp.
References hide().
Referenced by FXDEFMAP().
long GNEUndoListDialog::onCmdSelectRow | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
event after select row
Definition at line 107 of file GNEUndoListDialog.cpp.
References GNEApplicationWindow::getUndoList(), myGNEApp, myGUIRows, GNEUndoList::redo(), GNEUndoList::undo(), and updateList().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
recalc list destroying and creating rows
Definition at line 174 of file GNEUndoListDialog.cpp.
References GNEUndoList::Iterator::end(), GUIMainWindow::getStaticTooltipView(), GNEApplicationWindow::getUndoList(), myGNEApp, myGUIRows, myRowFrame, and updateList().
Referenced by show().
void GNEUndoListDialog::setFocus | ( | ) |
Move the focus to this window.
Definition at line 93 of file GNEUndoListDialog.cpp.
Referenced by GNEApplicationWindow::onCmdOpenUndoListDialog().
void GNEUndoListDialog::show | ( | ) |
show window
Definition at line 67 of file GNEUndoListDialog.cpp.
References myGNEApp, and recalcList().
Referenced by GNEApplicationWindow::onCmdOpenUndoListDialog().
bool GNEUndoListDialog::shown | ( | ) | const |
check if dialog is shown
Definition at line 87 of file GNEUndoListDialog.cpp.
Referenced by GNEApplicationWindow::onCmdOpenUndoListDialog(), and GNEApplicationWindow::onUpdOpenUndoListDialog().
|
protected |
FOX needs this.
update list destroying and creating rows
Definition at line 132 of file GNEUndoListDialog.cpp.
References GNEUndoList::Iterator::end(), GNEUndoList::Iterator::getDescription(), GNEUndoList::Iterator::getIcon(), GNEUndoList::Iterator::getTimeStamp(), GNEApplicationWindow::getUndoList(), myGNEApp, and myGUIRows.
Referenced by onCmdSelectRow(), and recalcList().
|
protected |
pointer to GNEApplicationWindow
Definition at line 150 of file GNEUndoListDialog.h.
Referenced by hide(), onCmdSelectRow(), recalcList(), show(), and updateList().
|
protected |
vector with rows
Definition at line 156 of file GNEUndoListDialog.h.
Referenced by onCmdSelectRow(), recalcList(), and updateList().
|
protected |