![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEInspectorFrame.h>
Public Member Functions | |
void | hideNeteditAttributesEditor () |
hide netedit attributes editor More... | |
NeteditAttributesEditor (GNEInspectorFrame *inspectorFrameParent) | |
FOX-declaration. More... | |
void | refreshNeteditAttributesEditor (bool forceRefresh) |
refresh netedit attributes More... | |
void | showNeteditAttributesEditor () |
show netedit attributes editor More... | |
~NeteditAttributesEditor () | |
destructor More... | |
FOX-callbacks | |
long | onCmdSetNeteditAttribute (FXObject *, FXSelector, void *) |
Called when user change the current GEO Attribute. More... | |
long | onCmdNeteditAttributeHelp (FXObject *, FXSelector, void *) |
Called when user press the help button. More... | |
Protected Member Functions | |
NeteditAttributesEditor () | |
FOX needs this. More... | |
Private Attributes | |
FXCheckButton * | myCheckBoxBlockMovement |
pointer to check box "Block movement" More... | |
FXCheckButton * | myCheckBoxBlockShape |
pointer to check box "Block Shape" More... | |
FXCheckButton * | myCheckBoxCloseShape |
pointer to check box "Block movement" More... | |
FXButton * | myHelpButton |
button for help More... | |
FXHorizontalFrame * | myHorizontalFrameAdditionalParent |
horizontal frame for change additional parent More... | |
FXHorizontalFrame * | myHorizontalFrameBlockMovement |
horizontal frame for block movement More... | |
FXHorizontalFrame * | myHorizontalFrameBlockShape |
horizontal frame for block shape More... | |
FXHorizontalFrame * | myHorizontalFrameCloseShape |
horizontal frame for close shape More... | |
GNEInspectorFrame * | myInspectorFrameParent |
pointer to inspector frame parent More... | |
FXLabel * | myLabelAdditionalParent |
Label for additional parent. More... | |
FXLabel * | myLabelBlockMovement |
Label for Check blocked movement. More... | |
FXLabel * | myLabelBlockShape |
Label for Check blocked shape. More... | |
FXLabel * | myLabelCloseShape |
Label for close shape. More... | |
FXTextField * | myTextFieldAdditionalParent |
pointer for change additional parent More... | |
Definition at line 251 of file GNEInspectorFrame.h.
GNEInspectorFrame::NeteditAttributesEditor::NeteditAttributesEditor | ( | GNEInspectorFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1173 of file GNEInspectorFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonRectangular, GUIDesignCheckButtonAttribute, GUIDesignLabelAttribute, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SET_ATTRIBUTE, MID_HELP, myCheckBoxBlockMovement, myCheckBoxBlockShape, myCheckBoxCloseShape, myHelpButton, myHorizontalFrameAdditionalParent, myHorizontalFrameBlockMovement, myHorizontalFrameBlockShape, myHorizontalFrameCloseShape, myLabelAdditionalParent, myLabelBlockMovement, myLabelBlockShape, myLabelCloseShape, and myTextFieldAdditionalParent.
GNEInspectorFrame::NeteditAttributesEditor::~NeteditAttributesEditor | ( | ) |
destructor
Definition at line 1202 of file GNEInspectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 283 of file GNEInspectorFrame.h.
void GNEInspectorFrame::NeteditAttributesEditor::hideNeteditAttributesEditor | ( | ) |
hide netedit attributes editor
Definition at line 1290 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::hide(), myHorizontalFrameAdditionalParent, myHorizontalFrameBlockMovement, myHorizontalFrameBlockShape, and myHorizontalFrameCloseShape.
Referenced by GNEInspectorFrame::inspectMultisection().
long GNEInspectorFrame::NeteditAttributesEditor::onCmdNeteditAttributeHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when user press the help button.
Definition at line 1428 of file GNEInspectorFrame.cpp.
long GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
Called when user change the current GEO Attribute.
Definition at line 1363 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::getInspectedACs(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_PARENT, GNEInspectorFrame::myAttributesEditor, myCheckBoxBlockMovement, myCheckBoxBlockShape, myCheckBoxCloseShape, GNEInspectorFrame::myGEOAttributesEditor, myInspectorFrameParent, myTextFieldAdditionalParent, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEInspectorFrame::AttributesEditor::refreshAttributeEditor(), and GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor().
void GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor | ( | bool | forceRefresh | ) |
refresh netedit attributes
Definition at line 1302 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::getInspectedACs(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_PARENT, myCheckBoxBlockMovement, myCheckBoxBlockShape, myCheckBoxCloseShape, myHorizontalFrameAdditionalParent, myHorizontalFrameBlockMovement, myHorizontalFrameBlockShape, myHorizontalFrameCloseShape, myInspectorFrameParent, myLabelAdditionalParent, myTextFieldAdditionalParent, and toString().
Referenced by GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), and GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute().
void GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor | ( | ) |
show netedit attributes editor
Definition at line 1206 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::getInspectedACs(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_PARENT, myCheckBoxBlockMovement, myCheckBoxBlockShape, myCheckBoxCloseShape, myHorizontalFrameAdditionalParent, myHorizontalFrameBlockMovement, myHorizontalFrameBlockShape, myHorizontalFrameCloseShape, myInspectorFrameParent, myLabelAdditionalParent, myTextFieldAdditionalParent, GNEInspectorFrame::show(), and toString().
Referenced by GNEInspectorFrame::inspectMultisection().
|
private |
pointer to check box "Block movement"
Definition at line 305 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor(), onCmdSetNeteditAttribute(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
pointer to check box "Block Shape"
Definition at line 314 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor(), onCmdSetNeteditAttribute(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
pointer to check box "Block movement"
Definition at line 323 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor(), onCmdSetNeteditAttribute(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
button for help
Definition at line 326 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor().
|
private |
horizontal frame for change additional parent
Definition at line 290 of file GNEInspectorFrame.h.
Referenced by hideNeteditAttributesEditor(), NeteditAttributesEditor(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
horizontal frame for block movement
Definition at line 299 of file GNEInspectorFrame.h.
Referenced by hideNeteditAttributesEditor(), NeteditAttributesEditor(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
horizontal frame for block shape
Definition at line 308 of file GNEInspectorFrame.h.
Referenced by hideNeteditAttributesEditor(), NeteditAttributesEditor(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
horizontal frame for close shape
Definition at line 317 of file GNEInspectorFrame.h.
Referenced by hideNeteditAttributesEditor(), NeteditAttributesEditor(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
pointer to inspector frame parent
Definition at line 287 of file GNEInspectorFrame.h.
Referenced by onCmdSetNeteditAttribute(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
Label for additional parent.
Definition at line 293 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().
|
private |
Label for Check blocked movement.
Definition at line 302 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor().
|
private |
Label for Check blocked shape.
Definition at line 311 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor().
|
private |
Label for close shape.
Definition at line 320 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor().
|
private |
pointer for change additional parent
Definition at line 296 of file GNEInspectorFrame.h.
Referenced by NeteditAttributesEditor(), onCmdSetNeteditAttribute(), refreshNeteditAttributesEditor(), and showNeteditAttributesEditor().