22 #ifndef GUI_WIDGETS_SETUPITEM_H
23 #define GUI_WIDGETS_SETUPITEM_H
89 virtual
void apply(const
std::
string &eventName);
91 virtual
void cancel(const
std::
string &eventName);
115 const std::string &
restrict description,
116 const std::string &
restrict keyName,
118 const std::string &
restrict eventName,
122 const std::string &
restrict description,
123 const std::string &
restrict keyName,
125 const std::string &
restrict eventName,
126 const std::string &def,
158 const std::string &
restrict description,
159 const std::string &
restrict keyName,
161 const std::string &
restrict eventName,
165 const std::string &
restrict description,
166 const std::string &
restrict keyName,
168 const std::string &
restrict eventName,
190 const std::string &
restrict description,
191 const std::string &
restrict keyName,
193 const std::string &
restrict eventName,
198 const std::string &
restrict description,
199 const std::string &
restrict keyName,
201 const std::string &
restrict eventName,
218 void apply(
const std::string &eventName)
override final;
220 void cancel(
const std::string &eventName
A_UNUSED)
override final;
227 void save()
override final;
245 const std::string &
restrict description,
246 const std::string &
restrict keyName,
248 const std::string &
restrict eventName,
249 const int min,
const int max,
253 const std::string &
restrict description,
254 const std::string &
restrict keyName,
256 const std::string &
restrict eventName,
257 const int min,
const int max,
273 void apply(
const std::string &eventName)
override final;
289 const std::string &
restrict description,
305 void apply(
const std::string &eventName)
override final;
316 const std::string &
restrict description,
317 const std::string &
restrict keyName,
319 const std::string &
restrict eventName,
325 const std::string &
restrict description,
326 const std::string &
restrict keyName,
328 const std::string &
restrict eventName,
358 const std::string &
restrict description,
359 const std::string &
restrict keyName,
361 const std::string &
restrict eventName,
367 const std::string &
restrict description,
368 const std::string &
restrict keyName,
370 const std::string &
restrict eventName,
400 const std::string &
restrict description,
401 const std::string &
restrict keyName,
403 const std::string &
restrict eventName,
412 const std::string &
restrict description,
413 const std::string &
restrict keyName,
415 const std::string &
restrict eventName,
436 void apply(
const std::string &eventName)
override final;
459 const std::string &
restrict description,
460 const std::string &
restrict keyName,
462 const std::string &
restrict eventName,
463 const int min,
const int max,
const int step,
470 const std::string &
restrict description,
471 const std::string &
restrict keyName,
473 const std::string &
restrict eventName,
474 const int min,
const int max,
const int step,
493 void apply(
const std::string &eventName)
override final;
531 void apply(
const std::string &eventName)
override final;
537 const std::string &
restrict description,
538 const std::string &
restrict keyName,
540 const std::string &
restrict eventName,
547 const std::string &
restrict description,
548 const std::string &
restrict keyName,
550 const std::string &
restrict eventName,
569 const std::string &
restrict description,
570 const std::string &
restrict keyName,
572 const std::string &
restrict eventName,
592 const std::string &
restrict description,
593 const std::string &
restrict keyName,
595 const std::string &
restrict eventName,
SetupItemCheckBox(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, const MainConfig mainConfig)
SetupItemDropDownStr(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, ListModel *const model, const int width, const MainConfig mainConfig)
HorizontContainer * mHorizont
HorizontContainer * mHorizont
SetupItemDropDown(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, ListModel *const model, const int width, const MainConfig mainConfig)
SetupItemIntTextField(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, const int min, const int max, const MainConfig mainConfig)
void action(const ActionEvent &event)
void apply(const std::string &eventName)
IntTextField * mTextField
HorizontContainer * mHorizont
SetupItemLabel(const std::string &text, const std::string &description, SetupTabScroll *const parent, const Separator separator)
void action(const ActionEvent &event)
void apply(const std::string &eventName)
void apply(const std::string &eventName)
SetupItemSlider2(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, const int min, const int max, const int step, SetupItemNames *const values, const OnTheFly onTheFly, const MainConfig mainConfig, const DoNotAlign doNotAlign)
void setInvertValue(const int v)
HorizontContainer * mHorizont
void action(const ActionEvent &event)
SetupItemSliderInt(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, ListModel *const model, const int min, const int width, const OnTheFly onTheFly, const MainConfig mainConfig)
void action(const ActionEvent &event)
virtual void addMoreControls()=0
SetupItemSliderList(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, ListModel *const model, const int width, const OnTheFly onTheFly, const MainConfig mainConfig)
void apply(const std::string &eventName)
HorizontContainer * mHorizont
HorizontContainer * mHorizont
void action(const ActionEvent &event)
SetupItemSlider(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, const double min, const double max, const double step, const int width, const OnTheFly onTheFly, const MainConfig mainConfig)
void apply(const std::string &eventName)
void action(const ActionEvent &event)
SetupItemSound(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, ListModel *const model, const int width, const OnTheFly onTheFly, const MainConfig mainConfig)
void action(const ActionEvent &event)
void cancel(const std::string &eventName)
void setUseBase64(const UseBase64 b)
void apply(const std::string &eventName)
void externalUpdated(const std::string &eventName)
SetupItemTextField(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, const MainConfig mainConfig, const UseBase64 useBase64)
HorizontContainer * mHorizont
MainConfig isMainConfig() const
virtual std::string getActionEventId() const
SetupItem(const std::string &text, const std::string &description, const std::string &keyName, SetupTabScroll *const parent, const std::string &eventName, const MainConfig mainConfig)
virtual void fromWidget()=0
Configuration * getConfig() const
void setWidget(Widget *widget)
virtual void apply(const std::string &eventName)
Widget * getWidget() const
void setValue(const std::string &str)
void fixFirstItemSize(Widget *const widget)
std::string getValue() const
std::string getEventName() const
virtual void externalUpdated(const std::string &eventName)
virtual void toWidget()=0
virtual void cancel(const std::string &eventName)
void action(const ActionEvent &event)
std::list< Widget * > mTempWidgets
virtual void externalUnloaded(const std::string &eventName)
virtual void rereadValue()
#define A_DELETE_COPY(func)
CompositeGenerator< T > values(T val1, T val2)
SetupItemNames::const_iterator SetupItemNamesConstIter
std::vector< std::string > SetupItemNames
SetupItemNames::iterator SetupItemNamesIter