![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEFrame.h>
Public Member Functions | |
void | hideNeteditAttributes () |
hide NeteditAttributes More... | |
bool | isBlockMovementEnabled () const |
check if block movement is enabled More... | |
bool | isBlockShapeEnabled () const |
check if block shape is enabled More... | |
bool | isCloseShapeEnabled () const |
check if clse shape is enabled More... | |
NeteditAttributes (GNEFrame *frameParent) | |
FOX-declaration. More... | |
void | showNeteditAttributes (bool shapeEditing) |
show NeteditAttributes More... | |
~NeteditAttributes () | |
destructor More... | |
FOX-callbacks | |
Called when user changes the checkbox "set blocking movement" | |
long | onCmdSetBlockMovement (FXObject *, FXSelector, void *) |
long | onCmdSetBlockShape (FXObject *, FXSelector, void *) |
Called when user changes the checkbox "set blocking shape". More... | |
long | onCmdsetClosingShape (FXObject *, FXSelector, void *) |
Called when the user change checkbox for open/closed polygon. More... | |
Protected Member Functions | |
NeteditAttributes () | |
FOX needs this. More... | |
Private Attributes | |
FXCheckButton * | myBlockMovementCheckButton |
checkBox for block movement More... | |
FXLabel * | myBlockMovementLabel |
Label for block movement. More... | |
FXCheckButton * | myBlockShapeCheckButton |
checkBox for block shape More... | |
FXHorizontalFrame * | myBlockShapeFrame |
frame for Block shape More... | |
FXLabel * | myBlockShapeLabel |
Label for block shape. More... | |
FXCheckButton * | myClosePolygonCheckButton |
checkbox to enable/disable closing polygon More... | |
FXHorizontalFrame * | myClosePolygonFrame |
Frame for open/close polygon. More... | |
FXLabel * | myClosePolygonLabel |
Label for open/close polygon. More... | |
GNEFrame * | myFrameParent |
GNEFrame parent. More... | |
Definition at line 62 of file GNEFrame.h.
GNEFrame::NeteditAttributes::NeteditAttributes | ( | GNEFrame * | frameParent | ) |
FOX-declaration.
constructor
Definition at line 84 of file GNEFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignCheckButtonAttribute, GUIDesignLabelAttribute, MID_GNE_ADDITIONALFRAME_BLOCKMOVEMENT, MID_GNE_POLYGONFRAME_CLOSE, and MID_GNE_SET_BLOCKING_SHAPE.
GNEFrame::NeteditAttributes::~NeteditAttributes | ( | ) |
destructor
Definition at line 104 of file GNEFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 102 of file GNEFrame.h.
void GNEFrame::NeteditAttributes::hideNeteditAttributes | ( | ) |
hide NeteditAttributes
Definition at line 122 of file GNEFrame.cpp.
Referenced by GNEPolygonFrame::onCmdSelectShape().
bool GNEFrame::NeteditAttributes::isBlockMovementEnabled | ( | ) | const |
check if block movement is enabled
Definition at line 128 of file GNEFrame.cpp.
References myBlockMovementCheckButton.
Referenced by GNEPolygonFrame::buildPoly(), and GNEPolygonFrame::processClick().
bool GNEFrame::NeteditAttributes::isBlockShapeEnabled | ( | ) | const |
check if block shape is enabled
Definition at line 134 of file GNEFrame.cpp.
References myBlockShapeCheckButton.
Referenced by GNEPolygonFrame::buildPoly().
bool GNEFrame::NeteditAttributes::isCloseShapeEnabled | ( | ) | const |
check if clse shape is enabled
Definition at line 140 of file GNEFrame.cpp.
References myClosePolygonCheckButton.
Referenced by GNEFrame::DrawingMode::stopDrawing().
long GNEFrame::NeteditAttributes::onCmdSetBlockMovement | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 146 of file GNEFrame.cpp.
References myBlockMovementCheckButton.
long GNEFrame::NeteditAttributes::onCmdSetBlockShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when user changes the checkbox "set blocking shape".
Definition at line 157 of file GNEFrame.cpp.
References myBlockShapeCheckButton.
long GNEFrame::NeteditAttributes::onCmdsetClosingShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user change checkbox for open/closed polygon.
Definition at line 168 of file GNEFrame.cpp.
References myClosePolygonCheckButton.
void GNEFrame::NeteditAttributes::showNeteditAttributes | ( | bool | shapeEditing | ) |
show NeteditAttributes
Definition at line 108 of file GNEFrame.cpp.
References myBlockShapeFrame, and myClosePolygonFrame.
Referenced by GNEPolygonFrame::onCmdSelectShape().
|
private |
checkBox for block movement
Definition at line 112 of file GNEFrame.h.
Referenced by isBlockMovementEnabled(), and onCmdSetBlockMovement().
|
private |
Label for block movement.
Definition at line 109 of file GNEFrame.h.
|
private |
checkBox for block shape
Definition at line 121 of file GNEFrame.h.
Referenced by isBlockShapeEnabled(), and onCmdSetBlockShape().
|
private |
frame for Block shape
Definition at line 115 of file GNEFrame.h.
Referenced by showNeteditAttributes().
|
private |
Label for block shape.
Definition at line 118 of file GNEFrame.h.
|
private |
checkbox to enable/disable closing polygon
Definition at line 130 of file GNEFrame.h.
Referenced by isCloseShapeEnabled(), and onCmdsetClosingShape().
|
private |
Frame for open/close polygon.
Definition at line 124 of file GNEFrame.h.
Referenced by showNeteditAttributes().
|
private |
Label for open/close polygon.
Definition at line 127 of file GNEFrame.h.
|
private |
GNEFrame parent.
Definition at line 106 of file GNEFrame.h.