QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Slots | Public Member Functions | List of all members
QgsEncodingFileDialog Class Reference

A file dialog which lets the user select the preferred encoding type for a data provider. More...

#include <qgsencodingfiledialog.h>

Inheritance diagram for QgsEncodingFileDialog:
Inheritance graph
[legend]

Public Slots

void pbnCancelAll_clicked ()
 
void saveUsedEncoding ()
 

Public Member Functions

 QgsEncodingFileDialog (QWidget *parent=nullptr, const QString &caption=QString(), const QString &directory=QString(), const QString &filter=QString(), const QString &encoding=QString())
 Constructor for QgsEncodingFileDialog. More...
 
void addCancelAll ()
 Adds a 'Cancel All' button for the user to click. More...
 
bool cancelAll ()
 Returns true if the user clicked 'Cancel All'. More...
 
QString encoding () const
 Returns a string describing the chosen encoding. More...
 

Detailed Description

A file dialog which lets the user select the preferred encoding type for a data provider.

Definition at line 30 of file qgsencodingfiledialog.h.

Constructor & Destructor Documentation

QgsEncodingFileDialog::QgsEncodingFileDialog ( QWidget *  parent = nullptr,
const QString &  caption = QString(),
const QString &  directory = QString(),
const QString &  filter = QString(),
const QString &  encoding = QString() 
)

Constructor for QgsEncodingFileDialog.

Definition at line 29 of file qgsencodingfiledialog.cpp.

Member Function Documentation

void QgsEncodingFileDialog::addCancelAll ( )

Adds a 'Cancel All' button for the user to click.

Definition at line 85 of file qgsencodingfiledialog.cpp.

bool QgsEncodingFileDialog::cancelAll ( )

Returns true if the user clicked 'Cancel All'.

Definition at line 95 of file qgsencodingfiledialog.cpp.

QString QgsEncodingFileDialog::encoding ( ) const

Returns a string describing the chosen encoding.

Definition at line 73 of file qgsencodingfiledialog.cpp.

void QgsEncodingFileDialog::pbnCancelAll_clicked ( )
slot

Definition at line 100 of file qgsencodingfiledialog.cpp.

void QgsEncodingFileDialog::saveUsedEncoding ( )
slot

Definition at line 78 of file qgsencodingfiledialog.cpp.


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