49 const std::string& name,
const std::string& description,
const std::string& defaultValue,
50 const bool editable,
const bool requireSaveNetwork);
127 const std::string& name,
const std::string& description,
const std::string& defaultValue,
128 const bool editable,
const bool requireSaveNetwork);
156 const std::string& name,
const std::string& description,
const std::string& defaultValue,
157 const bool editable,
const bool requireSaveNetwork);
185 const std::string& name,
const std::string& description,
const std::string& defaultValue,
186 const bool editable,
const bool requireSaveNetwork);
214 const std::string& name,
const std::string& description,
const std::string& defaultValue,
215 const bool editable,
const bool requireSaveNetwork);
243 const std::string& name,
const std::string& description,
const std::string& defaultValue,
244 const bool editable,
const bool requireSaveNetwork);
272 const std::string& name,
const std::string& description,
const std::string& defaultValue,
273 const bool editable,
const bool requireSaveNetwork);
304 const std::string& name,
const std::string& description,
const std::string& defaultValue,
305 const bool editable,
const bool requireSaveNetwork);
338 const std::string& name,
const std::string& description,
const std::string& defaultValue,
339 const bool editable,
const bool requireSaveNetwork);
const std::string invalid_return< std::string >::value
std::string getValue() const
get value
OptionBool(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
constructor
long onCmdSetOption(FXObject *, FXSelector, void *)
called when user set value in textField/button/checkBox
void restoreOption()
restore option
long onCmdResetOption(FXObject *, FXSelector, void *)
called when user press reset button
FXCheckButton * myCheckButton
menu check
void updateOption()
update option
OptionFilename(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
FOX-declaration.
FXButton * myOpenFilenameButton
open filename button
long onCmdSetOption(FXObject *, FXSelector, void *)
called when user set value in textField/button/checkBox
long onCmdResetOption(FXObject *, FXSelector, void *)
called when user press reset button
std::string getValue() const
get value
void restoreOption()
restore option
void updateOption()
update option
long onCmdOpenDialog(FXObject *, FXSelector, void *)
called when user press open dialog button
FXTextField * myFilenameTextField
text field
OptionFloat(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
constructor
long onCmdSetOption(FXObject *, FXSelector, void *)
called when user set value in textField/button/checkBox
std::string parseFloat(const std::string &value) const
parse float xx to xx.00
std::string getValue() const
get value
long onCmdResetOption(FXObject *, FXSelector, void *)
called when user press reset button
void updateOption()
update option
FXTextField * myFloatTextField
text field
void restoreOption()
restore option
FXTextField * myIntTextField
text field
void restoreOption()
restore option
long onCmdResetOption(FXObject *, FXSelector, void *)
called when user press reset button
OptionInt(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
long onCmdSetOption(FXObject *, FXSelector, void *)
called when user set value in textField/button/checkBox
void updateOption()
update option
std::string getValue() const
get value
long onCmdSetOption(FXObject *, FXSelector, void *)
called when user set value in textField/button/checkBox
long onCmdResetOption(FXObject *, FXSelector, void *)
called when user press reset button
void restoreOption()
restore option
std::string getValue() const
get value
OptionIntVector(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
void updateOption()
update option
FXTextField * myIntVectorTextField
text field
GNEOptionsEditor * myOptionsEditor
FOX needs this.
const std::string myDefaultValue
default value
MFXLabelTooltip * myNameLabel
tooltip label for name
const std::string myName
name
const std::string getDescriptionLower() const
get description (Lower)
const std::string myTopic
topic
const std::string & getTopic() const
get topic
void updateResetButton()
update reset button
OptionRow(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
FOX-declaration.
bool isEditable() const
check if option is editable
virtual long onCmdSetOption(FXObject *, FXSelector, void *)=0
called when user set value in textField/button/checkBox
const bool myEditable
editable
const std::string getNameLower() const
get name (Lower)
virtual std::string getValue() const =0
get value
FXHorizontalFrame * myContentFrame
content frame
void adjustNameSize()
adjust input name size
virtual void restoreOption()=0
restore option (used for setting original options)
virtual long onCmdResetOption(FXObject *, FXSelector, void *)=0
called when user press reset button
const bool myRequireSaveNetwork
require save network
virtual void updateOption()=0
update option (used after load options)
const std::string myDescription
description
OptionString(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
constructor
FXTextField * myStringTextField
text field
FXTextField * myStringVectorTextField
text field
std::string getValue() const
get value
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
OptionStringVector(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
constructor
void restoreOption()
restore option
void updateOption()
update option
OptionTime(GNEOptionsEditor *optionsEditor, FXComposite *parent, const std::string &topic, const std::string &name, const std::string &description, const std::string &defaultValue, const bool editable, const bool requireSaveNetwork)
constructor
FXTextField * myTimeTextField
text field
long onCmdSetOption(FXObject *, FXSelector, void *)
called when user set value in textField/button/checkBox
std::string getValue() const
get value
std::string parseTime(const std::string &value) const
parse float xx to xx.00
void restoreOption()
restore option
void updateOption()
update option
long onCmdResetOption(FXObject *, FXSelector, void *)
called when user press reset button