QGIS API Documentation
2.0.1-Dufour
|
A file dialog which lets the user select the preferred encoding type for a data provider. More...
#include <qgsencodingfiledialog.h>
Public Slots | |
void | saveUsedEncoding () |
void | pbnCancelAll_clicked () |
Public Member Functions | |
QgsEncodingFileDialog (QWidget *parent=0, const QString &caption=QString(), const QString &directory=QString(), const QString &filter=QString(), const QString &encoding=QString()) | |
~QgsEncodingFileDialog () | |
QString | encoding () const |
Returns a string describing the chosen encoding. | |
void | addCancelAll () |
bool | cancelAll () |
Private Attributes | |
QComboBox * | mEncodingComboBox |
Box to choose the encoding type. | |
QPushButton * | mCancelAllButton |
bool | mCancelAll |
A file dialog which lets the user select the preferred encoding type for a data provider.
Definition at line 26 of file qgsencodingfiledialog.h.
QgsEncodingFileDialog::QgsEncodingFileDialog | ( | QWidget * | parent = 0 , |
const QString & | caption = QString() , |
||
const QString & | directory = QString() , |
||
const QString & | filter = QString() , |
||
const QString & | encoding = QString() |
||
) |
Definition at line 28 of file qgsencodingfiledialog.cpp.
References QgsVectorDataProvider::availableEncodings(), encoding(), mCancelAll, mCancelAllButton, mEncodingComboBox, saveUsedEncoding(), and tr.
QgsEncodingFileDialog::~QgsEncodingFileDialog | ( | ) |
Definition at line 72 of file qgsencodingfiledialog.cpp.
void QgsEncodingFileDialog::addCancelAll | ( | ) |
Definition at line 89 of file qgsencodingfiledialog.cpp.
References mCancelAllButton, pbnCancelAll_clicked(), and tr.
Referenced by QgisGui::openFilesRememberingFilter().
bool QgsEncodingFileDialog::cancelAll | ( | ) |
Definition at line 99 of file qgsencodingfiledialog.cpp.
References mCancelAll.
Referenced by QgisGui::openFilesRememberingFilter().
QString QgsEncodingFileDialog::encoding | ( | ) | const |
Returns a string describing the chosen encoding.
Definition at line 77 of file qgsencodingfiledialog.cpp.
References mEncodingComboBox.
Referenced by QgsEncodingFileDialog(), QgsNewVectorLayerDialog::runAndCreateLayer(), and saveUsedEncoding().
|
slot |
Definition at line 104 of file qgsencodingfiledialog.cpp.
References mCancelAll.
Referenced by addCancelAll().
|
slot |
Definition at line 82 of file qgsencodingfiledialog.cpp.
References encoding(), and QgsDebugMsg.
Referenced by QgsEncodingFileDialog().
|
private |
Definition at line 54 of file qgsencodingfiledialog.h.
Referenced by cancelAll(), pbnCancelAll_clicked(), and QgsEncodingFileDialog().
|
private |
Definition at line 51 of file qgsencodingfiledialog.h.
Referenced by addCancelAll(), and QgsEncodingFileDialog().
|
private |
Box to choose the encoding type.
Definition at line 48 of file qgsencodingfiledialog.h.
Referenced by encoding(), and QgsEncodingFileDialog().