PythonQt.QtGui.QFileDialog · declarations 001
Back to PythonQt.QtGui.QFileDialog
Accept
instance-attribute
Accept: Any
AcceptMode
instance-attribute
AcceptMode: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
AcceptOpen
instance-attribute
AcceptOpen: Any
AcceptSave
instance-attribute
AcceptSave: Any
AnyFile
instance-attribute
AnyFile: Any
Detail
instance-attribute
Detail: Any
DialogLabel
instance-attribute
DialogLabel: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
Directory
instance-attribute
Directory: Any
DirectoryOnly
instance-attribute
DirectoryOnly: Any
DontConfirmOverwrite
instance-attribute
DontConfirmOverwrite: Any
DontResolveSymlinks
instance-attribute
DontResolveSymlinks: Any
DontUseCustomDirectoryIcons
instance-attribute
DontUseCustomDirectoryIcons: Any
ExistingFile
instance-attribute
ExistingFile: Any
ExistingFiles
instance-attribute
ExistingFiles: Any
FileMode
instance-attribute
FileMode: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
FileName
instance-attribute
FileName: Any
FileType
instance-attribute
FileType: Any
HideNameFilterDetails
instance-attribute
HideNameFilterDetails: Any
List
instance-attribute
List: Any
LookIn
instance-attribute
LookIn: Any
Option
instance-attribute
Option: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
Options
instance-attribute
Options: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
Reject
instance-attribute
Reject: Any
ShowDirsOnly
instance-attribute
ShowDirsOnly: Any
ViewMode
instance-attribute
ViewMode: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
accept
accept() -> None
X.accept()
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QFileDialog::accept()
Reimplements: QDialog::accept().
Upstream PySide2 reference signatures (binding differences may apply):
accept(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#accept
acceptMode
instance-attribute
acceptMode: Any
Qt 5 reference:
acceptMode : AcceptMode
This property holds the accept mode of the dialog
The action mode defines whether the dialog is for opening or saving files.
By default, this property is set to AcceptOpen.
Access functions:
| QFileDialog::AcceptMode | acceptMode() const |
|---|---|
| void | setAcceptMode(QFileDialog::AcceptMode mode) |
See also AcceptMode.
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#acceptMode
accepted
accepted(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QFileDialog.accepted; argument details are not documented.
changeEvent
changeEvent(e: Any) -> None
X.changeEvent(e)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QFileDialog::changeEvent(QEvent *e)
Reimplements: QWidget::changeEvent(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
changeEvent(self, e: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#changeEvent
confirmOverwrite
instance-attribute
confirmOverwrite: bool
currentChanged
currentChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QFileDialog.currentChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QFileDialog::currentChanged(const QString \&path)
When the current file changes for local operations, this signal is emitted with the new file name as the path parameter.
See also filesSelected().
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#currentChanged
currentUrlChanged
currentUrlChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QFileDialog.currentUrlChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QFileDialog::currentUrlChanged(const QUrl \&url)
When the current file changes, this signal is emitted with the new file URL as the url parameter.
This function was introduced in Qt 5.2.
See also urlsSelected().
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#currentUrlChanged
customContextMenuRequested
customContextMenuRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QFileDialog.customContextMenuRequested; argument details are not documented.
defaultSuffix
instance-attribute
defaultSuffix: str
Qt 5 reference:
defaultSuffix : QString
suffix added to the filename if no other suffix was specified
This property specifies a string that will be added to the filename if it has no suffix already. The suffix is typically used to indicate the file type (e.g. "txt" indicates a text file).
If the first character is a dot ('.'), it is removed.
Access functions:
| QString | defaultSuffix() const |
|---|---|
| void | setDefaultSuffix(const QString \&suffix) |
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#defaultSuffix
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QFileDialog.destroyed; argument details are not documented.
directory
directory() -> Any
X.directory() -> PythonQt.QtCore.QDir
Supplemental documentation: Qt 5 reference:
QDir QFileDialog::directory() const
Returns the directory currently being displayed in the dialog.
See also setDirectory().
Upstream PySide2 reference signatures (binding differences may apply):
directory(self) -> PySide2.QtCore.QDir
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#directory
directoryEntered
directoryEntered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QFileDialog.directoryEntered; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QFileDialog::directoryEntered(const QString \&directory)
This signal is emitted for local operations when the user enters a directory.
This function was introduced in Qt 4.3.
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#directoryEntered
directoryUrl
directoryUrl() -> Any
X.directoryUrl() -> PythonQt.QtCore.QUrl
Supplemental documentation: Qt 5 reference:
QUrl QFileDialog::directoryUrl() const
Returns the url of the directory currently being displayed in the dialog.
This function was introduced in Qt 5.2.
See also setDirectoryUrl().
Upstream PySide2 reference signatures (binding differences may apply):
directoryUrl(self) -> PySide2.QtCore.QUrl
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#directoryUrl
directoryUrlEntered
directoryUrlEntered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QFileDialog.directoryUrlEntered; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QFileDialog::directoryUrlEntered(const QUrl \&directory)
This signal is emitted when the user enters a directory.
This function was introduced in Qt 5.2.
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#directoryUrlEntered
done
done(result: int) -> None
X.done(result)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QFileDialog::done(int result)
Reimplements: QDialog::done(int r).
Upstream PySide2 reference signatures (binding differences may apply):
done(self, result: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qfiledialog.html#done