You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prodejna/core/importprogress.h

35 lines
621 B
C++

#ifndef IMPORTPROGRESS_H
#define IMPORTPROGRESS_H
#include <QWidget>
#include "iimportprogress.h"
#include "core_global.h"
namespace Ui {
class ImportProgress;
}
class CORESHARED_EXPORT ImportProgress : public QWidget, public IImportProgress
{
Q_OBJECT
public:
explicit ImportProgress(QWidget *parent = nullptr);
~ImportProgress() override;
private slots:
void on_btnCancel_clicked();
private:
Ui::ImportProgress *ui;
bool m_terminate;
// IImportProgress interface
public:
void updateProgress(int currentPos) override;
bool terminate() override;
};
#endif // IMPORTPROGRESS_H