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