Obsolete Members for FileDialog
QML 类型FileDialog的以下成员已弃用。提供这些成员是为了确保旧源代码能够继续运行。我们强烈建议不要在新代码中使用它们。
属性
- currentFile : url
(deprecated in 6.3) - currentFiles : list<url>
(deprecated in 6.3)
物业文件
currentFile : url [deprecated in 6.3]
自 QtQuick.Dialogs 6.3 起,此属性已弃用。我们强烈建议不要在新代码中使用它。
请改用selectedFile 。
该属性保存对话框中当前选中的文件。
另请参阅 selectedFile 、currentFiles 和currentFolder 。
currentFiles : list<url> [deprecated in 6.3]
自 QtQuick.Dialogs 6.3 起,此属性已被废弃。我们强烈建议不要在新代码中使用它。
请改用selectedFiles 。
该属性保存对话框中当前选中的文件。
另请参阅 selectedFiles 、currentFile 和currentFolder 。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.