![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEInspectorFrame.h>
Public Member Functions | |
| GEOAttributesEditor (GNEInspectorFrame *inspectorFrameParent) | |
| FOX-declaration. More... | |
| void | hideGEOAttributesEditor () |
| hide GEO attributes editor More... | |
| void | refreshGEOAttributesEditor (bool forceRefresh) |
| refresh GEO attributes editor More... | |
| void | showGEOAttributesEditor () |
| show GEO attributes editor More... | |
| ~GEOAttributesEditor () | |
| destructor More... | |
FOX-callbacks | |
| long | onCmdSetGEOAttribute (FXObject *, FXSelector, void *) |
| Called when user change the current GEO Attribute. More... | |
| long | onCmdGEOAttributeHelp (FXObject *, FXSelector, void *) |
| Called when user press the help button. More... | |
Protected Member Functions | |
| GEOAttributesEditor () | |
| FOX needs this. More... | |
Private Attributes | |
| FXHorizontalFrame * | myGEOAttributeFrame |
| horizontal frame for GEOAttribute More... | |
| FXLabel * | myGEOAttributeLabel |
| Label for GEOAttribute. More... | |
| FXTextField * | myGEOAttributeTextField |
| textField for GEOAttribute More... | |
| FXButton * | myHelpButton |
| button for help More... | |
| GNEInspectorFrame * | myInspectorFrameParent |
| current GNEInspectorFrame parent More... | |
| FXCheckButton * | myUseGEOCheckButton |
| checkBox for use GEO More... | |
| FXHorizontalFrame * | myUseGEOFrame |
| horizontal frame for use GEO More... | |
| FXLabel * | myUseGEOLabel |
| Label for use GEO. More... | |
Definition at line 212 of file GNEInspectorFrame.h.
| GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor | ( | GNEInspectorFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 888 of file GNEInspectorFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonRectangular, GUIDesignCheckButton, GUIDesignLabelAttribute, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SET_ATTRIBUTE, MID_HELP, myGEOAttributeFrame, myGEOAttributeLabel, myGEOAttributeTextField, myHelpButton, myUseGEOCheckButton, myUseGEOFrame, myUseGEOLabel, SUMO_ATTR_GEO, and toString().
| GNEInspectorFrame::GEOAttributesEditor::~GEOAttributesEditor | ( | ) |
destructor
Definition at line 907 of file GNEInspectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 244 of file GNEInspectorFrame.h.
| void GNEInspectorFrame::GEOAttributesEditor::hideGEOAttributesEditor | ( | ) |
hide GEO attributes editor
Definition at line 981 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::hide(), myGEOAttributeFrame, and myUseGEOFrame.
Referenced by GNEInspectorFrame::inspectMultisection().
| long GNEInspectorFrame::GEOAttributesEditor::onCmdGEOAttributeHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user press the help button.
Definition at line 1054 of file GNEInspectorFrame.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignLabelFrameInformation, and ICON_ACCEPT.
| long GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user change the current GEO Attribute.
Definition at line 1007 of file GNEInspectorFrame.cpp.
References GNEFrameAttributesModuls::AttributesEditor::getEditedACs(), GeoConvHelper::getFinal(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNEInspectorFrame::myAttributesEditor, myGEOAttributeTextField, myInspectorFrameParent, GNEInspectorFrame::myNeteditAttributesEditor, myUseGEOCheckButton, GNEFrameAttributesModuls::AttributesEditor::refreshAttributeEditor(), GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor(), SUMO_ATTR_GEO, SUMO_ATTR_GEOPOSITION, and SUMO_ATTR_GEOSHAPE.
| void GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor | ( | bool | forceRefresh | ) |
refresh GEO attributes editor
Definition at line 991 of file GNEInspectorFrame.cpp.
References GNEFrameAttributesModuls::AttributesEditor::getEditedACs(), GeoConvHelper::getFinal(), GNEInspectorFrame::myAttributesEditor, myGEOAttributeFrame, myGEOAttributeTextField, myInspectorFrameParent, SUMO_ATTR_GEOPOSITION, and SUMO_ATTR_GEOSHAPE.
Referenced by GNEInspectorFrame::attributeUpdated(), and GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute().
| void GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor | ( | ) |
show GEO attributes editor
Definition at line 911 of file GNEInspectorFrame.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNEFrameAttributesModuls::AttributesEditor::getEditedACs(), GNEViewNet::getEditModes(), GeoConvHelper::getFinal(), GNEFrame::getViewNet(), GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, GNEInspectorFrame::myAttributesEditor, myGEOAttributeFrame, myGEOAttributeLabel, myGEOAttributeTextField, myInspectorFrameParent, myUseGEOCheckButton, myUseGEOFrame, GNEInspectorFrame::show(), SUMO_ATTR_GEO, SUMO_ATTR_GEOPOSITION, SUMO_ATTR_GEOSHAPE, and toString().
Referenced by GNEInspectorFrame::inspectMultisection().
|
private |
horizontal frame for GEOAttribute
Definition at line 251 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), hideGEOAttributesEditor(), refreshGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
Label for GEOAttribute.
Definition at line 254 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
textField for GEOAttribute
Definition at line 257 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), onCmdSetGEOAttribute(), refreshGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
button for help
Definition at line 269 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
current GNEInspectorFrame parent
Definition at line 248 of file GNEInspectorFrame.h.
Referenced by onCmdSetGEOAttribute(), refreshGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
checkBox for use GEO
Definition at line 266 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), onCmdSetGEOAttribute(), and showGEOAttributesEditor().
|
private |
horizontal frame for use GEO
Definition at line 260 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), hideGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
Label for use GEO.
Definition at line 263 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().