mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Actually compute variations in background
This reenables the computation of plan variations but now in a separate thread. Once finieshed, a signal is sent to update the notes. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
f159792b80
commit
a9703628c4
6 changed files with 73 additions and 44 deletions
|
|
@ -55,7 +55,6 @@ slots:
|
|||
void printDecoPlan();
|
||||
void setSurfacePressure(int surface_pressure);
|
||||
void setSalinity(int salinity);
|
||||
|
||||
private:
|
||||
Ui::DivePlanner ui;
|
||||
QAbstractButton *replanButton;
|
||||
|
|
@ -103,6 +102,7 @@ public:
|
|||
explicit PlannerDetails(QWidget *parent = 0);
|
||||
QPushButton *printPlan() const { return ui.printPlan; }
|
||||
QTextEdit *divePlanOutput() const { return ui.divePlanOutput; }
|
||||
QLabel *divePlannerOutputLabel() const { return ui.divePlanOutputLabel; }
|
||||
|
||||
private:
|
||||
Ui::plannerDetails ui;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue