Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEAttributeCarrierDialog::AttributeTextField Class Reference

attribute text field More...

#include <GNEAttributeCarrierDialog.h>

Inheritance diagram for GNEAttributeCarrierDialog::AttributeTextField:
[legend]
Collaboration diagram for GNEAttributeCarrierDialog::AttributeTextField:
[legend]

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

GNEAttributeCarrierDialogmyACDialogParent = nullptr
 FOX needs this.
 
MFXButtonTooltipmyAttributeButton = nullptr
 attribute button (color or allow)
 
const GNEAttributePropertiesmyAttrProperty = nullptr
 attribute property
 
FXCheckButton * myCheckButton = nullptr
 check button for true/false
 
MFXTextFieldIconmyTextField = nullptr
 text field for attribute
 

Private Member Functions

 AttributeTextField (const AttributeTextField &)=delete
 Invalidated copy constructor.
 
AttributeTextFieldoperator= (const AttributeTextField &)=delete
 Invalidated assignment operator.
 

Detailed Description

attribute text field

Definition at line 40 of file GNEAttributeCarrierDialog.h.

Constructor & Destructor Documentation

◆ AttributeTextField() [1/2]

◆ AttributeTextField() [2/2]

GNEAttributeCarrierDialog::AttributeTextField::AttributeTextField ( const AttributeTextField )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ onCmdOpenColorDialog()

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, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenVClassDialog()

long GNEAttributeCarrierDialog::AttributeTextField::onCmdOpenVClassDialog ( FXObject *  ,
FXSelector  ,
void *   
)

called when user press vClass dialog

Definition at line 150 of file GNEAttributeCarrierDialog.cpp.

References GNEDialog::ACCEPT.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetAttribute()

long GNEAttributeCarrierDialog::AttributeTextField::onCmdSetAttribute ( FXObject *  obj,
FXSelector  ,
void *   
)

◆ operator=()

AttributeTextField & GNEAttributeCarrierDialog::AttributeTextField::operator= ( const AttributeTextField )
privatedelete

Invalidated assignment operator.

Field Documentation

◆ myACDialogParent

GNEAttributeCarrierDialog* GNEAttributeCarrierDialog::AttributeTextField::myACDialogParent = nullptr
protected

FOX needs this.

pointer to ACDialog parent

Definition at line 68 of file GNEAttributeCarrierDialog.h.

Referenced by onCmdSetAttribute().

◆ myAttributeButton

MFXButtonTooltip* GNEAttributeCarrierDialog::AttributeTextField::myAttributeButton = nullptr
protected

attribute button (color or allow)

Definition at line 74 of file GNEAttributeCarrierDialog.h.

◆ myAttrProperty

const GNEAttributeProperties* GNEAttributeCarrierDialog::AttributeTextField::myAttrProperty = nullptr
protected

attribute property

Definition at line 71 of file GNEAttributeCarrierDialog.h.

Referenced by onCmdSetAttribute().

◆ myCheckButton

FXCheckButton* GNEAttributeCarrierDialog::AttributeTextField::myCheckButton = nullptr
protected

check button for true/false

Definition at line 80 of file GNEAttributeCarrierDialog.h.

Referenced by onCmdSetAttribute().

◆ myTextField

MFXTextFieldIcon* GNEAttributeCarrierDialog::AttributeTextField::myTextField = nullptr
protected

text field for attribute

Definition at line 77 of file GNEAttributeCarrierDialog.h.

Referenced by onCmdSetAttribute().


The documentation for this class was generated from the following files: