Class ParameterEditorWidget

Inheritance Relationships

Base Type

Class Documentation

class SmartPeak::ParameterEditorWidget : public SmartPeak::Widget

Public Functions

inline ParameterEditorWidget(ApplicationHandler &application_handler)
virtual void draw() override

Interface to show the widget

NOTE: free to override in inherited implmementations

void setParameter(const std::string &function_parameter, const Parameter &parameter)
inline bool isTableScanRequired() const

returns true when a value has been modified

inline void setTableScanNotRequired()

sets table_scan_required_ to false after changes has taken place

Protected Attributes

ApplicationHandler &application_handler_
std::string function_parameter_
Parameter parameter_
std::string title_
std::string default_value_
std::array<char, 256> input_text_field_ = {0}
std::vector<std::string> valid_string_