Subgroup: Encoding

Class: QgsEncodingFileDialog

class qgis.gui.QgsEncodingFileDialog

Bases: PyQt5.QtWidgets.QFileDialog

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

Methods

accept
acceptDrops
acceptMode
accessibleDescription
accessibleName
actionEvent
actions
activateWindow
addAction
addActions
addCancelAll Adds a ‘Cancel All’ button for the user to click
adjustSize
autoFillBackground
backgroundRole
baseSize
blockSignals
cancelAll Returns true if the user clicked ‘Cancel All’
changeEvent
childAt childAt(self, int, int) -> QWidget
childEvent
children
childrenRect
childrenRegion
clearFocus
clearMask
close
closeEvent
colorCount
connectNotify
contentsMargins
contentsRect
contextMenuEvent
contextMenuPolicy
create
createWindowContainer
cursor
customEvent
defaultSuffix
deleteLater
depth
destroy
devType
devicePixelRatio
devicePixelRatioF
devicePixelRatioFScale
directory
directoryUrl
disconnect
disconnectNotify
done
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
effectiveWinId
encoding Returns a string describing the chosen encoding
ensurePolished
enterEvent
event
eventFilter
exec
exec_
fileMode
filter
find
findChild findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
findChildren findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPolicy
focusPreviousChild
focusProxy
focusWidget
font
fontInfo
fontMetrics
foregroundRole
frameGeometry
frameSize
geometry
getContentsMargins
getExistingDirectory
getExistingDirectoryUrl
getOpenFileName
getOpenFileNames
getOpenFileUrl
getOpenFileUrls
getSaveFileName
getSaveFileUrl
grab
grabGesture
grabKeyboard
grabMouse grabMouse(self, Union[QCursor, Qt.CursorShape])
grabShortcut
graphicsEffect
graphicsProxyWidget
hasFocus
hasHeightForWidth
hasMouseTracking
hasTabletTracking
height
heightForWidth
heightMM
hide
hideEvent
history
iconProvider
inherits
initPainter
inputMethodEvent
inputMethodHints
inputMethodQuery
insertAction
insertActions
installEventFilter
isActiveWindow
isAncestorOf
isEnabled
isEnabledTo
isFullScreen
isHidden
isLeftToRight
isMaximized
isMinimized
isModal
isRightToLeft
isSignalConnected
isSizeGripEnabled
isVisible
isVisibleTo
isWidgetType
isWindow
isWindowModified
isWindowType
itemDelegate
keyPressEvent
keyReleaseEvent
keyboardGrabber
killTimer
labelText
layout
layoutDirection
leaveEvent
locale
logicalDpiX
logicalDpiY
lower
mapFrom
mapFromGlobal
mapFromParent
mapTo
mapToGlobal
mapToParent
mask
maximumHeight
maximumSize
maximumWidth
metaObject
metric
mimeTypeFilters
minimumHeight
minimumSize
minimumSizeHint
minimumWidth
mouseDoubleClickEvent
mouseGrabber
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
move move(self, int, int)
moveEvent
moveToThread
nameFilters
nativeEvent
nativeParentWidget
nextInFocusChain
normalGeometry
objectName
open open(self, PYQT_SLOT)
options
overrideWindowFlags
overrideWindowState
paintEngine
paintEvent
paintingActive
palette
parent
parentWidget
pbnCancelAll_clicked
physicalDpiX
physicalDpiY
pos
previousInFocusChain
property
proxyModel
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
raise_
receivers
rect
reject
releaseKeyboard
releaseMouse
releaseShortcut
removeAction
removeEventFilter
render render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
repaint repaint(self, int, int, int, int)
resize resize(self, int, int)
resizeEvent
restoreGeometry
restoreState
result
saveGeometry
saveState
saveUsedEncoding
scroll scroll(self, int, int, QRect)
selectFile
selectMimeTypeFilter
selectNameFilter
selectUrl
selectedFiles
selectedMimeTypeFilter
selectedNameFilter
selectedUrls
sender
senderSignalIndex
setAcceptDrops
setAcceptMode
setAccessibleDescription
setAccessibleName
setAttribute
setAutoFillBackground
setBackgroundRole
setBaseSize setBaseSize(self, QSize)
setContentsMargins setContentsMargins(self, QMargins)
setContextMenuPolicy
setCursor
setDefaultSuffix
setDirectory setDirectory(self, QDir)
setDirectoryUrl
setDisabled
setEnabled
setFileMode
setFilter
setFixedHeight
setFixedSize setFixedSize(self, int, int)
setFixedWidth
setFocus setFocus(self, Qt.FocusReason)
setFocusPolicy
setFocusProxy
setFont
setForegroundRole
setGeometry setGeometry(self, int, int, int, int)
setGraphicsEffect
setHidden
setHistory
setIconProvider
setInputMethodHints
setItemDelegate
setLabelText
setLayout
setLayoutDirection
setLocale
setMask setMask(self, QRegion)
setMaximumHeight
setMaximumSize setMaximumSize(self, QSize)
setMaximumWidth
setMimeTypeFilters
setMinimumHeight
setMinimumSize setMinimumSize(self, QSize)
setMinimumWidth
setModal
setMouseTracking
setNameFilter
setNameFilters
setObjectName
setOption
setOptions
setPalette
setParent setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
setProperty
setProxyModel
setResult
setShortcutAutoRepeat
setShortcutEnabled
setSidebarUrls
setSizeGripEnabled
setSizeIncrement setSizeIncrement(self, QSize)
setSizePolicy setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
setStatusTip
setStyle
setStyleSheet
setSupportedSchemes
setTabOrder
setTabletTracking
setToolTip
setToolTipDuration
setUpdatesEnabled
setViewMode
setVisible
setWhatsThis
setWindowFilePath
setWindowFlag
setWindowFlags
setWindowIcon
setWindowIconText
setWindowModality
setWindowModified
setWindowOpacity
setWindowRole
setWindowState
setWindowTitle
sharedPainter
show
showEvent
showFullScreen
showMaximized
showMinimized
showNormal
sidebarUrls
signalsBlocked
size
sizeHint
sizeIncrement
sizePolicy
stackUnder
startTimer
statusTip
style
styleSheet
supportedSchemes
tabletEvent
testAttribute
testOption
thread
timerEvent
toolTip
toolTipDuration
tr
underMouse
ungrabGesture
unsetCursor
unsetLayoutDirection
unsetLocale
update update(self, QRect)
updateGeometry
updateMicroFocus
updatesEnabled
viewMode
visibleRegion
whatsThis
wheelEvent
width
widthMM
winId
window
windowFilePath
windowFlags
windowHandle
windowIcon
windowIconText
windowModality
windowOpacity
windowRole
windowState
windowTitle
windowType
x
y

