#include <dialogpreviewfile.h>

+ Inheritance diagram for DialogPreviewFile:
+ Collaboration diagram for DialogPreviewFile:

Signals

void loadNetworkFileWithCodec (const QString, const QString, const int)
 

Public Member Functions

 DialogPreviewFile (QWidget *parent=Q_NULLPTR)
 
void setCodecList (const QList< QTextCodec * > &list)
 
void setEncodedData (const QByteArray &data, const QString, const int)
 
QString decodedString () const
 

Private Slots

void updateTextEdit ()
 
void accept ()
 

Private Attributes

QByteArray encodedData
 
QString decodedStr
 
QString fileName
 
int format
 
QComboBox * encodingComboBox
 
QLabel * encodingLabel
 
QTextEdit * textEdit
 
QDialogButtonBox * buttonBox
 

Constructor & Destructor Documentation

◆ DialogPreviewFile()

DialogPreviewFile::DialogPreviewFile ( QWidget *  parent = Q_NULLPTR)
explicit

Member Function Documentation

◆ accept

void DialogPreviewFile::accept ( )
privateslot

◆ decodedString()

QString DialogPreviewFile::decodedString ( ) const
inline

◆ loadNetworkFileWithCodec

void DialogPreviewFile::loadNetworkFileWithCodec ( const  QString,
const  QString,
const int   
)
signal

◆ setCodecList()

void DialogPreviewFile::setCodecList ( const QList< QTextCodec * > &  list)

◆ setEncodedData()

void DialogPreviewFile::setEncodedData ( const QByteArray &  data,
const QString  m_fileName,
const int  m_format 
)

◆ updateTextEdit

void DialogPreviewFile::updateTextEdit ( )
privateslot

Member Data Documentation

◆ buttonBox

QDialogButtonBox* DialogPreviewFile::buttonBox
private

◆ decodedStr

QString DialogPreviewFile::decodedStr
private

◆ encodedData

QByteArray DialogPreviewFile::encodedData
private

◆ encodingComboBox

QComboBox* DialogPreviewFile::encodingComboBox
private

◆ encodingLabel

QLabel* DialogPreviewFile::encodingLabel
private

◆ fileName

QString DialogPreviewFile::fileName
private

◆ format

int DialogPreviewFile::format
private

◆ textEdit

QTextEdit* DialogPreviewFile::textEdit
private

The documentation for this class was generated from the following files: