reimplementaion of fix for QColorDialog on macOS Sierra bug.

doesn't use destructor because destructor causes another crash.
This commit is contained in:
Daisuke Cato
2016-10-22 19:14:07 +09:00
commit a08b5f8af0
986 changed files with 90393 additions and 0 deletions

View File

@ -0,0 +1,35 @@
#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 = 0);
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