Attributes

Accept
AcceptOpen
AcceptSave
Accepted
AnyFile
Detail
Directory
DirectoryOnly
DontConfirmOverwrite
DontResolveSymlinks
DontUseCustomDirectoryIcons
DontUseNativeDialog
DontUseSheet
DrawChildren
DrawWindowBackground
ExistingFile
ExistingFiles
FileName
FileType
HideNameFilterDetails
IgnoreMask
List
LookIn
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
ReadOnly
Reject
Rejected
ShowDirsOnly
accepted accepted(self) [signal]
currentChanged currentChanged(self, str) [signal]
currentUrlChanged currentUrlChanged(self, QUrl) [signal]
customContextMenuRequested customContextMenuRequested(self, QPoint) [signal]
destroyed destroyed(self, QObject = None) [signal]
directoryEntered directoryEntered(self, str) [signal]
directoryUrlEntered directoryUrlEntered(self, QUrl) [signal]
fileSelected fileSelected(self, str) [signal]
filesSelected filesSelected(self, Iterable[str]) [signal]
filterSelected filterSelected(self, str) [signal]
finished finished(self, int) [signal]
objectNameChanged objectNameChanged(self, str) [signal]
rejected rejected(self) [signal]
staticMetaObject
urlSelected urlSelected(self, QUrl) [signal]
urlsSelected urlsSelected(self, Iterable[QUrl]) [signal]
windowIconChanged windowIconChanged(self, QIcon) [signal]
windowIconTextChanged windowIconTextChanged(self, str) [signal]
windowTitleChanged windowTitleChanged(self, str) [signal]
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()