]>
git.mar77i.info Git - bigintmandel/blob - bigintmandelwidget.h
2 // bigintmandelwidget.h
4 #ifndef BIGINTMANDELWIDGET_H
5 #define BIGINTMANDELWIDGET_H
7 #include <QFutureWatcher>
14 #include "settingswidget.h"
19 class BigintMandelWidget
: public QWidget
{
22 QFutureWatcher
<MandelResultCell
> *fw
;
23 MandelSettings settings
;
25 QScrollArea
*scroll_area
;
26 MandelLabel
*mandel_label
;
27 QStatusBar
*status_bar
;
28 SettingsWidget
*settings_widget
;
30 void update_status_bar();
31 inline const QSize
get_ideal_size() const {
32 return scroll_area
->size().shrunkBy(scroll_area
->contentsMargins());
36 explicit BigintMandelWidget(QWidget
*parent
= nullptr);
37 ~BigintMandelWidget();
38 void mousePressEvent(QMouseEvent
*event
);
39 inline const MandelSettings
*get_settings() const {
46 void exec_settings_widget();
47 void settings_widget_accepted();
48 void finished_cell(int num
);
55 #endif // BIGINTMANDELWIDGET_H