Obsolete Members for FontDialog
QML 类型FontDialog的以下成员已被弃用。提供它们是为了让旧源代码继续工作。我们强烈建议不要在新代码中使用它们。
属性
- currentFont : font
(deprecated in 6.3)
属性文档
currentFont : font |
自 QtQuick.Dialogs 6.3 起,该属性已被弃用。我们强烈建议不要在新代码中使用它。
请使用selectedFont 。
该属性保存对话框中当前选择的字体。
当用户在对话框中选择字体时,甚至在最终选择之前,currentFont
属性都会被更新。
另请参阅 selectedFont 。
© 2025 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.