QNativeInterface::QWaylandScreen Struct
Wayland 屏幕的原生接口。更多内容...
| 标题: | #include <qscreen_platform.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 自: | Qt 6.7 |
- 所有成员列表(包括继承的成员)
- QWaylandScreen 属于“本机接口”部分。
公共函数
| QWaylandScreen() | |
| QWaylandScreen(const QNativeInterface::QWaylandScreen &) | |
| QWaylandScreen(QNativeInterface::QWaylandScreen &&) | |
| virtual wl_output * | output() const = 0 |
| QNativeInterface::QWaylandScreen & | operator=(QNativeInterface::QWaylandScreen &&) |
| QNativeInterface::QWaylandScreen & | operator=(const QNativeInterface::QWaylandScreen &) |
详细说明
通过 `QScreen::nativeInterface()` 访问。
成员函数文档
[constexpr noexcept default] QWaylandScreen::QWaylandScreen()
默认——构造一个QWaylandScreen 的实例。
[delete] QWaylandScreen::QWaylandScreen(const QNativeInterface::QWaylandScreen &)
复制并构造一个QWaylandScreen 实例。该函数已被删除。
[delete] QWaylandScreen::QWaylandScreen(QNativeInterface::QWaylandScreen &&)
通过“move”操作构造一个QWaylandScreen 的实例。该函数已被删除。
[pure virtual] wl_output *QWaylandScreen::output() const
返回此QScreen 的底层wl_output。
[delete] QNativeInterface::QWaylandScreen &QWaylandScreen::operator=(QNativeInterface::QWaylandScreen &&)
将other 按移动赋值给此QWaylandScreen 实例。该函数已被删除。
[delete] QNativeInterface::QWaylandScreen &QWaylandScreen::operator=(const QNativeInterface::QWaylandScreen &)
将other 复制并赋值给此QWaylandScreen 实例。该函数已被删除。
© 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.