42 #ifndef QPROXYSCREEN_QWS_H 43 #define QPROXYSCREEN_QWS_H 45 #include <QtGui/qscreen_qws.h> 47 #ifndef QT_NO_QWS_PROXYSCREEN 55 class QProxyScreenPrivate;
57 #ifndef QT_NO_QWS_CURSOR 59 class QProxyScreenCursorPrivate;
71 void move(
int x,
int y);
79 QProxyScreenCursorPrivate *
d_ptr;
82 #endif // QT_NO_QWS_CURSOR 90 void setScreen(
QScreen *screen);
110 void setMode(
int width,
int height,
int depth);
117 bool onCard(
const unsigned char *)
const;
118 bool onCard(
const unsigned char *,
ulong& out_offset)
const;
152 #endif // QT_NO_QWS_PROXYSCREEN 153 #endif // QPROXYSCREEN_QWS_H The QColor class provides colors based on RGB, HSV or CMYK values.
The QScreenCursor class is a base class for screen cursors in Qt for Embedded Linux.
The QWSWindowSurface class provides the drawing area for top-level windows in Qt for Embedded Linux...
virtual void move(int x, int y)
Moves the mouse cursor to the given position, i.e., (x, y).
The QProxyScreenCursor class provides a generic interface to QScreenCursor implementations.
The QProxyScreen class provides a generic interface to QScreen implementations.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
virtual int sharedRamSize(void *)
friend class QProxyScreen
virtual bool connect(const QString &displaySpec)=0
This function is called by every Qt for Embedded Linux application on startup, and must be implemente...
virtual void restore()
Restores the previously saved state of the graphics card.
virtual void setMode(int, int, int)=0
Implement this function to reset the framebuffer's resolution (width and height) and bit depth...
virtual QSize mapFromDevice(const QSize &) const
Maps the given size from the framebuffer coordinate system to the coordinate space used by the applic...
The QString class provides a Unicode character string.
QProxyScreenCursorPrivate * d_ptr
virtual void setDirty(const QRect &)
Marks the given rectangle as dirty.
QImage image() const
Returns the cursor's image.
virtual QSize mapToDevice(const QSize &) const
Maps the given size from the coordinate space used by the application to the framebuffer coordinate s...
virtual void blit(const QImage &img, const QPoint &topLeft, const QRegion ®ion)
Copies the given region in the given image to the point specified by topLeft using device coordinates...
virtual void disconnect()=0
This function is called by every Qt for Embedded Linux application before exiting, and must be implemented to unmap the framebuffer.
virtual QRegion region() const
Returns the region covered by this screen driver.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void resumeUpdates()
QScreenCursor * realCursor
virtual bool initDevice()=0
This function is called by the Qt for Embedded Linux server to initialize the framebuffer.
The QImage class provides a hardware-independent image representation that allows direct access to th...
The QRegion class specifies a clip region for a painter.
virtual void hide()
Hides the cursor from the screen.
virtual QWSWindowSurface * createSurface(QWidget *widget) const
Creates and returns a new window surface for the given widget.
virtual void blank(bool on)
Prevents the screen driver form displaying any content on the screen.
virtual void save()
Saves the current state of the graphics card.
virtual int memoryNeeded(const QString &)
virtual void haltUpdates()
ClassId
This enum defines the class identifiers for the known screen subclasses.
virtual bool isInterlaced() const
Returns true if the display is interlaced (i.
virtual QList< QScreen * > subScreens() const
virtual bool isTransformed() const
Returns true if the screen is transformed (for instance, rotated 90 degrees); otherwise returns false...
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
The QScreen class is a base class for screen drivers in Qt for Embedded Linux.
virtual void shutdownDevice()
This function is called by the Qt for Embedded Linux server before it calls the disconnect() function...
virtual int transformOrientation() const
Returns the current rotation as an integer value.
virtual bool onCard(const unsigned char *) const
Returns true if the specified buffer is within the graphics card's memory; otherwise returns false (i...
friend class QProxyScreenCursor
The QSize class defines the size of a two-dimensional object using integer point precision.
virtual bool supportsDepth(int) const
Returns true if the screen supports the specified color depth; otherwise returns false.
virtual void exposeRegion(QRegion r, int changing)
This function is called by the Qt for Embedded Linux server whenever a screen update is required...
QProxyScreenPrivate * d_ptr
virtual void show()
Shows the mouse cursor.
virtual void solidFill(const QColor &color, const QRegion ®ion)
Fills the given region of the screen with the specified color.
The QList class is a template class that provides lists.