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
qbsdfbscreen.cpp File Reference

(aa37e67ef7f5ff22da0ef95fb5221bc1fff9b3ca)

#include "qbsdfbscreen.h"
#include <QtFbSupport/private/qfbcursor_p.h>
#include <QtFbSupport/private/qfbwindow_p.h>
#include <QtCore/QFile>
#include <QtCore/QRegularExpression>
#include <QtGui/QPainter>
#include <private/qcore_unix_p.h>
#include <qimage.h>
#include <qdebug.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <limits.h>
#include <signal.h>
#include <sys/consio.h>
#include <sys/fbio.h>
+ Include dependency graph for qbsdfbscreen.cpp:

Go to the source code of this file.

Enumerations

enum  { DefaultDPI = 100 }
 

Functions

static int openFramebufferDevice (const QString &dev)
 
static QRect determineGeometry (const struct fbtype &fb, const QRect &userGeometry)
 
static QSizeF determinePhysicalSize (const QSize &mmSize, const QSize &res)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DefaultDPI 

Definition at line 35 of file qbsdfbscreen.cpp.

Function Documentation

◆ determineGeometry()

static QRect determineGeometry ( const struct fbtype & fb,
const QRect & userGeometry )
static

Definition at line 51 of file qbsdfbscreen.cpp.

References qMin(), and qWarning.

Referenced by QBsdFbScreen::initialize(), and QLinuxFbScreen::initialize().

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

◆ determinePhysicalSize()

static QSizeF determinePhysicalSize ( const QSize & mmSize,
const QSize & res )
static

Definition at line 88 of file qbsdfbscreen.cpp.

References DefaultDPI, and qRound().

Referenced by QBsdFbScreen::initialize(), and QLinuxFbScreen::initialize().

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

◆ openFramebufferDevice()

static int openFramebufferDevice ( const QString & dev)
static

Definition at line 39 of file qbsdfbscreen.cpp.

References QFile::encodeName(), and QT_OPEN.

Referenced by QBsdFbScreen::initialize(), and QLinuxFbScreen::initialize().

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