Files
2019-11-12 22:35:36 +01:00

149 lines
1.9 KiB
C++

/*!
\file cexportdialog.h
*/
#ifndef CEXPORTDIALOG_H
#define CEXPORTDIALOG_H
#include <QDialog>
#include "common.h"
/*
* altes Verzeichnis
* neues Verzeichnis, alte Struktur
* neues Verzeichnis
*
* alter Name (umbenennen, wenn gleich)
* alter Name + _converted
* alter Name + tag
* tag
*
* überschreiben / fragen / umbenennen
*/
namespace Ui {
class cExportDialog;
}
/*!
\brief
\class cExportDialog cexportdialog.h "cexportdialog.h"
*/
class cExportDialog : public QDialog
{
Q_OBJECT
public:
/*!
\brief
\fn cExportDialog
\param imageFormats
\param parent
*/
explicit cExportDialog(const QList<IMAGEFORMAT>& imageFormats, QWidget *parent = nullptr);
/*!
\brief
\fn ~cExportDialog
*/
~cExportDialog();
private:
Ui::cExportDialog *ui; /*!< TODO: describe */
/*!
\brief
\fn accept
*/
void accept();
/*!
\brief
\fn reject
*/
void reject();
/*!
\brief
\fn saveSettings
*/
void saveSettings();
/*!
\brief
\fn initUI
\param imageFormats
*/
void initUI(const QList<IMAGEFORMAT>& imageFormats);
/*!
\brief
\fn createActions
*/
void createActions();
private slots:
/*!
\brief
\fn onQualityChanged
\param value
*/
void onQualityChanged(int value);
/*!
\brief
\fn onDirectoryMethodChanged
\param id
*/
void onDirectoryMethodChanged(int id);
/*!
\brief
\fn onFileMethodChanged
\param id
*/
void onFileMethodChanged(int id);
/*!
\brief
\fn onFileNamePlusChanged
\param id
*/
void onFileNamePlusChanged(int id);
/*!
\brief
\fn onFileOverwriteMethodChanged
\param id
*/
void onFileOverwriteMethodChanged(int id);
/*!
\brief
\fn onFileFormatChanged
\param text
*/
void onFileFormatChanged(const QString &text);
/*!
\brief
\fn onPathSelect
*/
void onPathSelect();
protected:
};
#endif // CEXPORTDIALOG_H