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