]>
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();
32 inline const QSize
get_ideal_size() const {
33 return scroll_area
->size().shrunkBy(scroll_area
->contentsMargins());
37 void mousePressEvent(QMouseEvent
*event
);
40 explicit BigintMandelWidget(QWidget
*parent
= nullptr);
41 ~BigintMandelWidget();
42 inline const MandelSettings
*get_settings() const {
45 inline const MenuBar
*get_menu_bar() const {
52 void exec_settings_widget();
53 void settings_widget_accepted();
54 void finished_cell(int num
);
61 #endif // BIGINTMANDELWIDGET_H