本页内容

MenuSeparator QML Type

原生菜单分隔符。更多...

Import Statement: import Qt.labs.platform
Inherits:

MenuItem

详细说明

MenuSeparator 类型是为了方便而提供的。它是一个MenuItem ,其separator 属性默认设置为true 。

原生菜单栏,其“编辑”菜单中显示“剪切”、“复制”和“粘贴”选项

注意: Qt.labs 模块中的类型在未来的版本中不保证保持兼容性。

另请参阅 Menu 和MenuItem 。

© 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.