![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameAttributesModuls.h>
Public Member Functions | |
AttributesEditorFlow (AttributesEditor *attributesEditorParent) | |
FOX-declaration. More... | |
void | hideAttributesEditorFlowModul () |
hide attribute EditorFlow More... | |
bool | isAttributesEditorFlowModulShown () const |
check if attribute editor flow modul is shown More... | |
void | refreshAttributeEditorFlow () |
refresh attribute EditorFlow (only the valid values will be refresh) More... | |
void | showAttributeEditorFlowModul () |
show attributes editor Flow Modul More... | |
FOX-callbacks | |
called when user set the value of an attribute of type int/float/string/bool | |
long | onCmdSetFlowAttribute (FXObject *, FXSelector, void *) |
long | onCmdSelectFlowRadioButton (FXObject *, FXSelector, void *) |
called when user press a radio button More... | |
Protected Member Functions | |
void | refreshEnd () |
refresh end More... | |
void | refreshNumber () |
refresh parameter number More... | |
void | refreshPeriod () |
refresh parameter Period More... | |
void | refreshProbability () |
refresh parameter Probability More... | |
void | refreshVehsPerHour () |
refresh parameter VehsPerHour More... | |
Private Attributes | |
FXRadioButton * | myAttributeEndRadioButton = nullptr |
Radio button for 'end' attribute. More... | |
FXRadioButton * | myAttributeNumberRadioButton = nullptr |
Radio button for 'number' attribute. More... | |
FXRadioButton * | myAttributePeriodRadioButton = nullptr |
Radio button for 'period' attribute. More... | |
FXRadioButton * | myAttributeProbabilityRadioButton = nullptr |
Radio button for 'probability' attribute. More... | |
AttributesEditor * | myAttributesEditorParent = nullptr |
pointer to AttributesEditor parent More... | |
FXRadioButton * | myAttributeVehsPerHourRadioButton = nullptr |
Radio button for 'VehsPerHour' attribute. More... | |
FXTextField * | myValueEndTextField = nullptr |
textField for 'end' attribute More... | |
FXTextField * | myValueNumberTextField = nullptr |
textField for 'number' attribute More... | |
FXTextField * | myValuePeriodTextField = nullptr |
textField for 'period' attribute More... | |
FXTextField * | myValueProbabilityTextField = nullptr |
textField for 'probability' attribute More... | |
FXTextField * | myValueVehsPerHourTextField = nullptr |
textField for 'VehsPerHour' attribute More... | |
Definition at line 433 of file GNEFrameAttributesModuls.h.
GNEFrameAttributesModuls::AttributesEditorFlow::AttributesEditorFlow | ( | AttributesEditor * | attributesEditorParent | ) |
FOX-declaration.
constructor
Definition at line 1682 of file GNEFrameAttributesModuls.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignRadioButtonAttribute, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SET_ATTRIBUTE, MID_GNE_SET_ATTRIBUTE_BUTTON, myAttributeEndRadioButton, myAttributeNumberRadioButton, myAttributePeriodRadioButton, myAttributeProbabilityRadioButton, myAttributeVehsPerHourRadioButton, myValueEndTextField, myValueNumberTextField, myValuePeriodTextField, myValueProbabilityTextField, myValueVehsPerHourTextField, SUMO_ATTR_END, SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_ATTR_VEHSPERHOUR, and toString().
void GNEFrameAttributesModuls::AttributesEditorFlow::hideAttributesEditorFlowModul | ( | ) |
hide attribute EditorFlow
Definition at line 1724 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEFrameAttributesModuls::AttributesEditor::AttributesEditor().
bool GNEFrameAttributesModuls::AttributesEditorFlow::isAttributesEditorFlowModulShown | ( | ) | const |
check if attribute editor flow modul is shown
Definition at line 1731 of file GNEFrameAttributesModuls.cpp.
long GNEFrameAttributesModuls::AttributesEditorFlow::onCmdSelectFlowRadioButton | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
called when user press a radio button
Definition at line 1795 of file GNEFrameAttributesModuls.cpp.
References GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_ATTR_END, SUMO_ATTR_NOTHING, SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_ATTR_VEHSPERHOUR, toString(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEFrameAttributesModuls::AttributesEditorFlow::onCmdSetFlowAttribute | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
Definition at line 1750 of file GNEFrameAttributesModuls.cpp.
References GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_ATTR_END, SUMO_ATTR_NOTHING, SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_ATTR_VEHSPERHOUR, toString(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
void GNEFrameAttributesModuls::AttributesEditorFlow::refreshAttributeEditorFlow | ( | ) |
refresh attribute EditorFlow (only the valid values will be refresh)
Definition at line 1737 of file GNEFrameAttributesModuls.cpp.
|
protected |
|
protected |
refresh parameter number
Definition at line 1875 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_NUMBER.
|
protected |
refresh parameter Period
Definition at line 1957 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_PERIOD.
|
protected |
refresh parameter Probability
Definition at line 1998 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_PROB.
|
protected |
refresh parameter VehsPerHour
Definition at line 1916 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_VEHSPERHOUR.
void GNEFrameAttributesModuls::AttributesEditorFlow::showAttributeEditorFlowModul | ( | ) |
show attributes editor Flow Modul
Definition at line 1711 of file GNEFrameAttributesModuls.cpp.
|
private |
Radio button for 'end' attribute.
Definition at line 485 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
Radio button for 'number' attribute.
Definition at line 491 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
Radio button for 'period' attribute.
Definition at line 503 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
Radio button for 'probability' attribute.
Definition at line 509 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
pointer to AttributesEditor parent
Definition at line 482 of file GNEFrameAttributesModuls.h.
|
private |
Radio button for 'VehsPerHour' attribute.
Definition at line 497 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
textField for 'end' attribute
Definition at line 488 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
textField for 'number' attribute
Definition at line 494 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
textField for 'period' attribute
Definition at line 506 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
textField for 'probability' attribute
Definition at line 512 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().
|
private |
textField for 'VehsPerHour' attribute
Definition at line 500 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditorFlow().