2018-11-11 23:44:03 -05:00
|
|
|
// -*- Mode: C++ -*-
|
2018-10-03 16:25:36 -04:00
|
|
|
#ifndef EXPORTCABRILLO_H
|
|
|
|
#define EXPORTCABRILLO_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2018-11-11 23:44:03 -05:00
|
|
|
#include <QScopedPointer>
|
2018-10-03 16:25:36 -04:00
|
|
|
|
2018-11-11 23:44:03 -05:00
|
|
|
class QSettings;
|
|
|
|
class Configuration;
|
|
|
|
class CabrilloLog;
|
2018-10-03 16:25:36 -04:00
|
|
|
namespace Ui {
|
2018-11-11 23:44:03 -05:00
|
|
|
class ExportCabrillo;
|
2018-10-03 16:25:36 -04:00
|
|
|
}
|
|
|
|
|
2018-11-11 23:44:03 -05:00
|
|
|
class ExportCabrillo final
|
|
|
|
: public QDialog
|
2018-10-03 16:25:36 -04:00
|
|
|
{
|
|
|
|
public:
|
2018-11-11 23:44:03 -05:00
|
|
|
explicit ExportCabrillo (QSettings *, Configuration const *
|
|
|
|
, CabrilloLog const *, QWidget * parent = nullptr);
|
|
|
|
~ExportCabrillo ();
|
|
|
|
|
2018-10-03 16:25:36 -04:00
|
|
|
private:
|
|
|
|
void read_settings();
|
|
|
|
void write_settings();
|
2018-11-11 23:44:03 -05:00
|
|
|
void save_log ();
|
|
|
|
|
|
|
|
QSettings * settings_;
|
|
|
|
Configuration const * configuration_;
|
|
|
|
CabrilloLog const * log_;
|
|
|
|
QScopedPointer<Ui::ExportCabrillo> ui;
|
2018-10-03 16:25:36 -04:00
|
|
|
};
|
|
|
|
|
2018-11-11 23:44:03 -05:00
|
|
|
#endif
|