Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEUndoListDialog::GUIRow Class Reference

row used for show GUI row elements More...

#include <GNEUndoListDialog.h>

Collaboration diagram for GNEUndoListDialog::GUIRow:
[legend]

Public Member Functions

void checkRow ()
 check row and set background green
int getIndex () const
 get index
const FXRadioButton * getRadioButton () const
 get radio button (read only)
 GUIRow (GNEUndoListDialog *undoListDialog, FXVerticalFrame *mainFrame, MFXStaticToolTip *staticToolTip)
 constructor
void setBlueBackground ()
 set blue background
void setRedBackground ()
 set red background
void update (const UndoListRow &row)
 update row
 ~GUIRow ()
 destructor

Private Attributes

FXLabel * myIcon = nullptr
 label with icon
int myIndex = 0
 index
FXRadioButton * myRadioButton
 radioButton
MFXTextFieldIconmyTextFieldDescription = nullptr
 textField description
FXTextField * myTextFieldTimeStamp = nullptr
 textField timeStamp

Detailed Description

row used for show GUI row elements

Definition at line 77 of file GNEUndoListDialog.h.

Constructor & Destructor Documentation

◆ GUIRow()

◆ ~GUIRow()

GNEUndoListDialog::GUIRow::~GUIRow ( )

destructor

Definition at line 168 of file GNEUndoListDialog.cpp.

References myIcon, myRadioButton, myTextFieldDescription, and myTextFieldTimeStamp.

Member Function Documentation

◆ checkRow()

void GNEUndoListDialog::GUIRow::checkRow ( )

check row and set background green

Definition at line 224 of file GNEUndoListDialog.cpp.

References myRadioButton.

◆ getIndex()

int GNEUndoListDialog::GUIRow::getIndex ( ) const

get index

Definition at line 198 of file GNEUndoListDialog.cpp.

References myIndex.

◆ getRadioButton()

const FXRadioButton * GNEUndoListDialog::GUIRow::getRadioButton ( ) const

get radio button (read only)

Definition at line 204 of file GNEUndoListDialog.cpp.

References myRadioButton.

◆ setBlueBackground()

void GNEUndoListDialog::GUIRow::setBlueBackground ( )

set blue background

Definition at line 217 of file GNEUndoListDialog.cpp.

References myRadioButton.

◆ setRedBackground()

void GNEUndoListDialog::GUIRow::setRedBackground ( )

set red background

Definition at line 210 of file GNEUndoListDialog.cpp.

References GUIDesignBackgroundColorRed, and myRadioButton.

◆ update()

Field Documentation

◆ myIcon

FXLabel* GNEUndoListDialog::GUIRow::myIcon = nullptr
private

label with icon

Definition at line 112 of file GNEUndoListDialog.h.

Referenced by GUIRow(), update(), and ~GUIRow().

◆ myIndex

int GNEUndoListDialog::GUIRow::myIndex = 0
private

index

Definition at line 109 of file GNEUndoListDialog.h.

Referenced by getIndex(), and update().

◆ myRadioButton

FXRadioButton* GNEUndoListDialog::GUIRow::myRadioButton
private

radioButton

Definition at line 106 of file GNEUndoListDialog.h.

Referenced by checkRow(), getRadioButton(), GUIRow(), setBlueBackground(), setRedBackground(), and ~GUIRow().

◆ myTextFieldDescription

MFXTextFieldIcon* GNEUndoListDialog::GUIRow::myTextFieldDescription = nullptr
private

textField description

Definition at line 115 of file GNEUndoListDialog.h.

Referenced by GUIRow(), update(), and ~GUIRow().

◆ myTextFieldTimeStamp

FXTextField* GNEUndoListDialog::GUIRow::myTextFieldTimeStamp = nullptr
private

textField timeStamp

Definition at line 118 of file GNEUndoListDialog.h.

Referenced by GUIRow(), update(), and ~GUIRow().


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