// bigintmandelwidget.h #ifndef BIGINTMANDELWIDGET_H #define BIGINTMANDELWIDGET_H #include #include #include #include #include #include "mandel.h" #include "settingswidget.h" class MenuBar; class MandelLabel; class BigintMandelWidget : public QWidget { Q_OBJECT QFutureWatcher *fw; MandelSettings settings; MenuBar *menu_bar; QScrollArea *scroll_area; MandelLabel *mandel_label; QStatusBar *status_bar; SettingsWidget *settings_widget; void update_status_bar(); inline const QSize get_ideal_size() const { return scroll_area->size().shrunkBy(scroll_area->contentsMargins()); } public: explicit BigintMandelWidget(QWidget *parent = nullptr); ~BigintMandelWidget(); void mousePressEvent(QMouseEvent *event); inline const MandelSettings *get_settings() const { return &settings; } public Q_SLOTS: void reset(); void export_img(); void exec_settings_widget(); void settings_widget_accepted(); void finished_cell(int num); void finished(); void load_data(); void save_data(); void update(); }; #endif // BIGINTMANDELWIDGET_H