Skip to content

PythonQt.QtCore.QFileSelector · declarations 001

Back to PythonQt.QtCore.QFileSelector

allSelectors

allSelectors() -> tuple

X.allSelectors() -> tuple

Supplemental documentation: Qt 5 reference:

QStringList QFileSelector::allSelectors() const

Returns the complete, ordered list of selectors used by this instance

Upstream PySide2 reference signatures (binding differences may apply):

allSelectors(self) -> typing.List[str]

Source: https://doc.qt.io/archives/qt-5.15/qfileselector.html#allSelectors

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QFileSelector.destroyed; argument details are not documented.

extraSelectors

extraSelectors() -> tuple

X.extraSelectors() -> tuple

Supplemental documentation: Qt 5 reference:

QStringList QFileSelector::extraSelectors() const

Returns the list of extra selectors which have been added programmatically to this instance.

See also setExtraSelectors().

Upstream PySide2 reference signatures (binding differences may apply):

extraSelectors(self) -> typing.List[str]

Source: https://doc.qt.io/archives/qt-5.15/qfileselector.html#extraSelectors

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QFileSelector.objectNameChanged; argument details are not documented.

select

select(filePath: Any) -> str

X.select(filePath) -> str

Supplemental documentation: Qt 5 reference:

QString QFileSelector::select(const QString \&filePath) const

This function returns the selected version of the path, based on the conditions at runtime. If no selectable files are present, returns the original filePath.

If the original file does not exist, the original filePath is returned. This means that you must have a base file to fall back on, you cannot have only files in selectable sub-directories.

See the class overview for the selection algorithm.

QUrl QFileSelector::select(const QUrl \&filePath) const

This is a convenience version of select operating on QUrl objects. If the scheme is not file or qrc, filePath is returned immediately. Otherwise selection is applied to the path of filePath and a QUrl is returned with the selected path and other QUrl parts the same as filePath.

See the class overview for the selection algorithm.

Upstream PySide2 reference signatures (binding differences may apply):

select(self, filePath: PySide2.QtCore.QUrl) -> PySide2.QtCore.QUrl
select(self, filePath: str) -> str

Source: https://doc.qt.io/archives/qt-5.15/qfileselector.html#select

setExtraSelectors

setExtraSelectors(list: Any) -> None

X.setExtraSelectors(list)

Supplemental documentation: Qt 5 reference:

void QFileSelector::setExtraSelectors(const QStringList \&list)

Sets the list of extra selectors which have been added programmatically to this instance.

These selectors have priority over any which have been automatically picked up.

See also extraSelectors().

Upstream PySide2 reference signatures (binding differences may apply):

setExtraSelectors(self, list: typing.Sequence[str]) -> None

Source: https://doc.qt.io/archives/qt-5.15/qfileselector.html#setExtraSelectors