Subgroup: Encoding

Class: QgsEncodingSelectionDialog

class qgis.gui.QgsEncodingSelectionDialog(parent: QWidget = None, caption: str = '', encoding: str = '', flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())

Bases: PyQt5.QtWidgets.QDialog

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.

A dialog which presents the user with a choice of file encodings.

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

Returns the encoding selected within the dialog.

See also

setEncoding()

enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setEncoding(self, encoding: str)

Sets the encoding selected within the dialog. see encoding()

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()