24 #ifndef CALCULATIONPROGRESSGROUP_H
25 #define CALCULATIONPROGRESSGROUP_H
28 #include <QProgressBar>
29 #include <QPushButton>
32 #include "../core/messages/messagelistener.h"
33 #include "../core/adapters/calculationadapter.h"
84 #endif // CALCULATIONPROGRESSGROUP_H
std::shared_ptr< const AlgorithmInformation > mAlgorithmSelection
Pointer to the algorithm selector.
std::shared_ptr< Message > MessagePtr
Global type of a shared message pointer.
void onStartCalculation()
Function called to start the calculation.
void updateTitle()
Function to update the title of the algorithm in use.
bool mCalculationInProgress
Flag: calculation is in progress.
Adapter for starting and stopping the calculation process.
QPushButton * mStartCancelButton
Pointer to the start and cancel button.
QProgressBar * mCalculationProgressBar
Pointer to the progress bar.
void showAlgorithmInfo()
Show information about the algorithm.
void onCancelCalculation()
Function called to cancel the calculation.
CalculationProgressGroup(Core *core, QWidget *parent=nullptr)
CalculationProgressGroup::CalculationProgressGroup.
Visible QGroupBox to handle the calculation.
void onResetCalculation()
Function called to reset the calculation.
QLabel * mStatusLabel
Pointer to the status label.
~CalculationProgressGroup()
Destructor without function.
CORE : Class managing the core.
void startCancelPressed()
Slot called when the start and stop button was pressed.
virtual void handleMessage(MessagePtr m) overridefinal
Message handling.