Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqnxscreen.cpp File Reference
#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.

Macros

#define qScreenDebug   QT_NO_QDEBUG_MACRO
 

Functions

static QT_BEGIN_NAMESPACE 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
 

Macro Definition Documentation

◆ qScreenDebug

#define qScreenDebug   QT_NO_QDEBUG_MACRO

Definition at line 19 of file qqnxscreen.cpp.

Function Documentation

◆ defaultDepth()

static int defaultDepth ( )
static

Definition at line 235 of file qqnxscreen.cpp.

References defaultDepth(), qEnvironmentVariableIntValue(), and qScreenDebug.

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

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

◆ determineScreenSize()

static QT_BEGIN_NAMESPACE QSize determineScreenSize ( screen_display_t  display,
bool  primaryScreen 
)
static

Definition at line 35 of file qqnxscreen.cpp.

References QSize::height(), QString::isEmpty(), Q_SCREEN_CHECKERROR, qgetenv(), qScreenDebug, qWarning, QString::split(), and QSize::width().

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 327 of file qqnxscreen.cpp.

Referenced by QQnxScreen::setRotation().

+ Here is the caller graph for this function:

Variable Documentation

◆ MAX_UNDERLAY_ZORDER

const int MAX_UNDERLAY_ZORDER = -1
static

Definition at line 31 of file qqnxscreen.cpp.

Referenced by QQnxScreen::newWindowCreated().