|
QGIS API Documentation 3.99.0-Master (d270888f95f)
|
A dialog which presents the user with a choice of file encodings. More...
#include <qgsencodingfiledialog.h>

Public Member Functions | |
| QgsEncodingSelectionDialog (QWidget *parent=nullptr, const QString &caption=QString(), const QString &encoding=QString(), Qt::WindowFlags flags=Qt::WindowFlags()) | |
| Constructor for QgsEncodingSelectionDialog. | |
| QString | encoding () const |
| Returns the encoding selected within the dialog. | |
| void | setEncoding (const QString &encoding) |
| Sets the encoding selected within the dialog. | |
A dialog which presents the user with a choice of file encodings.
Definition at line 66 of file qgsencodingfiledialog.h.
| QgsEncodingSelectionDialog::QgsEncodingSelectionDialog | ( | QWidget * | parent = nullptr, |
| const QString & | caption = QString(), | ||
| const QString & | encoding = QString(), | ||
| Qt::WindowFlags | flags = Qt::WindowFlags() ) |
Constructor for QgsEncodingSelectionDialog.
If caption is set, it will be used as the caption within the dialog.
The encoding argument can be used to specify the encoding initially selected in the dialog.
Definition at line 111 of file qgsencodingfiledialog.cpp.
| QString QgsEncodingSelectionDialog::encoding | ( | ) | const |
Returns the encoding selected within the dialog.
Definition at line 152 of file qgsencodingfiledialog.cpp.
| void QgsEncodingSelectionDialog::setEncoding | ( | const QString & | encoding | ) |
Sets the encoding selected within the dialog.
see encoding()
Definition at line 157 of file qgsencodingfiledialog.cpp.