![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEInspectorFrame.h>
Public Member Functions | |
void | hide () |
hide all NeteditParameters More... | |
NeteditParameters (GNEInspectorFrame *inspectorFrameParent) | |
FOX-declaration. More... | |
void | show () |
show NeteditParameters More... | |
~NeteditParameters () | |
destructor More... | |
FOX-callbacks | |
called when user change the parent of an additional | |
long | onCmdChangeAdditionalParent (FXObject *, FXSelector, void *) |
long | onCmdSetBlockingMovement (FXObject *, FXSelector, void *) |
called when user toogle the blocking movement CheckBox More... | |
long | onCmdSetBlockingShape (FXObject *, FXSelector, void *) |
called when user toogle the blocking shape CheckBox More... | |
long | onCmdSetClosingShape (FXObject *, FXSelector, void *) |
called when user toogle the closiong shape CheckBox More... | |
Protected Member Functions | |
NeteditParameters () | |
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... | |
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 139 of file GNEInspectorFrame.h.
GNEInspectorFrame::NeteditParameters::NeteditParameters | ( | GNEInspectorFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1043 of file GNEInspectorFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignCheckButtonAttribute, GUIDesignLabelAttribute, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_ADDITIONALFRAME_BLOCKMOVEMENT, MID_GNE_ADDITIONALFRAME_CHANGEPARENT, MID_GNE_SET_BLOCKING_SHAPE, MID_GNE_SET_CLOSING_SHAPE, myCheckBoxBlockMovement, myCheckBoxBlockShape, myCheckBoxCloseShape, myHorizontalFrameAdditionalParent, myHorizontalFrameBlockMovement, myHorizontalFrameBlockShape, myHorizontalFrameCloseShape, myLabelAdditionalParent, myLabelBlockMovement, myLabelBlockShape, myLabelCloseShape, and myTextFieldAdditionalParent.
GNEInspectorFrame::NeteditParameters::~NeteditParameters | ( | ) |
destructor
Definition at line 1069 of file GNEInspectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 173 of file GNEInspectorFrame.h.
void GNEInspectorFrame::NeteditParameters::hide | ( | ) |
hide all NeteditParameters
Definition at line 1143 of file GNEInspectorFrame.cpp.
References myHorizontalFrameAdditionalParent, myHorizontalFrameBlockMovement, myHorizontalFrameBlockShape, and myHorizontalFrameCloseShape.
Referenced by GNEInspectorFrame::inspectMultisection().
long GNEInspectorFrame::NeteditParameters::onCmdChangeAdditionalParent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1154 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::getInspectedACs(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNE_ATTR_PARENT, myInspectorFrameParent, and myTextFieldAdditionalParent.
long GNEInspectorFrame::NeteditParameters::onCmdSetBlockingMovement | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user toogle the blocking movement CheckBox
Definition at line 1167 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::getInspectedACs(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNE_ATTR_BLOCK_MOVEMENT, myCheckBoxBlockMovement, and myInspectorFrameParent.
long GNEInspectorFrame::NeteditParameters::onCmdSetBlockingShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user toogle the blocking shape CheckBox
Definition at line 1187 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::getInspectedACs(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNE_ATTR_BLOCK_SHAPE, myCheckBoxBlockShape, and myInspectorFrameParent.
long GNEInspectorFrame::NeteditParameters::onCmdSetClosingShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user toogle the closiong shape CheckBox
Definition at line 1207 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::getInspectedACs(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNE_ATTR_CLOSE_SHAPE, myCheckBoxCloseShape, and myInspectorFrameParent.
void GNEInspectorFrame::NeteditParameters::show | ( | ) |
show NeteditParameters
Definition at line 1073 of file GNEInspectorFrame.cpp.
References GNEAttributeCarrier::canBlockMovement(), GNEAttributeCarrier::canBlockShape(), GNEAdditional::getAdditionalParent(), GNEAttributeCarrier::getID(), GNEInspectorFrame::getInspectedACs(), GNEAttributeCarrier::getTag(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, myCheckBoxBlockMovement, myCheckBoxBlockShape, myCheckBoxCloseShape, myHorizontalFrameAdditionalParent, myHorizontalFrameBlockMovement, myHorizontalFrameBlockShape, myHorizontalFrameCloseShape, myInspectorFrameParent, myLabelAdditionalParent, myTextFieldAdditionalParent, and toString().
Referenced by GNEInspectorFrame::inspectMultisection().
|
private |
pointer to check box "Block movement"
Definition at line 195 of file GNEInspectorFrame.h.
Referenced by NeteditParameters(), onCmdSetBlockingMovement(), and show().
|
private |
pointer to check box "Block Shape"
Definition at line 204 of file GNEInspectorFrame.h.
Referenced by NeteditParameters(), onCmdSetBlockingShape(), and show().
|
private |
pointer to check box "Block movement"
Definition at line 213 of file GNEInspectorFrame.h.
Referenced by NeteditParameters(), onCmdSetClosingShape(), and show().
|
private |
horizontal frame for change additional parent
Definition at line 180 of file GNEInspectorFrame.h.
Referenced by hide(), NeteditParameters(), and show().
|
private |
horizontal frame for block movement
Definition at line 189 of file GNEInspectorFrame.h.
Referenced by hide(), NeteditParameters(), and show().
|
private |
horizontal frame for block shape
Definition at line 198 of file GNEInspectorFrame.h.
Referenced by hide(), NeteditParameters(), and show().
|
private |
horizontal frame for close shape
Definition at line 207 of file GNEInspectorFrame.h.
Referenced by hide(), NeteditParameters(), and show().
|
private |
pointer to inspector frame parent
Definition at line 177 of file GNEInspectorFrame.h.
Referenced by onCmdChangeAdditionalParent(), onCmdSetBlockingMovement(), onCmdSetBlockingShape(), onCmdSetClosingShape(), and show().
|
private |
Label for additional parent.
Definition at line 183 of file GNEInspectorFrame.h.
Referenced by NeteditParameters(), and show().
|
private |
Label for Check blocked movement.
Definition at line 192 of file GNEInspectorFrame.h.
Referenced by NeteditParameters().
|
private |
Label for Check blocked shape.
Definition at line 201 of file GNEInspectorFrame.h.
Referenced by NeteditParameters().
|
private |
Label for close shape.
Definition at line 210 of file GNEInspectorFrame.h.
Referenced by NeteditParameters().
|
private |
pointer for change additional parent
Definition at line 186 of file GNEInspectorFrame.h.
Referenced by NeteditParameters(), onCmdChangeAdditionalParent(), and show().