AdaptixC2-Mod0/Headers/UI/Dialogs/DialogDownloader.h
2026-04-06 00:20:51 -05:00

31 lines
753 B
C++

#ifndef DIALOGDOWNLOADER_H
#define DIALOGDOWNLOADER_H
#include <QLineEdit>
#include <QDialog>
#include <QProgressBar>
#include <QPushButton>
#include <QLabel>
#include <QThread>
class DownloaderWorker;
class DialogDownloader : public QDialog {
Q_OBJECT
QProgressBar* progressBar = nullptr;
QPushButton* cancelButton = nullptr;
QLabel* speedLabel = nullptr;
QLabel* statusLabel = nullptr;
QLabel* labelPath = nullptr;
QLineEdit* lineeditPath = nullptr;
QThread* workerThread;
DownloaderWorker* worker;
public:
explicit DialogDownloader(const QString &url, const QString &otp, const QString &savedPath, QWidget *parent = nullptr);
~DialogDownloader() override;
};
#endif