![]() |
SUMO - Simulation of Urban MObility
|
The main window of the Netedit. More...
#include <GNEApplicationWindow.h>
Data Structures | |
class | GNEShapeHandler |
FOX-declaration. More... | |
Public Member Functions | |
void | addChild (FXMainWindow *child) |
void | addGLChild (GUIGlChildWindow *child) |
Adds a further child window to the list. More... | |
virtual void | create () |
Creates the main window (required by FOX) More... | |
void | dependentBuild () |
build dependent More... | |
virtual void | detach () |
detaches the tool/menu bar More... | |
void | disableSaveAdditionalsMenu () |
disable save additionals More... | |
void | disableSaveShapesMenu () |
disable save shapes More... | |
void | enableSaveAdditionalsMenu () |
enable save additionals More... | |
void | enableSaveShapesMenu () |
enable save shapes More... | |
void | enableSaveTLSProgramsMenu () |
enable save TLS Programs More... | |
GUISUMOAbstractView * | getActiveView () const |
get the active view or 0 More... | |
FXFont * | getBoldFont () |
FXGLCanvas * | getBuildGLCanvas () const |
get build OpenGL Canvas More... | |
FXLabel & | getCartesianLabel () |
SUMOTime | getCurrentSimTime () const |
get current simulation time (pure virtual but we don't need it) More... | |
FXCursor * | getDefaultCursor () |
get default cursor More... | |
virtual double | getDelay () const |
Returns the delay (should be overwritten by subclasses if applicable) More... | |
FXLabel & | getGeoLabel () |
FXGLVisual * | getGLVisual () const |
double | getTrackerInterval () const |
get current tracker interval (pure virtual but we don't need it) More... | |
GNEUndoList * | getUndoList () |
get pointer to undoList More... | |
GUIGlChildWindow * | getViewByID (const std::string &id) const |
std::vector< std::string > | getViewIDs () const |
const std::vector< GUIGlChildWindow * > & | getViews () const |
GNEApplicationWindow (FXApp *a, const std::string &configPattern) | |
Constructor. More... | |
bool | isFullScreen () |
bool | isGaming () const |
return whether the gui is in gaming mode More... | |
bool | listInternal () const |
return whether to list internal structures More... | |
bool | listParking () const |
return whether to list parking vehicles More... | |
bool | listTeleporting () const |
return whether to list teleporting vehicles More... | |
void | loadOptionOnStartup () |
load net on startup More... | |
virtual long | onCmdFullScreen (FXObject *, FXSelector, void *) |
Toggle full screen mode. More... | |
void | removeChild (FXMainWindow *child) |
void | removeGLChild (GUIGlChildWindow *child) |
removes the given child window from the list More... | |
virtual const std::vector< SUMOTime > | retrieveBreakpoints () const |
retrieve breakpoints if provided by the application More... | |
virtual void | sendBlockingEvent (GUIEvent *event) |
Sends an event from the application thread to the GUI and waits until it is handled. More... | |
void | setAdditionalsFile (const std::string &additionalsFile) |
set additionals file More... | |
virtual void | setDelay (double) |
Sets the delay of the parent application. More... | |
void | setShapesFile (const std::string &shapesFile) |
set shapes file More... | |
void | setStatusBarText (const std::string &statusBarText) |
set text of the statusBar More... | |
void | setTLSProgramsFile (const std::string &TLSProgramsFile) |
set TLS Programs file More... | |
void | updateChildren () |
void | updateControls () |
update control contents after undo/redo or recompute More... | |
virtual | ~GNEApplicationWindow () |
Destructor. More... | |
Inter-thread event handling | |
called when an event occurred | |
virtual void | eventOccurred () |
void | handleEvent_NetworkLoaded (GUIEvent *e) |
handle event of type Network loaded More... | |
void | handleEvent_Message (GUIEvent *e) |
hanlde event of type message More... | |
FOX-callbacks | |
called when the command/FXCall new network is executed | |
long | onCmdNewNetwork (FXObject *, FXSelector, void *) |
long | onCmdOpenConfiguration (FXObject *, FXSelector, void *) |
called when the command/FXCall open configuration is executed More... | |
long | onCmdOpenNetwork (FXObject *, FXSelector, void *) |
called when the command/FXCall open network is executed More... | |
long | onCmdOpenForeign (FXObject *, FXSelector, void *) |
called when the command/FXCall open foreign is executed More... | |
long | onCmdOpenShapes (FXObject *, FXSelector, void *) |
called when the command/FXCall open shapes is executed More... | |
long | onCmdOpenAdditionals (FXObject *, FXSelector, void *) |
called when the command/FXCall open additionals is executed More... | |
long | onCmdOpenTLSPrograms (FXObject *, FXSelector, void *) |
called when the command/FXCall open additionals is executed More... | |
long | onCmdReload (FXObject *, FXSelector, void *) |
called when the command/FXCall reload is executed More... | |
long | onCmdOpenRecent (FXObject *, FXSelector, void *) |
called when the command/FXCall open recent is executed More... | |
long | onCmdClose (FXObject *, FXSelector, void *) |
called when the command/FXCall close is executed More... | |
long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
Called on menu Edit->Visualization. More... | |
long | onCmdEditViewport (FXObject *, FXSelector, void *) |
Called on menu Edit->Viewport. More... | |
long | onCmdLocate (FXObject *, FXSelector, void *) |
called when the command/FXCall locate is executed More... | |
long | onCmdSaveNetwork (FXObject *, FXSelector, void *) |
called when the command/FXCall save network is executed More... | |
long | onCmdSaveAdditionals (FXObject *, FXSelector, void *) |
called when the command/FXCall save additionals is executed More... | |
long | onCmdSaveAdditionalsAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save additionals as is executed More... | |
long | onCmdSaveTLSPrograms (FXObject *, FXSelector, void *) |
called when the command/FXCall save TLSPrograms is executed More... | |
long | onCmdSaveTLSProgramsAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save TLSPrograms as is executed More... | |
long | onUpdSaveNetwork (FXObject *, FXSelector, void *) |
called when the update/FXCall save network is executed More... | |
long | onCmdSaveAsNetwork (FXObject *, FXSelector, void *) |
called when the command/FXCall save network as is executed More... | |
long | onUpdNeedsNetwork (FXObject *, FXSelector, void *) |
called when the upadte/FXCall needs network is executed More... | |
long | onUpdReload (FXObject *, FXSelector, void *) |
called when the update/FXCall reload is executed More... | |
long | onCmdSaveAsPlainXML (FXObject *, FXSelector, void *) |
called when the command/FXCall save as plain xml is executed More... | |
long | onCmdSaveJoined (FXObject *, FXSelector, void *) |
called when the command/FXCall save joined is executed More... | |
long | onCmdSaveShapes (FXObject *, FXSelector, void *) |
called when the command/FXCall save shapes is executed More... | |
long | onCmdSaveShapesAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save shapes as is executed More... | |
long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
called when a key is pressed More... | |
long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
called when a key is released More... | |
long | onCmdQuit (FXObject *, FXSelector, void *) |
Called by FOX if the application shall be closed. More... | |
long | onCmdEditChosen (FXObject *, FXSelector, void *) |
called when the command/FXCall edit chosen is executed More... | |
long | onCmdAppSettings (FXObject *, FXSelector, void *) |
Opens the application settings menu. More... | |
long | onCmdGaming (FXObject *, FXSelector, void *) |
called when the command/FXCall toogle gaming mode is executed More... | |
long | onCmdAbout (FXObject *, FXSelector, void *) |
called when the command/FXCall show about dialog is executed More... | |
long | onCmdNewView (FXObject *, FXSelector, void *) |
called when the command/FXCall new view is executed More... | |
long | onUpdOpen (FXObject *, FXSelector, void *) |
called when the command/FXCall on update open executed More... | |
long | onCmdClearMsgWindow (FXObject *, FXSelector, void *) |
called when the command/FXCall clear message windows is executed More... | |
long | onLoadThreadEvent (FXObject *, FXSelector, void *) |
called when the command/FXCall load thread is executed More... | |
long | onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr) |
called when the command/FXCall clipboard request is executed More... | |
long | onCmdSetMode (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits an edit-mode hotkey More... | |
long | onCmdOpenSUMOGUI (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hints ctrl + T More... | |
long | onCmdAbort (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits esc More... | |
long | onCmdDel (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits del More... | |
long | onCmdEnter (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits enter More... | |
long | onCmdFocusFrame (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits f More... | |
long | onCmdToogleGrid (FXObject *, FXSelector, void *) |
called if the user press key combination Ctrl + G to toogle grid More... | |
long | onCmdHelp (FXObject *sender, FXSelector sel, void *ptr) |
called if the user selects help->Documentation More... | |
long | onCmdComputeJunctions (FXObject *, FXSelector, void *) |
called if the user selects Processing->compute junctions More... | |
long | onCmdComputeJunctionsVolatile (FXObject *, FXSelector, void *) |
called if the user selects Processing->compute junctions with volatile options More... | |
long | onCmdCleanJunctions (FXObject *, FXSelector, void *) |
called if the user selects Processing->clean junctions More... | |
long | onCmdJoinJunctions (FXObject *, FXSelector, void *) |
called if the user selects Processing->join junctions More... | |
long | onCmdCleanInvalidCrossings (FXObject *, FXSelector, void *) |
called if the user selects Processing->clear invalid crossings More... | |
long | onCmdOptions (FXObject *, FXSelector, void *) |
called if the user selects Processing->Configure Options More... | |
Static Public Member Functions | |
static GUIMainWindow * | getInstance () |
Protected Member Functions | |
virtual void | fillMenuBar () |
Builds the menu bar. More... | |
GNEApplicationWindow () | |
FOX needs this for static members. More... | |
void | setWindowSizeAndPos () |
perform initial window positioning and sizing according to user options / previous call More... | |
void | storeWindowSizeAndPos () |
record window position and size in registry More... | |
Protected Attributes | |
bool | hadDependentBuild |
check if had dependent build More... | |
std::string | myAdditionalsFile |
filename for load/save additionals More... | |
bool | myAmFullScreen |
whether to show the window in full screen mode More... | |
bool | myAmGaming |
information whether the gui is currently in gaming mode More... | |
bool | myAmLoading |
information whether the gui is currently loading and the load-options shall be greyed out More... | |
FXFont * | myBoldFont |
Font used for popup-menu titles. More... | |
FXDockSite * | myBottomDock |
FXLabel * | myCartesianCoordinate |
Labels for the current cartesian and geo-coordinate. More... | |
FXHorizontalFrame * | myCartesianFrame |
std::string | myConfigPattern |
Input file pattern. More... | |
FXMenuPane * | myEditMenu |
MFXEventQue< GUIEvent * > | myEvents |
List of got requests. More... | |
FXMenuPane * | myFileMenu |
the submenus More... | |
FXMenuPane * | myFileMenuAdditionals |
FXMenuPane * | myFileMenuShapes |
FXMenuPane * | myFileMenuTLS |
FXLabel * | myGeoCoordinate |
FXHorizontalFrame * | myGeoFrame |
FXGLVisual * | myGLVisual |
The gl-visual used. More... | |
std::vector< GUIGlChildWindow * > | myGLWindows |
FXMenuPane * | myHelpMenu |
FXDockSite * | myLeftDock |
bool | myListInternal |
information whether the locator should list internal structures More... | |
bool | myListParking |
information whether the locator should list parking vehicles More... | |
bool | myListTeleporting |
information whether the locator should list teleporting vehicles More... | |
GNELoadThread * | myLoadThread |
the thread that loads the network More... | |
FXEX::FXThreadEvent | myLoadThreadEvent |
io-event with the load-thread More... | |
FXMenuPane * | myLocatorMenu |
FXSplitter * | myMainSplitter |
The splitter that divides the main window into view and the log window. More... | |
FXMDIClient * | myMDIClient |
The multi view panel. More... | |
FXMDIMenu * | myMDIMenu |
The menu used for the MDI-windows. More... | |
FXMenuBar * | myMenuBar |
The application menu bar. More... | |
FXToolBarShell * | myMenuBarDrag |
GUIMessageWindow * | myMessageWindow |
A window to display messages, warnings and error in. More... | |
std::string | myName |
the name of the simulation More... | |
GNENet * | myNet |
we are responsible for the net More... | |
FXMenuPane * | myProcessingMenu |
FXRecentFiles | myRecentConfigs |
List of recent config files. More... | |
FXRecentFiles | myRecentNets |
List of recent nets. More... | |
FXDockSite * | myRightDock |
std::string | myShapesFile |
filename for load/save shapes More... | |
FXStatusBar * | myStatusbar |
The status bar. More... | |
const FXString | myTitlePrefix |
the prefix for the window title More... | |
std::string | myTLSProgramsFile |
filename for load/save TLS Programs More... | |
FXToolBar * | myToolBar1 |
The application tool bar. More... | |
FXToolBar * | myToolBar2 |
FXToolBar * | myToolBar3 |
FXToolBar * | myToolBar4 |
FXToolBar * | myToolBar5 |
FXToolBarShell * | myToolBarDrag1 |
for some menu detaching fun More... | |
FXToolBarShell * | myToolBarDrag2 |
FXToolBarShell * | myToolBarDrag3 |
FXToolBarShell * | myToolBarDrag4 |
FXToolBarShell * | myToolBarDrag5 |
FXDockSite * | myTopDock |
MFXMutex | myTrackerLock |
A lock to make the removal and addition of trackers secure. More... | |
std::vector< FXMainWindow * > | myTrackerWindows |
GNEUndoList * | myUndoList |
the one and only undo list More... | |
int | myViewNumber |
The current view number. More... | |
FXMenuPane * | myWindowsMenu |
Static Protected Attributes | |
static GUIMainWindow * | myInstance = nullptr |
the singleton window instance More... | |
Private Member Functions | |
void | closeAllWindows () |
this method closes all windows and deletes the current simulation */ More... | |
bool | continueWithUnsavedAdditionalChanges () |
warns about unsaved changes in additionals and gives the user the option to abort More... | |
bool | continueWithUnsavedChanges () |
warns about unsaved changes and gives the user the option to abort More... | |
bool | continueWithUnsavedShapeChanges () |
warns about unsaved changes in shapes and gives the user the option to abort More... | |
GNEViewNet * | getView () |
convenience method More... | |
void | loadConfigOrNet (const std::string file, bool isNet, bool isReload=false, bool useStartupOptions=false, bool newNet=false) |
starts to load a netimport configuration or a network */ More... | |
GUISUMOAbstractView * | openNewView () |
opens a new simulation display More... | |
Private Attributes | |
FXMenuCommand * | mySaveAdditionalsMenuCommand |
FXMenuCommand for enable or disable save additionals. More... | |
FXMenuCommand * | mySaveAdditionalsMenuCommandAs |
FXMenuCommand for enable or disable save additionals As. More... | |
FXMenuCommand * | mySaveShapesMenuCommand |
FXMenuCommand for enable or disable save shapes. More... | |
FXMenuCommand * | mySaveShapesMenuCommandAs |
FXMenuCommand for enable or disable save shapes. More... | |
FXMenuCommand * | mySaveTLSProgramsMenuCommand |
FXMenuCommand for enable or disable save additionals. More... | |
The main window of the Netedit.
Contains the file opening support and a canvas to display the network in.
Beside views on the simulation, shown within a MDI-window, the main window may also have some further views (children) assigned which are stored within a separate list.
Definition at line 59 of file GNEApplicationWindow.h.
GNEApplicationWindow::GNEApplicationWindow | ( | FXApp * | a, |
const std::string & | configPattern | ||
) |
Constructor.
[in] | a | The FOX application |
[in] | configPattern | The pattern used for loading configurations |
Definition at line 204 of file GNEApplicationWindow.cpp.
References GUICursorSubSys::initCursors(), GUIIconSubSys::initIcons(), and GUITextureSubSys::initTextures().
|
virtual |
Destructor.
Definition at line 368 of file GNEApplicationWindow.cpp.
References GUIIconSubSys::close(), GUITextureSubSys::close(), closeAllWindows(), MFXEventQue< T >::empty(), myEditMenu, myEvents, myFileMenu, myFileMenuAdditionals, myFileMenuShapes, myFileMenuTLS, GUIMainWindow::myGLVisual, myHelpMenu, myLoadThread, myLocatorMenu, myProcessingMenu, myUndoList, myWindowsMenu, MFXEventQue< T >::pop(), and MFXEventQue< T >::top().
|
inlineprotected |
FOX needs this for static members.
Definition at line 334 of file GNEApplicationWindow.h.
References fillMenuBar().
|
inherited |
Definition at line 107 of file GUIMainWindow.cpp.
References MFXMutex::lock(), GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, and MFXMutex::unlock().
Referenced by GUIParameterTableWindow::closeBuilding(), and GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow().
|
inherited |
Adds a further child window to the list.
Definition at line 92 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
|
private |
this method closes all windows and deletes the current simulation */
Definition at line 1193 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), disableSaveAdditionalsMenu(), disableSaveShapesMenu(), MFXMutex::lock(), GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGLWindows, myMessageWindow, myNet, myTitlePrefix, GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, myUndoList, GNEUndoList::p_clear(), GLHelper::resetFont(), GeoConvHelper::resetLoaded(), GUITextureSubSys::resetTextures(), MFXMutex::unlock(), and GUIMessageWindow::unregisterMsgHandlers().
Referenced by loadConfigOrNet(), onCmdClose(), and ~GNEApplicationWindow().
|
private |
warns about unsaved changes in additionals and gives the user the option to abort
Definition at line 2044 of file GNEApplicationWindow.cpp.
References getView(), mySaveAdditionalsMenuCommand, onCmdSaveAdditionals(), and WRITE_DEBUG.
Referenced by continueWithUnsavedChanges().
|
private |
warns about unsaved changes and gives the user the option to abort
Definition at line 1984 of file GNEApplicationWindow.cpp.
References continueWithUnsavedAdditionalChanges(), continueWithUnsavedShapeChanges(), getView(), GNENet::isNetSaved(), myNet, myUndoList, onCmdSaveNetwork(), GNEUndoList::p_clear(), and WRITE_DEBUG.
Referenced by loadConfigOrNet(), onCmdClose(), onCmdNewNetwork(), onCmdOpenForeign(), and onCmdQuit().
|
private |
warns about unsaved changes in shapes and gives the user the option to abort
Definition at line 2087 of file GNEApplicationWindow.cpp.
References getView(), mySaveShapesMenuCommand, onCmdSaveShapes(), and WRITE_DEBUG.
Referenced by continueWithUnsavedChanges().
|
virtual |
Creates the main window (required by FOX)
Definition at line 340 of file GNEApplicationWindow.cpp.
References gCurrentFolder, OptionsCont::getOptions(), GUIMainWindow::myCartesianFrame, myEditMenu, myFileMenu, myFileMenuAdditionals, myFileMenuShapes, myFileMenuTLS, GUIMainWindow::myGeoFrame, myHelpMenu, myMenuBarDrag, myWindowsMenu, and GUIMainWindow::setWindowSizeAndPos().
void GNEApplicationWindow::dependentBuild | ( | ) |
build dependent
Definition at line 227 of file GNEApplicationWindow.cpp.
References fillMenuBar(), GUIIconSubSys::getIcon(), GUIDesignBar, GUIDesignHorizontalFrameStatusBar, GUIDesignSplitter, GUIDesignSplitterMDI, GUIDesignStatusBar, GUIDesignToolBarGrip, GUIDesignToolBarShell3, hadDependentBuild, ICON_NETEDIT, ID_LOADTHREAD_EVENT, MID_CLOSE, MID_EDITVIEWPORT, MID_EDITVIEWSCHEME, MID_GNE_HOTKEY_DEL, MID_GNE_HOTKEY_ENTER, MID_GNE_HOTKEY_ESC, MID_GNE_HOTKEY_FOCUSFRAME, MID_GNE_HOTKEY_TOOGLE_GRID, MID_GNE_SETMODE_ADDITIONAL, MID_GNE_SETMODE_CONNECT, MID_GNE_SETMODE_CREATE_EDGE, MID_GNE_SETMODE_CROSSING, MID_GNE_SETMODE_DELETE, MID_GNE_SETMODE_INSPECT, MID_GNE_SETMODE_MOVE, MID_GNE_SETMODE_POLYGON, MID_GNE_SETMODE_PROHIBITION, MID_GNE_SETMODE_SELECT, MID_GNE_SETMODE_TAZ, MID_GNE_SETMODE_TLS, MID_GNE_TOOLBARFILE_NEWNETWORK, MID_GNE_TOOLBARFILE_SAVEADDITIONALS, MID_GNE_TOOLBARFILE_SAVEJOINED, MID_GNE_TOOLBARFILE_SAVENETWORK, MID_GNE_TOOLBARFILE_SAVENETWORK_AS, MID_GNE_TOOLBARFILE_SAVEPLAINXML, MID_GNE_TOOLBARFILE_SAVESHAPES, MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS, MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATETLS, MID_OPEN_ADDITIONALS, MID_OPEN_CONFIG, MID_OPEN_NETWORK, MID_OPEN_SHAPES, MID_OPEN_TLSPROGRAMS, MID_QUIT, MID_RELOAD, MID_SUMOGUI, MID_WINDOW, GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myCartesianFrame, myEvents, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGeoFrame, myLoadThread, myLoadThreadEvent, myMainSplitter, GUIMainWindow::myMDIClient, myMDIMenu, myMenuBar, myMenuBarDrag, myMessageWindow, GUIMainWindow::myStatusbar, myTitlePrefix, GUIMainWindow::myTopDock, FXEX::FXBaseObject::setSelector(), FXEX::FXBaseObject::setTarget(), and WRITE_ERROR.
Referenced by main().
|
virtual |
detaches the tool/menu bar
Definition at line 402 of file GNEApplicationWindow.cpp.
References myMenuBarDrag.
void GNEApplicationWindow::disableSaveAdditionalsMenu | ( | ) |
disable save additionals
Definition at line 1279 of file GNEApplicationWindow.cpp.
References mySaveAdditionalsMenuCommand, and mySaveAdditionalsMenuCommandAs.
Referenced by closeAllWindows(), onCmdClose(), onCmdOpenNetwork(), and GNENet::requiereSaveAdditionals().
void GNEApplicationWindow::disableSaveShapesMenu | ( | ) |
disable save shapes
Definition at line 1293 of file GNEApplicationWindow.cpp.
References mySaveShapesMenuCommand, and mySaveShapesMenuCommandAs.
Referenced by closeAllWindows(), onCmdClose(), onCmdOpenNetwork(), and GNENet::requiereSaveShapes().
void GNEApplicationWindow::enableSaveAdditionalsMenu | ( | ) |
enable save additionals
Definition at line 1272 of file GNEApplicationWindow.cpp.
References mySaveAdditionalsMenuCommand, and mySaveAdditionalsMenuCommandAs.
Referenced by GNENet::requiereSaveAdditionals().
void GNEApplicationWindow::enableSaveShapesMenu | ( | ) |
enable save shapes
Definition at line 1286 of file GNEApplicationWindow.cpp.
References mySaveShapesMenuCommand, and mySaveShapesMenuCommandAs.
Referenced by GNENet::requiereSaveShapes().
void GNEApplicationWindow::enableSaveTLSProgramsMenu | ( | ) |
enable save TLS Programs
Definition at line 1300 of file GNEApplicationWindow.cpp.
References mySaveTLSProgramsMenuCommand.
Referenced by GNENet::requiereSaveTLSPrograms().
|
virtual |
Implements MFXInterThreadEventClient.
Definition at line 1002 of file GNEApplicationWindow.cpp.
References MFXEventQue< T >::empty(), EVENT_DEBUG_OCCURRED, EVENT_ERROR_OCCURRED, EVENT_GLDEBUG_OCCURRED, EVENT_MESSAGE_OCCURRED, EVENT_SIMULATION_LOADED, EVENT_WARNING_OCCURRED, GUIEvent::getOwnType(), handleEvent_Message(), handleEvent_NetworkLoaded(), myEvents, MFXEventQue< T >::pop(), and MFXEventQue< T >::top().
Referenced by onLoadThreadEvent().
|
protectedvirtual |
Builds the menu bar.
Definition at line 409 of file GNEApplicationWindow.cpp.
References GUIIconSubSys::getIcon(), ICON_CLEANJUNCTIONS, ICON_CLOSE, ICON_COMPUTEJUNCTIONS, ICON_JOINJUNCTIONS, ICON_LOCATEADD, ICON_LOCATEEDGE, ICON_LOCATEJUNCTION, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_LOCATETLS, ICON_MODEADDITIONAL, ICON_MODECONNECTION, ICON_MODECREATEEDGE, ICON_MODECROSSING, ICON_MODEDELETE, ICON_MODEINSPECT, ICON_MODEMOVE, ICON_MODEPOLYGON, ICON_MODEPROHIBITION, ICON_MODESELECT, ICON_MODETAZ, ICON_MODETLS, ICON_OPEN_ADDITIONALS, ICON_OPEN_CONFIG, ICON_OPEN_NET, ICON_OPEN_SHAPES, ICON_OPEN_TLSPROGRAMS, ICON_OPTIONS, ICON_REDO, ICON_RELOAD, ICON_SAVE, ICON_SUMO_MINI, ICON_UNDO, MID_ABOUT, MID_CLEARMESSAGEWINDOW, MID_CLOSE, MID_EDITVIEWPORT, MID_EDITVIEWSCHEME, MID_GNE_HOTKEY_TOOGLE_GRID, MID_GNE_PROCESSING_CLEANINVALIDCROSSINGS, MID_GNE_PROCESSING_CLEANJUNCTIONS, MID_GNE_PROCESSING_COMPUTEJUNCTIONS, MID_GNE_PROCESSING_COMPUTEJUNCTIONS_VOLATILE, MID_GNE_PROCESSING_JOINJUNCTIONS, MID_GNE_PROCESSING_OPTIONS, MID_GNE_SETMODE_ADDITIONAL, MID_GNE_SETMODE_CONNECT, MID_GNE_SETMODE_CREATE_EDGE, MID_GNE_SETMODE_CROSSING, MID_GNE_SETMODE_DELETE, MID_GNE_SETMODE_INSPECT, MID_GNE_SETMODE_MOVE, MID_GNE_SETMODE_POLYGON, MID_GNE_SETMODE_PROHIBITION, MID_GNE_SETMODE_SELECT, MID_GNE_SETMODE_TAZ, MID_GNE_SETMODE_TLS, MID_GNE_TOOLBARFILE_NEWNETWORK, MID_GNE_TOOLBARFILE_OPENFOREIGN, MID_GNE_TOOLBARFILE_SAVEADDITIONALS, MID_GNE_TOOLBARFILE_SAVEADDITIONALS_AS, MID_GNE_TOOLBARFILE_SAVEJOINED, MID_GNE_TOOLBARFILE_SAVENETWORK, MID_GNE_TOOLBARFILE_SAVENETWORK_AS, MID_GNE_TOOLBARFILE_SAVEPLAINXML, MID_GNE_TOOLBARFILE_SAVESHAPES, MID_GNE_TOOLBARFILE_SAVESHAPES_AS, MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS, MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS_AS, MID_HELP, MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATETLS, MID_OPEN_ADDITIONALS, MID_OPEN_CONFIG, MID_OPEN_NETWORK, MID_OPEN_SHAPES, MID_OPEN_TLSPROGRAMS, MID_QUIT, MID_RECENTFILE, MID_RELOAD, MID_SUMOGUI, myEditMenu, myFileMenu, myFileMenuAdditionals, myFileMenuShapes, myFileMenuTLS, myHelpMenu, myLocatorMenu, myMenuBar, myMessageWindow, myProcessingMenu, myRecentConfigs, myRecentNets, mySaveAdditionalsMenuCommand, mySaveAdditionalsMenuCommandAs, mySaveShapesMenuCommand, mySaveShapesMenuCommandAs, mySaveTLSProgramsMenuCommand, GUIMainWindow::myStatusbar, myUndoList, and myWindowsMenu.
Referenced by dependentBuild(), and GNEApplicationWindow().
|
inherited |
get the active view or 0
Definition at line 191 of file GUIMainWindow.cpp.
References GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.
Referenced by GUIVehicle::drawOutsideNetwork(), and GUIMainWindow::sendBlockingEvent().
|
inherited |
Definition at line 145 of file GUIMainWindow.cpp.
References GUIMainWindow::myBoldFont.
Referenced by GUIGlObject::buildPopupHeader(), GNEFrame::ACHierarchy::createPopUpMenu(), and GUIMainWindow::getViews().
|
virtual |
get build OpenGL Canvas
Implements GUIMainWindow.
Definition at line 1164 of file GNEApplicationWindow.cpp.
References GUIGlChildWindow::getBuildGLCanvas(), and GUIMainWindow::myMDIClient.
Referenced by openNewView().
|
inherited |
Definition at line 170 of file GUIMainWindow.cpp.
References GUIMainWindow::myCartesianCoordinate.
Referenced by GUIMainWindow::setStatusBarText(), and GUISUMOAbstractView::updatePositionInformation().
|
virtual |
get current simulation time (pure virtual but we don't need it)
Implements GUIMainWindow.
Definition at line 1175 of file GNEApplicationWindow.cpp.
FXCursor * GNEApplicationWindow::getDefaultCursor | ( | ) |
get default cursor
Definition at line 1234 of file GNEApplicationWindow.cpp.
|
inlinevirtualinherited |
Returns the delay (should be overwritten by subclasses if applicable)
Reimplemented in GUIApplicationWindow.
Definition at line 108 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::getDelay(), and GUIViewTraffic::saveFrame().
|
inherited |
Definition at line 176 of file GUIMainWindow.cpp.
References GUIMainWindow::myGeoCoordinate.
Referenced by GUIMainWindow::setStatusBarText(), and GUISUMOAbstractView::updatePositionInformation().
|
inherited |
Definition at line 164 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLVisual.
Referenced by GUIMainWindow::getViews(), and GUISUMOViewParent::init().
|
staticinherited |
Definition at line 182 of file GUIMainWindow.cpp.
References GUIMainWindow::myInstance.
Referenced by GUIVehicle::drawOutsideNetwork(), TraCIServerAPI_GUI::getNamedView(), GUITexturesHelper::getTextureID(), GUIMainWindow::listTeleporting(), TraCIServerAPI_GUI::processGet(), GUIMessageWindow::setCursorPos(), and GUIRunThread::waitForSnapshots().
|
virtual |
get current tracker interval (pure virtual but we don't need it)
Implements GUIMainWindow.
Definition at line 1181 of file GNEApplicationWindow.cpp.
GNEUndoList * GNEApplicationWindow::getUndoList | ( | ) |
get pointer to undoList
Definition at line 1187 of file GNEApplicationWindow.cpp.
References myUndoList.
|
private |
convenience method
Definition at line 1974 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by continueWithUnsavedAdditionalChanges(), continueWithUnsavedChanges(), continueWithUnsavedShapeChanges(), handleEvent_NetworkLoaded(), onCmdAbort(), onCmdDel(), onCmdEditViewport(), onCmdEditViewScheme(), onCmdEnter(), onCmdFocusFrame(), onCmdOpenSUMOGUI(), onCmdSetMode(), onCmdToogleGrid(), and updateControls().
|
inherited |
Definition at line 134 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by TraCIServerAPI_GUI::getNamedView(), and GUIMessageWindow::setCursorPos().
|
inherited |
Definition at line 124 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by TraCIServerAPI_GUI::processGet(), and GUIMessageWindow::setCursorPos().
|
inlineinherited |
Definition at line 62 of file GUIMainWindow.h.
References GUIMainWindow::getBoldFont(), GUIMainWindow::getBuildGLCanvas(), GUIMainWindow::getCurrentSimTime(), GUIMainWindow::getGLVisual(), GUIMainWindow::getTrackerInterval(), GUIMainWindow::myGLWindows, and GUIMainWindow::updateChildren().
Referenced by GUIRunThread::waitForSnapshots().
void GNEApplicationWindow::handleEvent_Message | ( | GUIEvent * | e | ) |
hanlde event of type message
Definition at line 1118 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::appendMsg(), GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), and myMessageWindow.
Referenced by eventOccurred().
void GNEApplicationWindow::handleEvent_NetworkLoaded | ( | GUIEvent * | e | ) |
handle event of type Network loaded
Definition at line 1028 of file GNEApplicationWindow.cpp.
References GUISUMOAbstractView::addDecals(), GUISettingsHandler::addSettings(), GUISettingsHandler::applyViewport(), GUISettingsHandler::getDecals(), OptionsCont::getOptions(), OptionsCont::getString(), MFXUtils::getTitleText(), getView(), GNENet::getViewNet(), OptionsCont::isSet(), MID_GNE_SETMODE_INSPECT, myAdditionalsFile, myAmLoading, GNEEvent_NetworkLoaded::myFile, myMessageWindow, GNEEvent_NetworkLoaded::myNet, myNet, GNEEvent_NetworkLoaded::mySettingsFile, myShapesFile, myTitlePrefix, myTLSProgramsFile, myUndoList, myViewNumber, GNEEvent_NetworkLoaded::myViewportFromRegistry, openNewView(), GNEUndoList::p_begin(), GNEUndoList::p_end(), GUIMessageWindow::registerMsgHandlers(), GNENet::requiereSaveNet(), XMLSubSys::runParser(), Position::set(), GNEViewNet::setEditModeFromHotkey(), GUISettingsHandler::setSnapshots(), setStatusBarText(), XMLSubSys::setValidation(), GUISUMOAbstractView::setViewportFromToRot(), GUIMainWindow::setWindowSizeAndPos(), WRITE_ERROR, WRITE_MESSAGE, Position::x(), and Position::y().
Referenced by eventOccurred().
|
inlineinherited |
Definition at line 131 of file GUIMainWindow.h.
References GUIMainWindow::myAmFullScreen.
Referenced by GUIViewTraffic::onDoubleClicked().
|
inlineinherited |
return whether the gui is in gaming mode
Definition at line 84 of file GUIMainWindow.h.
References GUIMainWindow::myAmGaming.
Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded(), GUISUMOViewParent::init(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), and GUIViewTraffic::setColorScheme().
|
inlineinherited |
return whether to list internal structures
Definition at line 89 of file GUIMainWindow.h.
References GUIMainWindow::myListInternal.
Referenced by GUISUMOViewParent::onCmdLocate().
|
inlineinherited |
return whether to list parking vehicles
Definition at line 94 of file GUIMainWindow.h.
References GUIMainWindow::myListParking.
Referenced by GUIApplicationWindow::fillMenuBar(), and GUISUMOViewParent::onCmdLocate().
|
inlineinherited |
return whether to list teleporting vehicles
Definition at line 99 of file GUIMainWindow.h.
References GUIMainWindow::getInstance(), and GUIMainWindow::myListTeleporting.
Referenced by GUISUMOViewParent::onCmdLocate().
|
private |
starts to load a netimport configuration or a network */
Definition at line 1125 of file GNEApplicationWindow.cpp.
References closeAllWindows(), continueWithUnsavedChanges(), gSchemeStorage, GNELoadThread::loadConfigOrNet(), myAmLoading, myLoadThread, GUICompleteSchemeStorage::saveViewport(), setStatusBarText(), and GUIMainWindow::storeWindowSizeAndPos().
Referenced by loadOptionOnStartup(), onCmdNewNetwork(), onCmdOpenConfiguration(), onCmdOpenForeign(), onCmdOpenNetwork(), onCmdOpenRecent(), and onCmdReload().
void GNEApplicationWindow::loadOptionOnStartup | ( | ) |
load net on startup
Definition at line 1240 of file GNEApplicationWindow.cpp.
References OptionsCont::getBool(), OptionsCont::getOptions(), and loadConfigOrNet().
Referenced by main().
long GNEApplicationWindow::onClipboardRequest | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when the command/FXCall clipboard request is executed
Definition at line 986 of file GNEApplicationWindow.cpp.
References GUIUserIO::clipped.
long GNEApplicationWindow::onCmdAbort | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits esc
Definition at line 1350 of file GNEApplicationWindow.cpp.
References GNEViewNet::abortOperation(), GNETAZFrame::TAZSelectionStatistics::clearSelectedEdges(), GNETAZFrame::TAZSelectionStatistics::getEdgeAndTAZChildsSelected(), GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSelectionStatisticsModul(), getView(), GNEViewNet::getViewParent(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdAbout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall show about dialog is executed
Definition at line 973 of file GNEApplicationWindow.cpp.
References GNEDialog_About::create(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdAppSettings | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Opens the application settings menu.
long GNEApplicationWindow::onCmdCleanInvalidCrossings | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user selects Processing->clear invalid crossings
Definition at line 1616 of file GNEApplicationWindow.cpp.
References GNENet::cleanInvalidCrossings(), myNet, myUndoList, and WRITE_DEBUG.
long GNEApplicationWindow::onCmdCleanJunctions | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user selects Processing->clean junctions
Definition at line 1598 of file GNEApplicationWindow.cpp.
References myNet, myUndoList, GNENet::removeSolitaryJunctions(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdClearMsgWindow | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall clear message windows is executed
Definition at line 966 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::clear(), and myMessageWindow.
long GNEApplicationWindow::onCmdClose | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall close is executed
Definition at line 935 of file GNEApplicationWindow.cpp.
References closeAllWindows(), continueWithUnsavedChanges(), disableSaveAdditionalsMenu(), disableSaveShapesMenu(), and mySaveTLSProgramsMenuCommand.
long GNEApplicationWindow::onCmdComputeJunctions | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user selects Processing->compute junctions
Definition at line 1451 of file GNEApplicationWindow.cpp.
References GNENet::computeEverything(), myNet, updateControls(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdComputeJunctionsVolatile | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user selects Processing->compute junctions with volatile options
Definition at line 1461 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GNENet::computeEverything(), gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), GNENet::getNumberOfAdditionals(), GNENet::getNumberOfShapes(), GNENet::getViewNet(), ICON_MODEPOLYGON, ICON_MODETLS, myAdditionalsFile, myMessageWindow, myNet, myShapesFile, GNENet::saveAdditionals(), GNENet::saveShapes(), updateControls(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdDel | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits del
Definition at line 1374 of file GNEApplicationWindow.cpp.
References getView(), GNEViewNet::hotkeyDel(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdEditChosen | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall edit chosen is executed
Definition at line 706 of file GNEApplicationWindow.cpp.
References gSelected.
long GNEApplicationWindow::onCmdEditViewport | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Viewport.
Definition at line 1405 of file GNEApplicationWindow.cpp.
References getView(), and GUISUMOAbstractView::showViewportEditor().
long GNEApplicationWindow::onCmdEditViewScheme | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Visualization.
Definition at line 1414 of file GNEApplicationWindow.cpp.
References getView(), and GUISUMOAbstractView::showViewschemeEditor().
long GNEApplicationWindow::onCmdEnter | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits enter
Definition at line 1385 of file GNEApplicationWindow.cpp.
References getView(), GNEViewNet::hotkeyEnter(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdFocusFrame | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits f
Definition at line 1396 of file GNEApplicationWindow.cpp.
References getView(), and GNEViewNet::hotkeyFocusFrame().
|
inlinevirtualinherited |
Toggle full screen mode.
Reimplemented in GUIApplicationWindow.
Definition at line 127 of file GUIMainWindow.h.
Referenced by GUIViewTraffic::onDoubleClicked().
long GNEApplicationWindow::onCmdGaming | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall toogle gaming mode is executed
long GNEApplicationWindow::onCmdHelp | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user selects help->Documentation
Definition at line 1444 of file GNEApplicationWindow.cpp.
References FXLinkLabel::fxexecute().
long GNEApplicationWindow::onCmdJoinJunctions | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user selects Processing->join junctions
Definition at line 1607 of file GNEApplicationWindow.cpp.
References GNENet::joinSelectedJunctions(), myNet, myUndoList, and WRITE_DEBUG.
long GNEApplicationWindow::onCmdLocate | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when the command/FXCall locate is executed
Definition at line 948 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onCmdLocate().
long GNEApplicationWindow::onCmdNewNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 716 of file GNEApplicationWindow.cpp.
References continueWithUnsavedChanges(), GNELoadThread::fillOptions(), OptionsCont::getOptions(), loadConfigOrNet(), and GNELoadThread::setDefaultOptions().
long GNEApplicationWindow::onCmdNewView | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall new view is executed
long GNEApplicationWindow::onCmdOpenAdditionals | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open additionals is executed
Definition at line 853 of file GNEApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), GNENet::getViewNet(), ICON_MODEADDITIONAL, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), XMLSubSys::runParser(), XMLSubSys::setValidation(), and WRITE_MESSAGE.
long GNEApplicationWindow::onCmdOpenConfiguration | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open configuration is executed
Definition at line 730 of file GNEApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_MODECREATEEDGE, loadConfigOrNet(), myConfigPattern, and myRecentConfigs.
long GNEApplicationWindow::onCmdOpenForeign | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open foreign is executed
Definition at line 774 of file GNEApplicationWindow.cpp.
References NIFrame::checkOptions(), continueWithUnsavedChanges(), GNELoadThread::fillOptions(), gCurrentFolder, GUIIconSubSys::getIcon(), OptionsCont::getOptions(), ICON_MODECREATEEDGE, loadConfigOrNet(), and OptionsCont::set().
long GNEApplicationWindow::onCmdOpenNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open network is executed
Definition at line 750 of file GNEApplicationWindow.cpp.
References disableSaveAdditionalsMenu(), disableSaveShapesMenu(), gCurrentFolder, GUIIconSubSys::getIcon(), ICON_MODECREATEEDGE, loadConfigOrNet(), myRecentNets, and mySaveTLSProgramsMenuCommand.
long GNEApplicationWindow::onCmdOpenRecent | ( | FXObject * | sender, |
FXSelector | , | ||
void * | fileData | ||
) |
called when the command/FXCall open recent is executed
Definition at line 915 of file GNEApplicationWindow.cpp.
References loadConfigOrNet(), myAmLoading, myRecentNets, and GUIMainWindow::myStatusbar.
long GNEApplicationWindow::onCmdOpenShapes | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open shapes is executed
Definition at line 820 of file GNEApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_MODEPOLYGON, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), XMLSubSys::runParser(), XMLSubSys::setValidation(), and WRITE_MESSAGE.
long GNEApplicationWindow::onCmdOpenSUMOGUI | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hints ctrl + T
Definition at line 1315 of file GNEApplicationWindow.cpp.
References GUISUMOAbstractView::getChanger(), OptionsCont::getOptions(), OptionsCont::getString(), getView(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), FileHelpers::isReadable(), GUIMainWindow::myGLWindows, SysUtils::runHiddenCommand(), and WRITE_MESSAGE.
long GNEApplicationWindow::onCmdOpenTLSPrograms | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open additionals is executed
Definition at line 886 of file GNEApplicationWindow.cpp.
References GNENet::computeEverything(), gCurrentFolder, GUIIconSubSys::getIcon(), GNEViewParent::getTLSEditorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), ICON_MODETLS, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNETLSEditorFrame::parseTLSPrograms().
long GNEApplicationWindow::onCmdOptions | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user selects Processing->Configure Options
Definition at line 1625 of file GNEApplicationWindow.cpp.
References NIFrame::checkOptions(), NWFrame::checkOptions(), NBFrame::checkOptions(), and SystemFrame::checkOptions().
long GNEApplicationWindow::onCmdQuit | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called by FOX if the application shall be closed.
Definition at line 690 of file GNEApplicationWindow.cpp.
References continueWithUnsavedChanges(), gCurrentFolder, and GUIMainWindow::storeWindowSizeAndPos().
long GNEApplicationWindow::onCmdReload | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload is executed
Definition at line 927 of file GNEApplicationWindow.cpp.
References OptionsCont::getOptions(), and loadConfigOrNet().
long GNEApplicationWindow::onCmdSaveAdditionals | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save additionals is executed
Definition at line 1845 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), EVENT_MESSAGE_OCCURRED, gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_MODEADDITIONAL, myAdditionalsFile, myMessageWindow, myNet, mySaveAdditionalsMenuCommand, GNENet::saveAdditionals(), and WRITE_DEBUG.
Referenced by continueWithUnsavedAdditionalChanges(), and onCmdSaveAdditionalsAs().
long GNEApplicationWindow::onCmdSaveAdditionalsAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save additionals as is executed
Definition at line 1885 of file GNEApplicationWindow.cpp.
References gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_MODEADDITIONAL, myAdditionalsFile, and onCmdSaveAdditionals().
long GNEApplicationWindow::onCmdSaveAsNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save network as is executed
Definition at line 1640 of file GNEApplicationWindow.cpp.
References gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), MFXUtils::getTitleText(), ICON_MODECREATEEDGE, myTitlePrefix, onCmdSaveNetwork(), OptionsCont::resetWritable(), and OptionsCont::set().
Referenced by onCmdSaveNetwork().
long GNEApplicationWindow::onCmdSaveAsPlainXML | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save as plain xml is executed
Definition at line 1658 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), StringUtils::endsWith(), EVENT_MESSAGE_OCCURRED, gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), ICON_MODECREATEEDGE, OptionsCont::isSet(), myMessageWindow, myNet, myUndoList, OptionsCont::resetWritable(), GNENet::savePlain(), OptionsCont::set(), OptionsCont::unSet(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdSaveJoined | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save joined is executed
Definition at line 1706 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), EVENT_MESSAGE_OCCURRED, gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), ICON_MODECREATEEDGE, OptionsCont::isSet(), myMessageWindow, myNet, OptionsCont::resetWritable(), GNENet::saveJoined(), OptionsCont::set(), OptionsCont::unSet(), and WRITE_DEBUG.
long GNEApplicationWindow::onCmdSaveNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save network is executed
Definition at line 1815 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), EVENT_MESSAGE_OCCURRED, OptionsCont::getOptions(), OptionsCont::getString(), myMessageWindow, myNet, myRecentNets, myUndoList, onCmdSaveAsNetwork(), GNENet::save(), and WRITE_DEBUG.
Referenced by continueWithUnsavedChanges(), and onCmdSaveAsNetwork().
long GNEApplicationWindow::onCmdSaveShapes | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save shapes is executed
Definition at line 1745 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), EVENT_MESSAGE_OCCURRED, gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_MODEPOLYGON, myMessageWindow, myNet, mySaveShapesMenuCommand, myShapesFile, GNENet::saveShapes(), and WRITE_DEBUG.
Referenced by continueWithUnsavedShapeChanges(), and onCmdSaveShapesAs().
long GNEApplicationWindow::onCmdSaveShapesAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save shapes as is executed
Definition at line 1783 of file GNEApplicationWindow.cpp.
References gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_MODEPOLYGON, myShapesFile, and onCmdSaveShapes().
long GNEApplicationWindow::onCmdSaveTLSPrograms | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save TLSPrograms is executed
Definition at line 1903 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), EVENT_MESSAGE_OCCURRED, gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_MODETLS, myMessageWindow, myNet, mySaveTLSProgramsMenuCommand, myTLSProgramsFile, GNENet::saveTLSPrograms(), and WRITE_DEBUG.
Referenced by onCmdSaveTLSProgramsAs().
long GNEApplicationWindow::onCmdSaveTLSProgramsAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save TLSPrograms as is executed
Definition at line 1943 of file GNEApplicationWindow.cpp.
References gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_MODETLS, myTLSProgramsFile, and onCmdSaveTLSPrograms().
long GNEApplicationWindow::onCmdSetMode | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits an edit-mode hotkey
Definition at line 1306 of file GNEApplicationWindow.cpp.
References getView(), and GNEViewNet::setEditModeFromHotkey().
long GNEApplicationWindow::onCmdToogleGrid | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user press key combination Ctrl + G to toogle grid
Definition at line 1423 of file GNEApplicationWindow.cpp.
References GNEViewNet::getMenuCheckShowGrid(), getView(), GNEViewNet::onCmdShowGrid(), WRITE_DEBUG, and WRITE_WARNING.
long GNEApplicationWindow::onKeyPress | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
called when a key is pressed
Definition at line 2138 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyPress().
long GNEApplicationWindow::onKeyRelease | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
called when a key is released
Definition at line 2151 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyRelease().
long GNEApplicationWindow::onLoadThreadEvent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall load thread is executed
Definition at line 995 of file GNEApplicationWindow.cpp.
References eventOccurred().
long GNEApplicationWindow::onUpdNeedsNetwork | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the upadte/FXCall needs network is executed
Definition at line 1801 of file GNEApplicationWindow.cpp.
References myNet.
long GNEApplicationWindow::onUpdOpen | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall on update open executed
Definition at line 959 of file GNEApplicationWindow.cpp.
References myAmLoading.
long GNEApplicationWindow::onUpdReload | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall reload is executed
Definition at line 1808 of file GNEApplicationWindow.cpp.
References OptionsCont::getOptions(), and myNet.
long GNEApplicationWindow::onUpdSaveNetwork | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall save network is executed
Definition at line 1961 of file GNEApplicationWindow.cpp.
References OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), and myNet.
|
private |
opens a new simulation display
Definition at line 1147 of file GNEApplicationWindow.cpp.
References getBuildGLCanvas(), GUIGlChildWindow::getView(), GUIMainWindow::myMDIClient, myMDIMenu, myNet, myUndoList, myViewNumber, and toString().
Referenced by handleEvent_NetworkLoaded().
|
inherited |
Definition at line 115 of file GUIMainWindow.cpp.
References MFXMutex::lock(), GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, and MFXMutex::unlock().
Referenced by GUIDialog_Breakpoints::~GUIDialog_Breakpoints(), GUIDialog_GLChosenEditor::~GUIDialog_GLChosenEditor(), GUIDialog_GLObjChooser::~GUIDialog_GLObjChooser(), GUIParameterTableWindow::~GUIParameterTableWindow(), GUIParameterTracker::~GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::~GUITLLogicPhasesTrackerWindow().
|
inherited |
removes the given child window from the list
Definition at line 98 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by GNEViewParent::~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
inlinevirtualinherited |
retrieve breakpoints if provided by the application
Reimplemented in GUIApplicationWindow.
Definition at line 136 of file GUIMainWindow.h.
Referenced by GUIViewTraffic::retrieveBreakpoints().
|
inlinevirtualinherited |
Sends an event from the application thread to the GUI and waits until it is handled.
event | the event to send |
Reimplemented in GUIApplicationWindow.
Definition at line 119 of file GUIMainWindow.h.
References GUIMainWindow::getActiveView(), and UNUSED_PARAMETER.
void GNEApplicationWindow::setAdditionalsFile | ( | const std::string & | additionalsFile | ) |
set additionals file
Definition at line 1254 of file GNEApplicationWindow.cpp.
References myAdditionalsFile.
|
inlinevirtualinherited |
Sets the delay of the parent application.
Reimplemented in GUIApplicationWindow.
Definition at line 114 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::setDelay().
void GNEApplicationWindow::setShapesFile | ( | const std::string & | shapesFile | ) |
|
virtual |
set text of the statusBar
Reimplemented from GUIMainWindow.
Definition at line 1247 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myStatusbar.
Referenced by GNENet::computeEverything(), handleEvent_NetworkLoaded(), and loadConfigOrNet().
void GNEApplicationWindow::setTLSProgramsFile | ( | const std::string & | TLSProgramsFile | ) |
set TLS Programs file
Definition at line 1266 of file GNEApplicationWindow.cpp.
References myTLSProgramsFile.
|
protectedinherited |
perform initial window positioning and sizing according to user options / previous call
Definition at line 201 of file GUIMainWindow.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), OptionsCont::isSet(), MAX2(), MIN2(), StringUtils::toInt(), toString(), and WRITE_ERROR.
Referenced by GUIApplicationWindow::create(), create(), GUIMainWindow::GUIMainWindow(), handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
protectedinherited |
record window position and size in registry
Definition at line 241 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmFullScreen.
Referenced by GUIMainWindow::GUIMainWindow(), GUIApplicationWindow::loadConfigOrNet(), loadConfigOrNet(), GUIApplicationWindow::onCmdQuit(), onCmdQuit(), and GUIApplicationWindow::onCmdReload().
|
inherited |
Definition at line 151 of file GUIMainWindow.cpp.
References MFXMutex::lock(), MID_SIMSTEP, GUIMainWindow::myMDIClient, GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, and MFXMutex::unlock().
Referenced by GUIMainWindow::getViews(), GUIApplicationWindow::handleEvent_SimulationStep(), GUILaneSpeedTrigger::GUIManip_LaneSpeedTrigger::onCmdChangeOption(), GUITriggeredRerouter::GUIManip_TriggeredRerouter::onCmdChangeOption(), GUIDialog_GLChosenEditor::onCmdClear(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUILaneSpeedTrigger::GUIManip_LaneSpeedTrigger::onCmdPreDef(), GUILaneSpeedTrigger::GUIManip_LaneSpeedTrigger::onCmdUserDef(), GUITriggeredRerouter::GUIManip_TriggeredRerouter::onCmdUserDef(), GUILaneSpeedTrigger::GUIManip_LaneSpeedTrigger::onUpdPreDef(), GUICalibrator::GUIManip_Calibrator::onUpdPreDef(), GUILaneSpeedTrigger::GUIManip_LaneSpeedTrigger::onUpdUserDef(), GUICalibrator::GUIManip_Calibrator::onUpdUserDef(), and GUITriggeredRerouter::GUIManip_TriggeredRerouter::onUpdUserDef().
void GNEApplicationWindow::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 2129 of file GNEApplicationWindow.cpp.
References getView(), and GNEViewNet::updateControls().
Referenced by onCmdComputeJunctions(), onCmdComputeJunctionsVolatile(), GNEUndoList::redo(), and GNEUndoList::undo().
|
protected |
check if had dependent build
Definition at line 398 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
protected |
filename for load/save additionals
Definition at line 410 of file GNEApplicationWindow.h.
Referenced by handleEvent_NetworkLoaded(), onCmdComputeJunctionsVolatile(), onCmdSaveAdditionals(), onCmdSaveAdditionalsAs(), and setAdditionalsFile().
|
protectedinherited |
whether to show the window in full screen mode
Definition at line 142 of file GUIMainWindow.h.
Referenced by GUIMainWindow::isFullScreen(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), and GUIMainWindow::storeWindowSizeAndPos().
|
protectedinherited |
information whether the gui is currently in gaming mode
Definition at line 168 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::handleEvent_SimulationStep(), GUIMainWindow::isGaming(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), and GUIApplicationWindow::updateTimeLCD().
|
protected |
information whether the gui is currently loading and the load-options shall be greyed out
Definition at line 349 of file GNEApplicationWindow.h.
Referenced by handleEvent_NetworkLoaded(), loadConfigOrNet(), onCmdOpenRecent(), and onUpdOpen().
|
protectedinherited |
Font used for popup-menu titles.
Definition at line 150 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getBoldFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Definition at line 165 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Labels for the current cartesian and geo-coordinate.
Definition at line 159 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIApplicationWindow::dependentBuild(), dependentBuild(), and GUIMainWindow::getCartesianLabel().
|
protectedinherited |
Definition at line 160 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::create(), create(), GUIApplicationWindow::dependentBuild(), and dependentBuild().
|
protected |
Input file pattern.
Definition at line 395 of file GNEApplicationWindow.h.
Referenced by onCmdOpenConfiguration().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
List of got requests.
Definition at line 374 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), eventOccurred(), and ~GNEApplicationWindow().
|
protected |
the submenus
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protectedinherited |
Definition at line 159 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIApplicationWindow::dependentBuild(), dependentBuild(), and GUIMainWindow::getGeoLabel().
|
protectedinherited |
Definition at line 160 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::create(), create(), GUIApplicationWindow::dependentBuild(), and dependentBuild().
|
protectedinherited |
The gl-visual used.
Definition at line 163 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getGLVisual(), ~GNEApplicationWindow(), and GUIApplicationWindow::~GUIApplicationWindow().
|
protectedinherited |
Definition at line 144 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addGLChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), getView(), GUIMainWindow::getViewByID(), GUIMainWindow::getViewIDs(), GUIMainWindow::getViews(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIApplicationWindow::onCmdEditViewport(), GUIApplicationWindow::onCmdEditViewScheme(), GUIApplicationWindow::onCmdNetedit(), onCmdOpenSUMOGUI(), and GUIMainWindow::removeGLChild().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
staticprotectedinherited |
the singleton window instance
Definition at line 180 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getInstance(), and GUIMainWindow::GUIMainWindow().
|
protectedinherited |
Definition at line 165 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
information whether the locator should list internal structures
Definition at line 171 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listInternal(), and GUIApplicationWindow::onCmdListInternal().
|
protectedinherited |
information whether the locator should list parking vehicles
Definition at line 174 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::fillMenuBar(), GUIMainWindow::listParking(), and GUIApplicationWindow::onCmdListParking().
|
protectedinherited |
information whether the locator should list teleporting vehicles
Definition at line 177 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listTeleporting(), and GUIApplicationWindow::onCmdListTeleporting().
|
protected |
the thread that loads the network
Definition at line 343 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), loadConfigOrNet(), and ~GNEApplicationWindow().
|
protected |
io-event with the load-thread
Definition at line 386 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
The splitter that divides the main window into view and the log window.
Definition at line 366 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
protectedinherited |
The multi view panel.
Definition at line 153 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::dependentBuild(), dependentBuild(), GUIApplicationWindow::fillMenuBar(), GUIMainWindow::getActiveView(), GUIApplicationWindow::getBuildGLCanvas(), getBuildGLCanvas(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), onCmdLocate(), GUIApplicationWindow::onCmdLocate(), GUIApplicationWindow::onCmdOpenShapes(), GUIApplicationWindow::onCmdShowStats(), onKeyPress(), GUIApplicationWindow::onKeyPress(), onKeyRelease(), GUIApplicationWindow::onKeyRelease(), GUIApplicationWindow::openNewView(), openNewView(), and GUIMainWindow::updateChildren().
|
protected |
The menu used for the MDI-windows.
Definition at line 377 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), and openNewView().
|
protected |
The application menu bar.
Definition at line 380 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), and fillMenuBar().
|
protected |
Definition at line 369 of file GNEApplicationWindow.h.
Referenced by create(), dependentBuild(), and detach().
|
protected |
A window to display messages, warnings and error in.
Definition at line 363 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), fillMenuBar(), handleEvent_Message(), handleEvent_NetworkLoaded(), onCmdClearMsgWindow(), onCmdComputeJunctionsVolatile(), onCmdSaveAdditionals(), onCmdSaveAsPlainXML(), onCmdSaveJoined(), onCmdSaveNetwork(), onCmdSaveShapes(), and onCmdSaveTLSPrograms().
|
protected |
the name of the simulation
Definition at line 340 of file GNEApplicationWindow.h.
|
protected |
we are responsible for the net
Definition at line 401 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), continueWithUnsavedChanges(), handleEvent_NetworkLoaded(), onCmdCleanInvalidCrossings(), onCmdCleanJunctions(), onCmdComputeJunctions(), onCmdComputeJunctionsVolatile(), onCmdJoinJunctions(), onCmdOpenAdditionals(), onCmdOpenShapes(), onCmdOpenTLSPrograms(), onCmdSaveAdditionals(), onCmdSaveAsPlainXML(), onCmdSaveJoined(), onCmdSaveNetwork(), onCmdSaveShapes(), onCmdSaveTLSPrograms(), onUpdNeedsNetwork(), onUpdReload(), onUpdSaveNetwork(), and openNewView().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
List of recent config files.
Definition at line 389 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and onCmdOpenConfiguration().
|
protected |
List of recent nets.
Definition at line 392 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), onCmdOpenNetwork(), onCmdOpenRecent(), and onCmdSaveNetwork().
|
protectedinherited |
Definition at line 165 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
private |
FXMenuCommand for enable or disable save additionals.
Definition at line 420 of file GNEApplicationWindow.h.
Referenced by continueWithUnsavedAdditionalChanges(), disableSaveAdditionalsMenu(), enableSaveAdditionalsMenu(), fillMenuBar(), and onCmdSaveAdditionals().
|
private |
FXMenuCommand for enable or disable save additionals As.
Definition at line 423 of file GNEApplicationWindow.h.
Referenced by disableSaveAdditionalsMenu(), enableSaveAdditionalsMenu(), and fillMenuBar().
|
private |
FXMenuCommand for enable or disable save shapes.
Definition at line 426 of file GNEApplicationWindow.h.
Referenced by continueWithUnsavedShapeChanges(), disableSaveShapesMenu(), enableSaveShapesMenu(), fillMenuBar(), and onCmdSaveShapes().
|
private |
FXMenuCommand for enable or disable save shapes.
Definition at line 429 of file GNEApplicationWindow.h.
Referenced by disableSaveShapesMenu(), enableSaveShapesMenu(), and fillMenuBar().
|
private |
FXMenuCommand for enable or disable save additionals.
Definition at line 432 of file GNEApplicationWindow.h.
Referenced by enableSaveTLSProgramsMenu(), fillMenuBar(), onCmdClose(), onCmdOpenNetwork(), and onCmdSaveTLSPrograms().
|
protected |
filename for load/save shapes
Definition at line 413 of file GNEApplicationWindow.h.
Referenced by handleEvent_NetworkLoaded(), onCmdComputeJunctionsVolatile(), onCmdSaveShapes(), onCmdSaveShapesAs(), and setShapesFile().
|
protectedinherited |
The status bar.
Definition at line 156 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::dependentBuild(), dependentBuild(), GUIApplicationWindow::fillMenuBar(), fillMenuBar(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onCmdOpenRecent(), onCmdOpenRecent(), GUIApplicationWindow::onCmdSaveState(), GUIApplicationWindow::onCmdStart(), GUIApplicationWindow::onCmdStep(), GUIApplicationWindow::openNewView(), GUIApplicationWindow::setStatusBarText(), and setStatusBarText().
|
protected |
the prefix for the window title
Definition at line 407 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), handleEvent_NetworkLoaded(), and onCmdSaveAsNetwork().
|
protected |
filename for load/save TLS Programs
Definition at line 416 of file GNEApplicationWindow.h.
Referenced by handleEvent_NetworkLoaded(), onCmdSaveTLSPrograms(), onCmdSaveTLSProgramsAs(), and setTLSProgramsFile().
|
protected |
The application tool bar.
Definition at line 383 of file GNEApplicationWindow.h.
|
protected |
Definition at line 383 of file GNEApplicationWindow.h.
|
protected |
Definition at line 383 of file GNEApplicationWindow.h.
|
protected |
Definition at line 383 of file GNEApplicationWindow.h.
|
protected |
Definition at line 383 of file GNEApplicationWindow.h.
|
protected |
for some menu detaching fun
Definition at line 369 of file GNEApplicationWindow.h.
|
protected |
Definition at line 369 of file GNEApplicationWindow.h.
|
protected |
Definition at line 369 of file GNEApplicationWindow.h.
|
protected |
Definition at line 369 of file GNEApplicationWindow.h.
|
protected |
Definition at line 369 of file GNEApplicationWindow.h.
|
protectedinherited |
Definition at line 165 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::buildToolBars(), GUIApplicationWindow::dependentBuild(), dependentBuild(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
A lock to make the removal and addition of trackers secure.
Definition at line 147 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protectedinherited |
Definition at line 145 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protected |
the one and only undo list
Definition at line 404 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), continueWithUnsavedChanges(), fillMenuBar(), getUndoList(), handleEvent_NetworkLoaded(), onCmdCleanInvalidCrossings(), onCmdCleanJunctions(), onCmdJoinJunctions(), onCmdOpenAdditionals(), onCmdOpenShapes(), onCmdOpenTLSPrograms(), onCmdSaveAsPlainXML(), onCmdSaveNetwork(), openNewView(), and ~GNEApplicationWindow().
|
protected |
The current view number.
Definition at line 346 of file GNEApplicationWindow.h.
Referenced by handleEvent_NetworkLoaded(), and openNewView().
|
protected |
Definition at line 352 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().