14#ifndef FC__OPTIONDLG_H
15#define FC__OPTIONDLG_H
55 QWidget *
parent =
nullptr);
void option_dialog_popup(const char *name, const struct option_set *poptset)
QString split_text(QString text, bool cut)
QString cut_helptext(QString text)
struct player_slot * slots
unsigned get_bitwise(struct option *poption)
const option_set * curr_options
void hideEvent(QHideEvent *event)
QMap< QString, QWidget * > widget_map
QByteArray get_button_font(struct option *poption)
void get_color(struct option *poption, QByteArray &a1, QByteArray &a2)
bool get_bool(struct option *poption)
QDialogButtonBox * button_box
void set_string(struct option *poption, const char *string)
void set_int(struct option *poption, int value)
QList< QString > categories
void showEvent(QShowEvent *event)
QByteArray get_string(struct option *poption)
int get_enum(struct option *poption)
void add_option(struct option *poption)
void set_bool(struct option *poption, bool value)
void set_enum(struct option *poption, int index)
void apply_option(int response)
void closeEvent(QCloseEvent *event)
QVBoxLayout * main_layout
void set_font(struct option *poption, QString s)
QFont get_font(struct option *poption)
const struct option_set * poptset
void option_dialog_reset(struct option *poption)
void set_color(struct option *poption, struct ft_color color)
void fill(const struct option_set *poptset)
void option_dialog_refresh(struct option *poption)
int get_int(struct option *poption)
void set_button_color(QPushButton *button, const char *colorname)
void set_bitwise(struct option *poption, unsigned value)