Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqnxscreen.cpp File Reference

(4946982534d4d256590dffd44046fe642456703f)

#include "qqnxglobal.h"
#include "qqnxscreen.h"
#include "qqnxwindow.h"
#include "qqnxcursor.h"
#include <QtCore/QThread>
#include <QtCore/QDebug>
#include <qpa/qwindowsysteminterface.h>
#include <errno.h>
+ Include dependency graph for qqnxscreen.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcQpaScreen, "qt.qpa.screen")
 
static QSize determineScreenSize (screen_display_t display, bool primaryScreen)
 
static int defaultDepth ()
 
static bool isOrthogonal (int angle1, int angle2)
 Check if the supplied angles are perpendicular to each other.
 

Variables

static const int MAX_UNDERLAY_ZORDER = -1
 

Function Documentation

◆ defaultDepth()

static int defaultDepth ( )
static

Definition at line 233 of file qqnxscreen.cpp.

References defaultDepth(), Q_FUNC_INFO, qCDebug, and qEnvironmentVariableIntValue().

Referenced by defaultDepth(), and QQnxScreen::depth().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineScreenSize()

static QSize determineScreenSize ( screen_display_t display,
bool primaryScreen )
static

Definition at line 33 of file qqnxscreen.cpp.

References Q_SCREEN_CHECKERROR, qCDebug, qgetenv(), qWarning, and QStringView::split().

Referenced by QQnxScreen::QQnxScreen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isOrthogonal()

static bool isOrthogonal ( int angle1,
int angle2 )
static

Check if the supplied angles are perpendicular to each other.

Definition at line 325 of file qqnxscreen.cpp.

Referenced by QQnxScreen::setRotation().

+ Here is the caller graph for this function:

◆ Q_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcQpaScreen ,
"qt.qpa.screen"  )

Variable Documentation

◆ MAX_UNDERLAY_ZORDER

const int MAX_UNDERLAY_ZORDER = -1
static

Definition at line 27 of file qqnxscreen.cpp.

Referenced by QQnxScreen::newWindowCreated().