iVS3D v2.0.0
Loading...
Searching...
No Matches
progresswidget.h
1#ifndef PROGRESSWIDGET_H
2#define PROGRESSWIDGET_H
3
4#include <QWidget>
5#include "progressdisplay.h"
6
7namespace Ui {
9}
21class ProgressWidget : public QWidget, ProgressDisplay
22{
23 Q_OBJECT
24
25public:
31 explicit ProgressWidget(QWidget *parent = nullptr, bool showAbort = true);
33
34signals:
38 void sig_abort();
39
40public slots:
46 void slot_displayProgress(int progress, QString currentOperation);
51 void slot_displayMessage(QString message);
52
53private slots:
54 void on_pushButton_abort_clicked();
55
56private:
57 Ui::ProgressWidget *ui;
58};
59
60#endif // PROGRESSWIDGET_H
The ProgressDisplay class is an interface for classes that can display progression in any form....
Definition progressdisplay.h:19
The ProgressWidget class widget inside the ProgressDialog that holds the concrete progress bar and ab...
Definition progresswidget.h:22
void sig_abort()
sig_abort signals user pressing abort button
void slot_displayProgress(int progress, QString currentOperation)
slot_progress updates progress bar with new given data
Definition progresswidget.cpp:17
void slot_displayMessage(QString message)
slot_displayMessage can show a message without specific format
Definition progresswidget.cpp:33