![]() |
Eclipse SUMO - Simulation of Urban MObility
|
attribute text field More...
#include <GNEAttributeCarrierDialog.h>
Public Member Functions | |
| AttributeTextField (GNEAttributeCarrierDialog *ACDialog, FXVerticalFrame *verticalFrame, const GNEAttributeProperties *attrProperty) | |
| constructor | |
FOX-callbacks | |
| long | onCmdSetAttribute (FXObject *obj, FXSelector, void *) |
| event after edit text field | |
| long | onCmdOpenColorDialog (FXObject *sender, FXSelector, void *arg) |
| called when user press "edit color" dialog | |
| long | onCmdOpenVClassDialog (FXObject *, FXSelector, void *) |
| called when user press vClass dialog | |
Protected Attributes | |
| GNEAttributeCarrierDialog * | myACDialogParent = nullptr |
| FOX needs this. | |
| MFXButtonTooltip * | myAttributeButton = nullptr |
| attribute button (color or allow) | |
| const GNEAttributeProperties * | myAttrProperty = nullptr |
| attribute property | |
| FXCheckButton * | myCheckButton = nullptr |
| check button for true/false | |
| MFXTextFieldIcon * | myTextField = nullptr |
| text field for attribute | |
Private Member Functions | |
| AttributeTextField (const AttributeTextField &)=delete | |
| Invalidated copy constructor. | |
| AttributeTextField & | operator= (const AttributeTextField &)=delete |
| Invalidated assignment operator. | |
attribute text field
Definition at line 40 of file GNEAttributeCarrierDialog.h.
| GNEAttributeCarrierDialog::AttributeTextField::AttributeTextField | ( | GNEAttributeCarrierDialog * | ACDialog, |
| FXVerticalFrame * | verticalFrame, | ||
| const GNEAttributeProperties * | attrProperty ) |
constructor
Definition at line 55 of file GNEAttributeCarrierDialog.cpp.
References AttributeTextField(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GUIDesignAuxiliarHorizontalFrame, myACDialogParent, myAttrProperty, and SUMO_ATTR_DISALLOW.
Referenced by AttributeTextField(), AttributeTextField(), and operator=().
|
privatedelete |
Invalidated copy constructor.
References AttributeTextField().
| long GNEAttributeCarrierDialog::AttributeTextField::onCmdOpenColorDialog | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | arg ) |
called when user press "edit color" dialog
Definition at line 131 of file GNEAttributeCarrierDialog.cpp.
References GNEDialog::ACCEPT, RGBColor::BLACK, GNEAttributeCarrier::canParse(), myACDialogParent, myAttrProperty, myTextField, GNEAttributeCarrier::parse(), and toString().
Referenced by FXDEFMAP().
| long GNEAttributeCarrierDialog::AttributeTextField::onCmdOpenVClassDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
called when user press vClass dialog
Definition at line 150 of file GNEAttributeCarrierDialog.cpp.
References GNEDialog::ACCEPT, myACDialogParent, myAttrProperty, and myTextField.
Referenced by FXDEFMAP().
| long GNEAttributeCarrierDialog::AttributeTextField::onCmdSetAttribute | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | ) |
event after edit text field
Definition at line 97 of file GNEAttributeCarrierDialog.cpp.
References GNEAttributeCarrier::FALSE_STR, GUIDesignBackgroundColorRed, GUIDesignBackgroundColorWhite, GUIDesignTextColorBlack, GUIDesignTextColorRed, myACDialogParent, myAttrProperty, myCheckButton, myTextField, TL, and GNEAttributeCarrier::TRUE_STR.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
References AttributeTextField(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEAttributeCarrierDialog::onCmdAccept(), GNEAttributeCarrierDialog::onCmdReset(), and GNEAttributeCarrierDialog::runInternalTest().
|
protected |
FOX needs this.
pointer to ACDialog parent
Definition at line 68 of file GNEAttributeCarrierDialog.h.
Referenced by AttributeTextField(), onCmdOpenColorDialog(), onCmdOpenVClassDialog(), and onCmdSetAttribute().
|
protected |
attribute button (color or allow)
Definition at line 74 of file GNEAttributeCarrierDialog.h.
|
protected |
attribute property
Definition at line 71 of file GNEAttributeCarrierDialog.h.
Referenced by AttributeTextField(), onCmdOpenColorDialog(), onCmdOpenVClassDialog(), and onCmdSetAttribute().
|
protected |
check button for true/false
Definition at line 80 of file GNEAttributeCarrierDialog.h.
Referenced by onCmdSetAttribute().
|
protected |
text field for attribute
Definition at line 77 of file GNEAttributeCarrierDialog.h.
Referenced by onCmdOpenColorDialog(), onCmdOpenVClassDialog(), and onCmdSetAttribute().