![]() |
Eclipse SUMO - Simulation of Urban MObility
|
input bool More...
#include <GNEOptionsEditorRow.h>
Public Member Functions | |
| void | adjustNameSize () |
| adjust input name size | |
| const std::string | getDescriptionLower () const |
| get description (Lower) | |
| const std::string | getNameLower () const |
| get name (Lower) | |
| const std::string & | getTopic () const |
| get topic | |
| long | onCmdResetOption (FXObject *, FXSelector, void *) |
| called when user press reset button | |
| long | onCmdSetOption (FXObject *, FXSelector, void *) |
| called when user set value in textField/button/checkBox | |
| OptionBool (GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue) | |
| constructor | |
| void | restoreOption () |
| restore option | |
| void | updateOption () |
| update option | |
Protected Member Functions | |
| void | updateResetButton () |
| update reset button | |
Protected Attributes | |
| FXHorizontalFrame * | myContentFrame = nullptr |
| content frame | |
| const std::string | myDefaultValue |
| default value | |
| const std::string | myDescription |
| description | |
| const std::string | myName |
| name | |
| GNEOptionsEditor * | myOptionsEditor = nullptr |
| FOX needs this. | |
| const std::string | myTopic |
| topic | |
Private Member Functions | |
| std::string | getValue () const |
| get value | |
Private Attributes | |
| FXCheckButton * | myCheckButton = nullptr |
| menu check | |
| MFXLabelTooltip * | myNameLabel = nullptr |
| tooltip label for name | |
| FXButton * | myResetButton = nullptr |
input bool
Definition at line 168 of file GNEOptionsEditorRow.h.
| GNEOptionsEditorRow::OptionBool::OptionBool | ( | GNEOptionsEditor * | optionsEditor, |
| FXComposite * | parent, | ||
| const std::string & | topic, | ||
| const std::string & | name, | ||
| const std::string & | description, | ||
| const std::string & | defaultValue | ||
| ) |
constructor
Definition at line 220 of file GNEOptionsEditorRow.cpp.
References GUIDesignCheckButton, MID_GNE_SET_ATTRIBUTE, myCheckButton, GNEOptionsEditorRow::OptionRow::myContentFrame, and updateOption().
|
inherited |
adjust input name size
Definition at line 85 of file GNEOptionsEditorRow.cpp.
References MARGIN, MINNAMEWIDTH, and GNEOptionsEditorRow::OptionRow::myNameLabel.
|
inherited |
get description (Lower)
Definition at line 106 of file GNEOptionsEditorRow.cpp.
References StringUtils::to_lower_case().
|
inherited |
get name (Lower)
Definition at line 100 of file GNEOptionsEditorRow.cpp.
References StringUtils::to_lower_case().
|
inherited |
get topic
Definition at line 94 of file GNEOptionsEditorRow.cpp.
|
privatevirtual |
get value
Implements GNEOptionsEditorRow::OptionRow.
Definition at line 295 of file GNEOptionsEditorRow.cpp.
|
virtual |
called when user press reset button
Implements GNEOptionsEditorRow::OptionRow.
Definition at line 278 of file GNEOptionsEditorRow.cpp.
References TL, and StringUtils::toBool().
|
virtual |
called when user set value in textField/button/checkBox
Implements GNEOptionsEditorRow::OptionRow.
Definition at line 255 of file GNEOptionsEditorRow.cpp.
References MsgHandler::enableDebugGLMessages(), MsgHandler::enableDebugMessages(), and TL.
|
virtual |
restore option
Implements GNEOptionsEditorRow::OptionRow.
Definition at line 242 of file GNEOptionsEditorRow.cpp.
References TL.
|
virtual |
update option
Implements GNEOptionsEditorRow::OptionRow.
Definition at line 229 of file GNEOptionsEditorRow.cpp.
References TL.
Referenced by OptionBool().
|
protectedinherited |
update reset button
Definition at line 112 of file GNEOptionsEditorRow.cpp.
|
private |
|
protectedinherited |
content frame
Definition at line 95 of file GNEOptionsEditorRow.h.
Referenced by OptionBool(), GNEOptionsEditorRow::OptionFilename::OptionFilename(), GNEOptionsEditorRow::OptionFloat::OptionFloat(), GNEOptionsEditorRow::OptionInt::OptionInt(), GNEOptionsEditorRow::OptionIntVector::OptionIntVector(), GNEOptionsEditorRow::OptionString::OptionString(), GNEOptionsEditorRow::OptionStringVector::OptionStringVector(), and GNEOptionsEditorRow::OptionTime::OptionTime().
|
protectedinherited |
default value
Definition at line 92 of file GNEOptionsEditorRow.h.
|
protectedinherited |
description
Definition at line 89 of file GNEOptionsEditorRow.h.
|
protectedinherited |
name
Definition at line 86 of file GNEOptionsEditorRow.h.
|
privateinherited |
tooltip label for name
Definition at line 105 of file GNEOptionsEditorRow.h.
Referenced by GNEOptionsEditorRow::OptionRow::adjustNameSize().
|
protectedinherited |
FOX needs this.
GNEOptionsEditor parent
Definition at line 80 of file GNEOptionsEditorRow.h.
Referenced by GNEOptionsEditorRow::OptionFloat::OptionFloat(), GNEOptionsEditorRow::OptionIntVector::OptionIntVector(), GNEOptionsEditorRow::OptionString::OptionString(), and GNEOptionsEditorRow::OptionTime::OptionTime().
|
privateinherited |
Definition at line 108 of file GNEOptionsEditorRow.h.
|
protectedinherited |
topic
Definition at line 83 of file GNEOptionsEditorRow.h.