45 #include <QtGui/qscreenlinuxfb_qws.h> 83 #endif // QT_NO_QWS_AHI 84 #endif // QAHISCREEN_H The QColor class provides colors based on RGB, HSV or CMYK values.
int height() const
Returns the logical height of the framebuffer in pixels.
#define QT_END_NAMESPACE
This macro expands to.
void shutdownDevice()
This function is called by the Qt for Embedded Linux server before it calls the disconnect() function...
bool connect(const QString &displaySpec)
This function is called by every Qt for Embedded Linux application on startup, and must be implemente...
The QString class provides a Unicode character string.
void setMode(int width, int height, int depth)
Implement this function to reset the framebuffer's resolution (width and height) and bit depth...
virtual QRegion region() const
Returns the region covered by this screen driver.
int width() const
Returns the logical width of the framebuffer in pixels.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QImage class provides a hardware-independent image representation that allows direct access to th...
QAhiScreenPrivate * d_ptr
The QRegion class specifies a clip region for a painter.
void blit(const QImage &image, const QPoint &topLeft, const QRegion ®ion)
Copies the given region in the given image to the point specified by topLeft using device coordinates...
void solidFill(const QColor &color, const QRegion ®ion)
Fills the given region of the screen with the specified color.
The QPoint class defines a point in the plane using integer precision.
void disconnect()
This function is called by every Qt for Embedded Linux application before exiting, and must be implemented to unmap the framebuffer.
The QScreen class is a base class for screen drivers in Qt for Embedded Linux.
bool initDevice()
This function is called by the Qt for Embedded Linux server to initialize the framebuffer.
QAhiScreen(int displayId)
int depth() const
Returns the depth of the framebuffer, in bits per pixel.