QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
Loading...
Searching...
No Matches
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.
 
void addCancelAll ()
 Adds a 'Cancel All' button for the user to click.
 
bool cancelAll ()
 Returns true if the user clicked 'Cancel All'.
 
QString encoding () const
 Returns a string describing the chosen encoding.
 

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::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

◆ addCancelAll()

void QgsEncodingFileDialog::addCancelAll ( )

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

Definition at line 85 of file qgsencodingfiledialog.cpp.

◆ cancelAll()

bool QgsEncodingFileDialog::cancelAll ( )

Returns true if the user clicked 'Cancel All'.

Definition at line 95 of file qgsencodingfiledialog.cpp.

◆ encoding()

QString QgsEncodingFileDialog::encoding ( ) const

Returns a string describing the chosen encoding.

Definition at line 73 of file qgsencodingfiledialog.cpp.

◆ pbnCancelAll_clicked

void QgsEncodingFileDialog::pbnCancelAll_clicked ( )
slot

Definition at line 100 of file qgsencodingfiledialog.cpp.

◆ saveUsedEncoding

void QgsEncodingFileDialog::saveUsedEncoding ( )
slot

Definition at line 78 of file qgsencodingfiledialog.cpp.


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