![]() |
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... | |
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 122 of file GNEInspectorFrame.h.
GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor | ( | GNEInspectorFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 689 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 708 of file GNEInspectorFrame.cpp.
void GNEInspectorFrame::GEOAttributesEditor::hideGEOAttributesEditor | ( | ) |
hide GEO attributes editor
Definition at line 782 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::hide().
Referenced by GNEInspectorFrame::inspectMultisection().
long GNEInspectorFrame::GEOAttributesEditor::onCmdGEOAttributeHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when user press the help button.
Definition at line 855 of file GNEInspectorFrame.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignLabelFrameInformation, and ICON_ACCEPT.
Referenced by FXDEFMAP().
long GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
Called when user change the current GEO Attribute.
Definition at line 808 of file GNEInspectorFrame.cpp.
References GeoConvHelper::getFinal(), SUMO_ATTR_GEO, SUMO_ATTR_GEOPOSITION, and SUMO_ATTR_GEOSHAPE.
Referenced by FXDEFMAP().
void GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor | ( | bool | forceRefresh | ) |
refresh GEO attributes editor
Definition at line 792 of file GNEInspectorFrame.cpp.
References GeoConvHelper::getFinal(), SUMO_ATTR_GEOPOSITION, and SUMO_ATTR_GEOSHAPE.
Referenced by GNEInspectorFrame::attributeUpdated().
void GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor | ( | ) |
show GEO attributes editor
Definition at line 712 of file GNEInspectorFrame.cpp.
References GeoConvHelper::getFinal(), GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, 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 160 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
Label for GEOAttribute.
Definition at line 163 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
textField for GEOAttribute
Definition at line 166 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
button for help
Definition at line 178 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
current GNEInspectorFrame parent
Definition at line 157 of file GNEInspectorFrame.h.
|
private |
checkBox for use GEO
Definition at line 175 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
horizontal frame for use GEO
Definition at line 169 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
Label for use GEO.
Definition at line 172 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().