![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameAttributesModuls.h>
Public Member Functions | |
AttributesEditor (GNEFrame *inspectorFrameParent) | |
FOX-declaration. More... | |
GNEFrame * | getFrameParent () const |
pointer to GNEFrame parent More... | |
void | hideAttributesEditorModul () |
hide attribute editor More... | |
void | refreshAttributeEditor (bool forceRefreshShape, bool forceRefreshPosition) |
refresh attribute editor (only the valid values will be refresh) More... | |
void | showAttributeEditorModul (bool includeExtended, bool forceAttributeEnabled) |
show attributes of multiple ACs More... | |
FOX-callbacks | |
Called when user press the help button | |
long | onCmdAttributesEditorHelp (FXObject *, FXSelector, void *) |
Private Attributes | |
AttributesEditorFlow * | myAttributesEditorFlow = nullptr |
pointer to attributesEditorFlow More... | |
std::vector< AttributesEditorRow * > | myAttributesEditorRows |
list of Attribute editor rows More... | |
GNEFrame * | myFrameParent = nullptr |
pointer to GNEFrame parent More... | |
FXButton * | myHelpButton = nullptr |
button for help More... | |
bool | myIncludeExtended |
flag used to mark if current edited ACs are bein edited including extended attribute More... | |
Definition at line 374 of file GNEFrameAttributesModuls.h.
GNEFrameAttributesModuls::AttributesEditor::AttributesEditor | ( | GNEFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1480 of file GNEFrameAttributesModuls.cpp.
References GUIDesignButtonRectangular, GNEFrameAttributesModuls::AttributesEditorFlow::hideAttributesEditorFlowModul(), GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES, MID_HELP, myAttributesEditorFlow, myAttributesEditorRows, and myHelpButton.
GNEFrame * GNEFrameAttributesModuls::AttributesEditor::getFrameParent | ( | ) | const |
pointer to GNEFrame parent
Definition at line 1673 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEVehicleTypeFrame::attributesEditorExtendedDialogOpened(), GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow(), GNEInspectorFrame::clearInspectedAC(), and GNEVehicleTypeFrame::show().
void GNEFrameAttributesModuls::AttributesEditor::hideAttributesEditorModul | ( | ) |
hide attribute editor
Definition at line 1585 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEInspectorFrame::inspectMultisection().
long GNEFrameAttributesModuls::AttributesEditor::onCmdAttributesEditorHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1679 of file GNEFrameAttributesModuls.cpp.
Referenced by FXDEFMAP().
void GNEFrameAttributesModuls::AttributesEditor::refreshAttributeEditor | ( | bool | forceRefreshShape, |
bool | forceRefreshPosition | ||
) |
refresh attribute editor (only the valid values will be refresh)
Definition at line 1594 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_POSITION, SUMO_ATTR_SHAPE, and SUMO_ATTR_TRIGGERED.
Referenced by GNEInspectorFrame::attributeUpdated(), and GNEInspectorFrame::updateFrameAfterUndoRedo().
void GNEFrameAttributesModuls::AttributesEditor::showAttributeEditorModul | ( | bool | includeExtended, |
bool | forceAttributeEnabled | ||
) |
show attributes of multiple ACs
Definition at line 1496 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_ID, and SUMO_ATTR_TRIGGERED.
Referenced by GNEVehicleTypeFrame::attributesEditorExtendedDialogOpened(), GNEInspectorFrame::inspectMultisection(), GNEPersonTypeFrame::show(), and GNEVehicleTypeFrame::show().
|
private |
pointer to attributesEditorFlow
Definition at line 408 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditor().
|
private |
list of Attribute editor rows
Definition at line 411 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditor().
|
private |
pointer to GNEFrame parent
Definition at line 405 of file GNEFrameAttributesModuls.h.
|
private |
button for help
Definition at line 414 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditor().
|
private |
flag used to mark if current edited ACs are bein edited including extended attribute
Definition at line 417 of file GNEFrameAttributesModuls.h.