![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEDistributionFrame.h>
Public Member Functions | |
| void | destroy () |
| destroy DistributionRow (but don't delete) | |
| DistributionRow (DistributionValuesEditor *attributeEditorParent, GNEDemandElement *distributionReference) | |
| FOX-declaration. | |
| MFXButtonTooltip * | getDeleteRowButton () const |
| get delete row button | |
| GNEDemandElement * | getDistributionReference () const |
| get pointer to distributionReference | |
FOX-callbacks | |
| long | onCmdSetProbability (FXObject *, FXSelector, void *) |
| try to set new probability | |
Private Member Functions | |
| DistributionRow (const DistributionRow &)=delete | |
| Invalidated copy constructor. | |
| DistributionRow & | operator= (const DistributionRow &src)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| MFXButtonTooltip * | myDeleteRowButton = nullptr |
| delete row button | |
| GNEDemandElement * | myDistributionReference = nullptr |
| pointer to distributionReference | |
| 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 191 of file GNEDistributionFrame.h.
| GNEDistributionFrame::DistributionRow::DistributionRow | ( | DistributionValuesEditor * | attributeEditorParent, |
| GNEDemandElement * | distributionReference | ||
| ) |
FOX-declaration.
constructor for key-probability attributes
Definition at line 298 of file GNEDistributionFrame.cpp.
References RGBColor::BLACK, RGBColor::BLUE, MFXTextFieldIcon::disable(), EMPTY, GNEAttributeCarrier::getACIcon(), GNEAttributeCarrier::getAttribute(), GNEDistributionFrame::DistributionSelector::getCurrentDistribution(), GNEDistributionFrame::DistributionValuesEditor::getFrameParent(), MFXUtils::getFXColor(), GNEViewParent::getGNEAppWindows(), GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GUIDesignButtonIcon, GUIDesignHeight, GUIDesignLabelIconThick, GUIDesignTextFieldFixed, GUIDesignTextFieldRestricted, GNEAttributeCarrier::isAttributeComputed(), MID_GNE_BUTTON_REMOVE, MID_GNE_SET_ATTRIBUTE, myDeleteRowButton, myDistributionReference, GNEDistributionFrame::DistributionValuesEditor::myDistributionSelector, myDistributionValuesEditorParent, myIconLabel, myIDTextField, myProbabilityTextField, REMOVE, MFXTextFieldIcon::setText(), MFXTextFieldIcon::setTextColor(), SUMO_ATTR_PROB, SUMO_ATTR_REFID, and TL.
|
privatedelete |
Invalidated copy constructor.
| void GNEDistributionFrame::DistributionRow::destroy | ( | ) |
destroy DistributionRow (but don't delete)
Definition at line 336 of file GNEDistributionFrame.cpp.
| MFXButtonTooltip * GNEDistributionFrame::DistributionRow::getDeleteRowButton | ( | ) | const |
get delete row button
Definition at line 351 of file GNEDistributionFrame.cpp.
| GNEDemandElement * GNEDistributionFrame::DistributionRow::getDistributionReference | ( | ) | const |
get pointer to distributionReference
Definition at line 345 of file GNEDistributionFrame.cpp.
| long GNEDistributionFrame::DistributionRow::onCmdSetProbability | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
try to set new probability
Definition at line 357 of file GNEDistributionFrame.cpp.
References RGBColor::BLACK, RGBColor::BLUE, MFXUtils::getFXColor(), RGBColor::RED, and SUMO_ATTR_PROB.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
private |
delete row button
Definition at line 228 of file GNEDistributionFrame.h.
Referenced by DistributionRow().
|
private |
pointer to distributionReference
Definition at line 225 of file GNEDistributionFrame.h.
Referenced by DistributionRow().
|
private |
FOX need this.
pointer to DistributionValuesEditor parent
Definition at line 222 of file GNEDistributionFrame.h.
Referenced by DistributionRow().
|
private |
|
private |
comboBox with ID
Definition at line 234 of file GNEDistributionFrame.h.
Referenced by DistributionRow().
|
private |
textField to modify the probability attribute
Definition at line 237 of file GNEDistributionFrame.h.
Referenced by DistributionRow().