Класс QWaylandOutputMode
Класс QWaylandOutputMode хранит разрешение и частоту обновления вывода. Подробнее...
| Заголовок: | #include <QWaylandOutputMode> |
| qmake: | QT += waylandcompositor |
| С момента: | Qt 5.8 |
Открытые функции
| QWaylandOutputMode() | |
| QWaylandOutputMode(const QSize &size, int refreshRate) | |
| QWaylandOutputMode(const QWaylandOutputMode &other) | |
| ~QWaylandOutputMode() | |
| bool | isValid() const |
| int | refreshRate() const |
| QSize | size() const |
| bool | operator!=(const QWaylandOutputMode &other) const |
| QWaylandOutputMode & | operator=(const QWaylandOutputMode &other) |
| bool | operator==(const QWaylandOutputMode &other) const |
Подробное описание
Класс QWaylandOutputMode хранит разрешение и частоту обновления вывода.
QWaylandOutputMode хранит разрешение и частоту обновления вывода. Разрешение выражается в пикселях, а частота обновления измеряется в мГц.
См. также QWaylandOutput.
Документация по членам функций
QWaylandOutputMode::QWaylandOutputMode()
Создает экземпляр QWaylandOutputMode по умолчанию.
QWaylandOutputMode::QWaylandOutputMode(const QSize &size, int refreshRate)
Создает экземпляр QWaylandOutputMode по умолчанию.
QWaylandOutputMode::QWaylandOutputMode(const QWaylandOutputMode &other)
Конструктор копирования.
QWaylandOutputMode::~QWaylandOutputMode()
Удаляет экземпляр QWaylandOutputMode.
bool QWaylandOutputMode::isValid() const
Возвращает, содержит ли этот режим допустимое разрешение и частоту обновления.
int QWaylandOutputMode::refreshRate() const
Возвращает частоту обновления в мГц.
QSize QWaylandOutputMode::size() const
Возвращает разрешение в пикселях.
bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const
Возвращает true если этот режим не равен other, в противном случае возвращает false.
QWaylandOutputMode &QWaylandOutputMode::operator=(const QWaylandOutputMode &other)
Оператор присваивания копирования.
bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const
Возвращает true если этот режим равен other, в противном случае возвращает false.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.9/qwaylandoutputmode.html