![]() |
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 333 of file GNEInspectorFrame.h.
GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor | ( | GNEInspectorFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1436 of file GNEInspectorFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonRectangular, GUIDesignCheckButtonAttribute, 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 1455 of file GNEInspectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 365 of file GNEInspectorFrame.h.
void GNEInspectorFrame::GEOAttributesEditor::hideGEOAttributesEditor | ( | ) |
hide GEO attributes editor
Definition at line 1520 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 1593 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 1546 of file GNEInspectorFrame.cpp.
References GeoConvHelper::getFinal(), GNEInspectorFrame::getInspectedACs(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNEInspectorFrame::myAttributesEditor, myGEOAttributeTextField, myInspectorFrameParent, GNEInspectorFrame::myNeteditAttributesEditor, myUseGEOCheckButton, GNEInspectorFrame::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 1530 of file GNEInspectorFrame.cpp.
References GeoConvHelper::getFinal(), GNEInspectorFrame::getInspectedACs(), myGEOAttributeFrame, myGEOAttributeTextField, myInspectorFrameParent, SUMO_ATTR_GEOPOSITION, and SUMO_ATTR_GEOSHAPE.
Referenced by GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), and GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute().
void GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor | ( | ) |
show GEO attributes editor
Definition at line 1459 of file GNEInspectorFrame.cpp.
References GeoConvHelper::getFinal(), GNEInspectorFrame::getInspectedACs(), 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 372 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), hideGEOAttributesEditor(), refreshGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
Label for GEOAttribute.
Definition at line 375 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
textField for GEOAttribute
Definition at line 378 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), onCmdSetGEOAttribute(), refreshGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
button for help
Definition at line 390 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().
|
private |
current GNEInspectorFrame parent
Definition at line 369 of file GNEInspectorFrame.h.
Referenced by onCmdSetGEOAttribute(), refreshGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
checkBox for use GEO
Definition at line 387 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), onCmdSetGEOAttribute(), and showGEOAttributesEditor().
|
private |
horizontal frame for use GEO
Definition at line 381 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor(), hideGEOAttributesEditor(), and showGEOAttributesEditor().
|
private |
Label for use GEO.
Definition at line 384 of file GNEInspectorFrame.h.
Referenced by GEOAttributesEditor().