Class: QgsEncodingFileDialog

class qgis.gui.QgsEncodingFileDialog(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', encoding: str = '')

Bases: PyQt5.QtWidgets.QFileDialog

Constructor for QgsEncodingFileDialog

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

Enums

Methods

accept
actionEvent
addCancelAll Adds a ‘Cancel All’ button for the user to click
cancelAll Returns True if the user clicked ‘Cancel All’
changeEvent
childEvent
closeEvent
connectNotify
contextMenuEvent
create
customEvent
destroy
disconnectNotify
done
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
encoding Returns a string describing the chosen encoding
enterEvent
event
eventFilter
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
initPainter
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
metric
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
pbnCancelAll_clicked
receivers
resizeEvent
saveUsedEncoding
sender
senderSignalIndex
sharedPainter
showEvent
tabletEvent
timerEvent
updateMicroFocus
wheelEvent

Signals

Attributes

accept()
actionEvent()
addCancelAll(self)

Adds a ‘Cancel All’ button for the user to click

cancelAll(self) → bool

Returns True if the user clicked ‘Cancel All’

changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
done()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
encoding(self) → str

Returns a string describing the chosen encoding

enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
pbnCancelAll_clicked(self)
receivers()
resizeEvent()
saveUsedEncoding(self)
sender()
senderSignalIndex()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()