![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEPolygonFrame.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 (GNEPolygonFrame *polygonFrameParent) | |
| 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 | onCmdSetNeteditAttribute (FXObject *, FXSelector, void *) |
| long | onCmdHelp (FXObject *, FXSelector, void *) |
| Called when help button is pressed. 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... | |
Definition at line 241 of file GNEPolygonFrame.h.
| GNEPolygonFrame::NeteditAttributes::NeteditAttributes | ( | GNEPolygonFrame * | polygonFrameParent | ) |
FOX-declaration.
constructor
Definition at line 531 of file GNEPolygonFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonRectangular, GUIDesignCheckButtonAttribute, GUIDesignLabelAttribute, MID_GNE_SET_ATTRIBUTE, MID_HELP, myBlockMovementCheckButton, myBlockMovementLabel, myBlockShapeCheckButton, myBlockShapeFrame, myBlockShapeLabel, myClosePolygonCheckButton, myClosePolygonFrame, and myClosePolygonLabel.
| GNEPolygonFrame::NeteditAttributes::~NeteditAttributes | ( | ) |
destructor
Definition at line 552 of file GNEPolygonFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 278 of file GNEPolygonFrame.h.
| void GNEPolygonFrame::NeteditAttributes::hideNeteditAttributes | ( | ) |
hide NeteditAttributes
Definition at line 570 of file GNEPolygonFrame.cpp.
Referenced by GNEPolygonFrame::ShapeSelector::setCurrentShape().
| bool GNEPolygonFrame::NeteditAttributes::isBlockMovementEnabled | ( | ) | const |
check if block movement is enabled
Definition at line 576 of file GNEPolygonFrame.cpp.
References myBlockMovementCheckButton.
Referenced by GNEPolygonFrame::buildPoly(), and GNEPolygonFrame::processClick().
| bool GNEPolygonFrame::NeteditAttributes::isBlockShapeEnabled | ( | ) | const |
check if block shape is enabled
Definition at line 582 of file GNEPolygonFrame.cpp.
References myBlockShapeCheckButton.
Referenced by GNEPolygonFrame::buildPoly().
| bool GNEPolygonFrame::NeteditAttributes::isCloseShapeEnabled | ( | ) | const |
check if clse shape is enabled
Definition at line 588 of file GNEPolygonFrame.cpp.
References myClosePolygonCheckButton.
Referenced by GNEPolygonFrame::DrawingMode::stopDrawing().
| long GNEPolygonFrame::NeteditAttributes::onCmdHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when help button is pressed.
Finish + toString(currentTag)
Finish + toString(currentTag)
Definition at line 619 of file GNEPolygonFrame.cpp.
References GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, ICON_ACCEPT, ICON_MODEPOLYGON, and WRITE_DEBUG.
| long GNEPolygonFrame::NeteditAttributes::onCmdSetNeteditAttribute | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 594 of file GNEPolygonFrame.cpp.
References myBlockMovementCheckButton, myBlockShapeCheckButton, and myClosePolygonCheckButton.
| void GNEPolygonFrame::NeteditAttributes::showNeteditAttributes | ( | bool | shapeEditing | ) |
show NeteditAttributes
Definition at line 556 of file GNEPolygonFrame.cpp.
References myBlockShapeFrame, and myClosePolygonFrame.
Referenced by GNEPolygonFrame::ShapeSelector::setCurrentShape().
|
private |
checkBox for block movement
Definition at line 285 of file GNEPolygonFrame.h.
Referenced by isBlockMovementEnabled(), NeteditAttributes(), and onCmdSetNeteditAttribute().
|
private |
Label for block movement.
Definition at line 282 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes().
|
private |
checkBox for block shape
Definition at line 294 of file GNEPolygonFrame.h.
Referenced by isBlockShapeEnabled(), NeteditAttributes(), and onCmdSetNeteditAttribute().
|
private |
frame for Block shape
Definition at line 288 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes(), and showNeteditAttributes().
|
private |
Label for block shape.
Definition at line 291 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes().
|
private |
checkbox to enable/disable closing polygon
Definition at line 303 of file GNEPolygonFrame.h.
Referenced by isCloseShapeEnabled(), NeteditAttributes(), and onCmdSetNeteditAttribute().
|
private |
Frame for open/close polygon.
Definition at line 297 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes(), and showNeteditAttributes().
|
private |
Label for open/close polygon.
Definition at line 300 of file GNEPolygonFrame.h.
Referenced by NeteditAttributes().