QFileDialog¶

PyQt5.QtWidgets.QFileDialog

Inherits from QDialog.

Description¶

TODO

Classes¶

Options

Enums¶

AcceptMode

TODO

Member

Value

Description

AcceptOpen

TODO

TODO

AcceptSave

TODO

TODO


DialogLabel

TODO

Member

Value

Description

Accept

TODO

TODO

FileName

TODO

TODO

FileType

TODO

TODO

LookIn

TODO

TODO

Reject

TODO

TODO


FileMode

TODO

Member

Value

Description

AnyFile

TODO

TODO

Directory

TODO

TODO

DirectoryOnly

TODO

TODO

ExistingFile

TODO

TODO

ExistingFiles

TODO

TODO


Option

TODO

Member

Value

Description

DontConfirmOverwrite

TODO

TODO

TODO

TODO

DontUseCustomDirectoryIcons

TODO

TODO

DontUseNativeDialog

TODO

TODO

DontUseSheet

TODO

TODO

HideNameFilterDetails

TODO

TODO

ReadOnly

TODO

TODO

ShowDirsOnly

TODO

TODO


ViewMode

TODO

Member

Value

Description

Detail

TODO

TODO

List

TODO

TODO

Methods¶

__init__(QWidget, Union[WindowFlags, WindowType])

TODO


__init__(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '')

TODO


accept()

TODO


acceptMode() → AcceptMode

TODO


changeEvent(QEvent)

TODO


defaultSuffix() → str

TODO


directory() → QDir

TODO


directoryUrl() → QUrl

TODO


done(int)

TODO


fileMode() → FileMode

TODO


filter() → Filters

TODO


@staticmethod
getExistingDirectory(parent: QWidget = None, caption: str = '', directory: str = '', options: Union[Options, Option] = ShowDirsOnly) → str

TODO


@staticmethod
getExistingDirectoryUrl(parent: QWidget = None, caption: str = '', directory: QUrl = QUrl(), options: Union[Options, Option] = ShowDirsOnly, supportedSchemes: Iterable[str] = []) → QUrl

TODO


@staticmethod
getOpenFileName(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[Options, Option] = 0) → Tuple[str, str]

TODO


@staticmethod
getOpenFileNames(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[Options, Option] = 0) → Tuple[List[str], str]

TODO


@staticmethod
getOpenFileUrl(parent: QWidget = None, caption: str = '', directory: QUrl = QUrl(), filter: str = '', initialFilter: str = '', options: Union[Options, Option] = 0, supportedSchemes: Iterable[str] = []) → Tuple[QUrl, str]

TODO


@staticmethod
getOpenFileUrls(parent: QWidget = None, caption: str = '', directory: QUrl = QUrl(), filter: str = '', initialFilter: str = '', options: Union[Options, Option] = 0, supportedSchemes: Iterable[str] = []) → Tuple[List[QUrl], str]

TODO


@staticmethod
getSaveFileName(parent: QWidget = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[Options, Option] = 0) → Tuple[str, str]

TODO


@staticmethod
getSaveFileUrl(parent: QWidget = None, caption: str = '', directory: QUrl = QUrl(), filter: str = '', initialFilter: str = '', options: Union[Options, Option] = 0, supportedSchemes: Iterable[str] = []) → Tuple[QUrl, str]

TODO


history() → List[str]

TODO


iconProvider() → QFileIconProvider

TODO


itemDelegate() → QAbstractItemDelegate

TODO


labelText(DialogLabel) → str

TODO


mimeTypeFilters() → List[str]

TODO


nameFilters() → List[str]

TODO


open()

TODO


open(PYQT_SLOT)

TODO


options() → Options

TODO


proxyModel() → QAbstractProxyModel

TODO


restoreState(Union[QByteArray, bytes, bytearray]) → bool

TODO


@staticmethod
saveFileContent(Union[QByteArray, bytes, bytearray], fileNameHint: str = '')

TODO


saveState() → QByteArray

TODO


selectedFiles() → List[str]

TODO


selectedMimeTypeFilter() → str

TODO


selectedNameFilter() → str

TODO


selectedUrls() → List[QUrl]

TODO


selectFile(str)

TODO


selectMimeTypeFilter(str)

TODO


selectNameFilter(str)

TODO


selectUrl(QUrl)

TODO


setAcceptMode(AcceptMode)

TODO


setDefaultSuffix(str)

TODO


setDirectory(str)

TODO


setDirectory(QDir)

TODO


setDirectoryUrl(QUrl)

TODO


setFileMode(FileMode)

TODO


setFilter(Union[Filters, Filter])

TODO


setHistory(Iterable[str])

TODO


setIconProvider(QFileIconProvider)

TODO


setItemDelegate(QAbstractItemDelegate)

TODO


setLabelText(DialogLabel, str)

TODO


setMimeTypeFilters(Iterable[str])

TODO


setNameFilter(str)

TODO


setNameFilters(Iterable[str])

TODO


setOption(Option, on: bool = True)

TODO


setOptions(Union[Options, Option])

TODO


setProxyModel(QAbstractProxyModel)

TODO


setSidebarUrls(Iterable[QUrl])

TODO


setSupportedSchemes(Iterable[str])

TODO


setViewMode(ViewMode)

TODO


setVisible(bool)

TODO


sidebarUrls() → List[QUrl]

TODO


supportedSchemes() → List[str]

TODO


testOption(Option) → bool

TODO


viewMode() → ViewMode

TODO

Signals¶

currentChanged(str)

TODO


currentUrlChanged(QUrl)

TODO


directoryEntered(str)

TODO


directoryUrlEntered(QUrl)

TODO


fileSelected(str)

TODO


filesSelected(Iterable[str])

TODO


filterSelected(str)

TODO


urlSelected(QUrl)

TODO


urlsSelected(Iterable[QUrl])

TODO