Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* CodificationDataManagement - Export codification table csv data
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by hjl, SLSE, 2017-01-23
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include <CodificationManagement/logger.h>
|
||||
|
||||
|
||||
namespace CodificationManagement
|
||||
{
|
||||
|
||||
class NumeralCodeModel;
|
||||
class AuthenticationCodeModel;
|
||||
class LogisticalTermsModel;
|
||||
class PhraseTableModel;
|
||||
|
||||
class CSVExport : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CSVExport(const NumeralCodeModel *numCodeModel,
|
||||
const AuthenticationCodeModel *authenticationCodeModel,
|
||||
const LogisticalTermsModel *logisticalTermsModel,
|
||||
const PhraseTableModel *phraseTableModel,
|
||||
const QString ¬e,
|
||||
QWidget *parent = nullptr);
|
||||
|
||||
bool writeCSVData();
|
||||
QByteArray exportToByteArray() const;
|
||||
|
||||
private Q_SLOTS:
|
||||
|
||||
|
||||
private:
|
||||
const NumeralCodeModel *m_numCodeModel;
|
||||
const AuthenticationCodeModel *m_authenticationCodeModel;
|
||||
const LogisticalTermsModel *m_logisticalTermsModel;
|
||||
const PhraseTableModel *m_phraseTableModel;
|
||||
QString m_note;
|
||||
|
||||
NGL::INGLLogger &m_logger; ///< Interface to the Logging-Facility
|
||||
};
|
||||
|
||||
} //namespace CodificationManagement
|
||||
|
||||
Reference in new issue
Block a user