]>
git.mar77i.info Git - bigintmandel/blob - settingswidget.h
4 #ifndef SETTINGSWIDGET_H
5 #define SETTINGSWIDGET_H
13 class SettingsWidget
: public QDialog
{
16 QLineEdit
*max_iter
, *width
, *height
, *center_f_x
, *center_f_y
, *one
;
20 explicit SettingsWidget(QWidget
*parent
= nullptr);
21 void update_fields(const MandelParams
¶ms
, const bool is_finished
);
22 inline const QString
get_max_iter() const { return max_iter
->text(); };
24 inline void set_finished(const bool is_finished
) {
25 this->is_finished
= is_finished
;
26 max_iter
->setReadOnly(!is_finished
);
33 #endif // SETTINGSWIDGET_H