mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
44 lines
799 B
C++
44 lines
799 B
C++
#ifndef EXPORT_LIBRARY_DIALOG_H
|
|
#define EXPORT_LIBRARY_DIALOG_H
|
|
|
|
#include "themable.h"
|
|
|
|
#include <QDialog>
|
|
#include <QLabel>
|
|
#include <QLineEdit>
|
|
#include <QProgressBar>
|
|
#include <QPushButton>
|
|
#include <QString>
|
|
#include <QThread>
|
|
#include <QTimer>
|
|
|
|
class ExportLibraryDialog : public QDialog, protected Themable
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ExportLibraryDialog(QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
void applyTheme(const Theme &theme) override;
|
|
|
|
public slots:
|
|
void exportLibrary();
|
|
void findPath();
|
|
void close();
|
|
|
|
private:
|
|
QLabel *imgLabel;
|
|
int progressCount;
|
|
QProgressBar *progressBar;
|
|
QLabel *textLabel;
|
|
QLineEdit *path;
|
|
QPushButton *find;
|
|
QPushButton *accept;
|
|
QPushButton *cancel;
|
|
void run();
|
|
signals:
|
|
void exportPath(QString);
|
|
};
|
|
|
|
#endif
|