mirror of
https://github.com/YACReader/yacreader
synced 2025-05-25 09:50:33 -04:00
37 lines
671 B
C++
37 lines
671 B
C++
#ifndef EXPORT_LIBRARY_DIALOG_H
|
|
#define EXPORT_LIBRARY_DIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QLabel>
|
|
#include <QLineEdit>
|
|
#include <QPushButton>
|
|
#include <QString>
|
|
#include <QThread>
|
|
#include <QTimer>
|
|
#include <QProgressBar>
|
|
|
|
class ExportLibraryDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ExportLibraryDialog(QWidget *parent = nullptr);
|
|
public slots:
|
|
void exportLibrary();
|
|
void findPath();
|
|
void close();
|
|
|
|
private:
|
|
int progressCount;
|
|
QProgressBar *progressBar;
|
|
QLabel *textLabel;
|
|
QLineEdit *path;
|
|
QPushButton *find;
|
|
QPushButton *accept;
|
|
QPushButton *cancel;
|
|
void run();
|
|
signals:
|
|
void exportPath(QString);
|
|
};
|
|
|
|
#endif
|