1 #ifndef SIMPT_PAREX_TASK_OVERVIEW_H_INCLUDED
2 #define SIMPT_PAREX_TASK_OVERVIEW_H_INCLUDED
28 class QStandardItemModel;
58 void UpdateExploration(
const std::shared_ptr<const ExplorationProgress> &explorationProgress);
79 virtual void showEvent(QShowEvent *event)
override;
84 virtual void hideEvent(QHideEvent *event)
override;
91 std::shared_ptr<const ExplorationProgress> m_exploration_progress;
94 QStandardItemModel *m_model;
95 QTimer *m_refresh_timer;
100 #endif // end_of_include_guard
TaskOverview()
Constructor.
virtual ~TaskOverview()
Destructor.
void UpdateExploration(const std::shared_ptr< const ExplorationProgress > &explorationProgress)
Update the current exploration.
void StartTask(int task)
Send message to restart a stopped task.
virtual void showEvent(QShowEvent *event) override
Overriding QWidget::showEvent to start the refresh timer.
virtual void hideEvent(QHideEvent *event) override
Overriding QWidget::hideEvent to stop the refresh timer.
void StopTask(int task)
Send message to stop a certain task.
see the online Qt documentation
Namespace for SimPT parameter explorer package.
Interface for ExplorationProgress.