Files
edgetx-gx12/companion/src/progressdialog.h
T
2015-09-26 07:59:04 +02:00

35 lines
583 B
C++

#ifndef PROGRESS_DIALOG_H_
#define PROGRESS_DIALOG_H_
#include <QDialog>
namespace Ui
{
class ProgressDialog;
}
class ProgressWidget;
class ProgressDialog : public QDialog
{
Q_OBJECT
public:
ProgressDialog(QWidget *parent, const QString &label, const QIcon &icon, bool forceOpen=false);
~ProgressDialog();
ProgressWidget * progress();
private slots:
void on_closeButton_clicked();
void on_outputProgress_detailsToggled();
void on_outputProgress_locked(bool);
void shrink();
private:
Ui::ProgressDialog *ui;
bool locked;
};
#endif // PROGRESS_DIALOG_H_