![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEDistributionFrame.h>
Public Member Functions | |
| void | destroy () |
| destroy DistributionRow (but don't delete) | |
| DistributionRow (DistributionValuesEditor *attributeEditorParent, GNEAttributeCarrier *AC) | |
| FOX-declaration. | |
| void | refreshRow () |
| refresh comboBox | |
FOX-callbacks | |
| long | onCmdSetProbability (FXObject *, FXSelector, void *) |
| try to set new probability | |
| long | onCmdRemoveRow (FXObject *, FXSelector, void *) |
| remove row | |
Private Member Functions | |
| DistributionRow (const DistributionRow &)=delete | |
| Invalidated copy constructor. | |
| DistributionRow & | operator= (const DistributionRow &src)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| GNEAttributeCarrier * | myAC = nullptr |
| pointer to AC | |
| MFXButtonTooltip * | myDeleteRowButton = nullptr |
| delete row button | |
| DistributionValuesEditor * | myDistributionValuesEditorParent |
| FOX need this. | |
| FXLabel * | myIconLabel = nullptr |
| label | |
| MFXTextFieldIcon * | myIDTextField = nullptr |
| comboBox with ID | |
| MFXTextFieldIcon * | myProbabilityTextField = nullptr |
| textField to modify the probability attribute | |
Definition at line 189 of file GNEDistributionFrame.h.
| GNEDistributionFrame::DistributionRow::DistributionRow | ( | DistributionValuesEditor * | attributeEditorParent, |
| GNEAttributeCarrier * | AC | ||
| ) |
FOX-declaration.
constructor for key-probability attributes
Definition at line 298 of file GNEDistributionFrame.cpp.
References MFXTextFieldIcon::disable(), EMPTY, GNEAttributeCarrier::getACIcon(), GNEDistributionFrame::DistributionSelector::getCurrentDistribution(), GNEDistributionFrame::DistributionValuesEditor::getFrameParent(), GNEViewParent::getGNEAppWindows(), GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GUIDesignButtonIcon, GUIDesignLabelIconThick, GUIDesignTextField, GUIDesignTextFieldFixedRestricted, MID_GNE_BUTTON_REMOVE, MID_GNE_SET_ATTRIBUTE, myDeleteRowButton, GNEDistributionFrame::DistributionValuesEditor::myDistributionSelector, myIconLabel, myIDTextField, myProbabilityTextField, refreshRow(), REMOVE, and TL.
|
privatedelete |
Invalidated copy constructor.
| void GNEDistributionFrame::DistributionRow::destroy | ( | ) |
destroy DistributionRow (but don't delete)
Definition at line 329 of file GNEDistributionFrame.cpp.
| long GNEDistributionFrame::DistributionRow::onCmdRemoveRow | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
remove row
Definition at line 352 of file GNEDistributionFrame.cpp.
Referenced by FXDEFMAP().
| long GNEDistributionFrame::DistributionRow::onCmdSetProbability | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
try to set new probability
Definition at line 345 of file GNEDistributionFrame.cpp.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
| void GNEDistributionFrame::DistributionRow::refreshRow | ( | ) |
refresh comboBox
Definition at line 338 of file GNEDistributionFrame.cpp.
References SUMO_ATTR_PROB, and SUMO_ATTR_REFID.
Referenced by DistributionRow().
|
private |
pointer to AC
Definition at line 223 of file GNEDistributionFrame.h.
|
private |
delete row button
Definition at line 226 of file GNEDistributionFrame.h.
Referenced by DistributionRow().
|
private |
FOX need this.
pointer to DistributionValuesEditor parent
Definition at line 220 of file GNEDistributionFrame.h.
|
private |
|
private |
comboBox with ID
Definition at line 232 of file GNEDistributionFrame.h.
Referenced by DistributionRow().
|
private |
textField to modify the probability attribute
Definition at line 235 of file GNEDistributionFrame.h.
Referenced by DistributionRow().