2018-10-03 16:25:36 -04:00
|
|
|
#ifndef EXPORTCABRILLO_H
|
|
|
|
#define EXPORTCABRILLO_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QSettings>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ExportCabrillo;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ExportCabrillo : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ExportCabrillo(QSettings *settings, QWidget *parent = 0);
|
2018-10-04 11:32:38 -04:00
|
|
|
void setFile(QString t);
|
2018-10-03 16:25:36 -04:00
|
|
|
~ExportCabrillo();
|
|
|
|
|
2018-10-04 11:32:38 -04:00
|
|
|
public slots:
|
|
|
|
void accept();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void closeEvent (QCloseEvent *) override;
|
|
|
|
|
2018-10-03 16:25:36 -04:00
|
|
|
private slots:
|
|
|
|
void on_pbSaveAs_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QSettings * settings_;
|
2018-10-04 11:32:38 -04:00
|
|
|
QString m_CabLog;
|
2018-10-03 16:25:36 -04:00
|
|
|
void read_settings();
|
|
|
|
void write_settings();
|
|
|
|
Ui::ExportCabrillo *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // EXPORTCABRILLO_H
|