16#ifndef QGSENCODINGFILEDIALOG_H
17#define QGSENCODINGFILEDIALOG_H
54 QComboBox *mEncodingComboBox =
nullptr;
57 QPushButton *mCancelAllButton =
nullptr;
95 QComboBox *mEncodingComboBox =
nullptr;
void pbnCancelAll_clicked()
QString encoding() const
Returns a string describing the chosen encoding.
void addCancelAll()
Adds a 'Cancel All' button for the user to click.
QgsEncodingFileDialog(QWidget *parent=nullptr, const QString &caption=QString(), const QString &directory=QString(), const QString &filter=QString(), const QString &encoding=QString())
Constructor for QgsEncodingFileDialog.
bool cancelAll() const
Returns true if the user clicked 'Cancel All'.
QString encoding() const
Returns the encoding selected within the dialog.
QgsEncodingSelectionDialog(QWidget *parent=nullptr, const QString &caption=QString(), const QString &encoding=QString(), Qt::WindowFlags flags=Qt::WindowFlags())
Constructor for QgsEncodingSelectionDialog.
void setEncoding(const QString &encoding)
Sets the encoding selected within the dialog.