Obsolete Members for FontDialog
QML 类型FontDialog的以下成员已被废弃。提供这些成员是为了确保旧源代码能够继续运行。我们强烈建议不要在新代码中使用它们。
属性
- currentFont : font
(deprecated in 6.3)
物业文件
currentFont : font [deprecated in 6.3]
自 QtQuick.Dialogs 6.3 起,此属性已弃用。我们强烈建议不要在新代码中使用它。
请改用 `selectedFont `。
该属性保存对话框中当前选中的字体。
当用户在对话框中选择字体时,currentFont 属性会实时更新,即使最终选择尚未确定。
另请参阅 selectedFont 。
© 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.