Definition at line 191 of file qscreen_qws.h.
#include <qscreen_qws.h>

Public Types |
|
| enum | ClassId
{ LinuxFBClass, TransformedClass, VNCClass, MultiClass, VFbClass, DirectFBClass, SvgalibClass, ProxyClass, GLClass, CustomClass = 1024 } |
| enum | PixelType { NormalPixel, BGRPixel } |
Public Member Functions |
|
| QScreen (int display_id, ClassId classId) | |
| QScreen (int display_id) | |
| virtual | ~QScreen () |
| virtual bool | initDevice ()=0 |
| virtual bool | connect (const QString &displaySpec)=0 |
| virtual void | disconnect ()=0 |
| virtual void | shutdownDevice () |
| virtual void | setMode (int, int, int)=0 |
| virtual bool | supportsDepth (int) const |
| virtual void | save () |
| virtual void | restore () |
| virtual void | blank (bool on) |
| virtual int | pixmapOffsetAlignment () |
| virtual int | pixmapLinestepAlignment () |
| virtual int | sharedRamSize (void *) |
| virtual bool | onCard (const unsigned char *) const |
| virtual bool | onCard (const unsigned char *, ulong &out_offset) const |
| virtual void | set (unsigned int, unsigned int, unsigned int, unsigned int) |
| virtual int | alloc (unsigned int, unsigned int, unsigned int) |
| int | width () const |
| int | height () const |
| int | depth () const |
| virtual int | pixmapDepth () const |
| PixelType | pixelType () const |
| int | linestep () const |
| int | deviceWidth () const |
| int | deviceHeight () const |
| uchar * | base () const |
| virtual uchar * | cache (int) |
| virtual void | uncache (uchar *) |
| QImage::Format | pixelFormat () const |
| int | screenSize () const |
| int | totalSize () const |
| QRgb * | clut () |
| int | colorCount () |
| virtual QSize | mapToDevice (const QSize &) const |
| virtual QSize | mapFromDevice (const QSize &) const |
| virtual QPoint | mapToDevice (const QPoint &, const QSize &) const |
| virtual QPoint | mapFromDevice (const QPoint &, const QSize &) const |
| virtual QRect | mapToDevice (const QRect &, const QSize &) const |
| virtual QRect | mapFromDevice (const QRect &, const QSize &) const |
| virtual QImage | mapToDevice (const QImage &) const |
| virtual QImage | mapFromDevice (const QImage &) const |
| virtual QRegion | mapToDevice (const QRegion &, const QSize &) const |
| virtual QRegion | mapFromDevice (const QRegion &, const QSize &) const |
| virtual int | transformOrientation () const |
| virtual bool | isTransformed () const |
| virtual bool | isInterlaced () const |
| virtual void | setDirty (const QRect &) |
| virtual int | memoryNeeded (const QString &) |
| virtual void | haltUpdates () |
| virtual void | resumeUpdates () |
| virtual void | exposeRegion (QRegion r, int changing) |
| virtual void | blit (const QImage &img, const QPoint &topLeft, const QRegion ®ion) |
| virtual void | solidFill (const QColor &color, const QRegion ®ion) |
| void | blit (QWSWindow *bs, const QRegion &clip) |
| virtual QWSWindowSurface * | createSurface (QWidget *widget) const |
| virtual QWSWindowSurface * | createSurface (const QString &key) const |
| virtual QList< QScreen * > | subScreens () const |
| virtual QRegion | region () const |
| int | subScreenIndexAt (const QPoint &p) const |
| void | setOffset (const QPoint &p) |
| QPoint | offset () const |
| int | physicalWidth () const |
| int | physicalHeight () const |
| QPixmapDataFactory * | pixmapDataFactory () const |
| QGraphicsSystem * | graphicsSystem () const |
| ClassId | classId () const |
Static Public Member Functions |
|
| static QScreen * | instance () |
Protected Member Functions |
|
| void | setPixelFormat (QImage::Format format) |
| void | setPixmapDataFactory (QPixmapDataFactory *factory) |
| void | setGraphicsSystem (QGraphicsSystem *system) |
Protected Attributes |
|
| QRgb | screenclut [256] |
| int | screencols |
| uchar * | data |
| QPoolEntry * | entries |
| int * | entryp |
| unsigned int * | lowest |
| int | w |
| int | lstep |
| int | h |
| int | d |
| PixelType | pixeltype |
| bool | grayscale |
| int | dw |
| int | dh |
| int | size |
| int | mapsize |
| int | displayId |
| int | physWidth |
| int | physHeight |
Static Protected Attributes |
|
| static ClearCacheFunc | clearCacheFunc |
Friends |
|
| class | QWSServer |
| class | QWSServerPrivate |
| class | QWSOnScreenSurface |
| class | QVNCScreen |
| class | QLinuxFbScreen |
| class | QVFbScreen |
| class | QProxyScreen |
| void | qt_solidFill_setup (QScreen *, const QColor &, const QRegion &) |
| void | qt_blit_setup (QScreen *screen, const QImage &image, const QPoint &topLeft, const QRegion ®ion) |
| enum ClassId |
| LinuxFBClass | |
| TransformedClass | |
| VNCClass | |
| MultiClass | |
| VFbClass | |
| DirectFBClass | |
| SvgalibClass | |
| ProxyClass | |
| GLClass | |
| CustomClass |
Definition at line 194 of file qscreen_qws.h.
{ LinuxFBClass, TransformedClass, VNCClass, MultiClass,
VFbClass, DirectFBClass, SvgalibClass, ProxyClass,
GLClass, CustomClass = 1024 };
| enum PixelType |
Definition at line 220 of file qscreen_qws.h.
{ NormalPixel, BGRPixel };
| QScreen | ( | int | display_id | ) | [explicit] |
| virtual ~QScreen | ( | ) | [virtual] |
| static QScreen* instance | ( | ) | [inline, static] |
| virtual bool initDevice | ( | ) | [pure virtual] |
Implemented in QLinuxFbScreen, QProxyScreen, QQnxScreen, and QVFbScreen.
| virtual bool connect | ( | const QString & | displaySpec | ) | [pure virtual] |
Implemented in QLinuxFbScreen, QProxyScreen, QQnxScreen, QTransformedScreen, and QVFbScreen.
| virtual void disconnect | ( | ) | [pure virtual] |
Implemented in QLinuxFbScreen, QProxyScreen, QQnxScreen, and QVFbScreen.
| virtual void shutdownDevice | ( | ) | [virtual] |
Reimplemented in QLinuxFbScreen, QProxyScreen, QQnxScreen, and QVFbScreen.
| virtual void setMode | ( | int | , |
| int | , | ||
| int | |||
| ) | [pure virtual] |
Implemented in QLinuxFbScreen, QProxyScreen, QQnxScreen, and QVFbScreen.
| virtual bool supportsDepth | ( | int | ) | const [virtual] |
Reimplemented in QProxyScreen, and QQnxScreen.
| virtual void save | ( | ) | [virtual] |
Reimplemented in QLinuxFbScreen, QProxyScreen, and QVFbScreen.
| virtual void restore | ( | ) | [virtual] |
Reimplemented in QLinuxFbScreen, QProxyScreen, and QVFbScreen.
| virtual void blank | ( | bool | on | ) | [virtual] |
Reimplemented in QLinuxFbScreen, QProxyScreen, and QVFbScreen.
| virtual int pixmapOffsetAlignment | ( | ) | [inline, virtual] |
| virtual int pixmapLinestepAlignment | ( | ) | [inline, virtual] |
| virtual int sharedRamSize | ( | void * | ) | [inline, virtual] |
Reimplemented in QLinuxFbScreen, and QProxyScreen.
Definition at line 215 of file qscreen_qws.h.
{ return 0; }
| virtual bool onCard | ( | const unsigned char * | ) | const [virtual] |
Reimplemented in QProxyScreen.
| virtual bool onCard | ( | const unsigned char * | , |
| ulong & | out_offset | ||
| ) | const [virtual] |
Reimplemented in QProxyScreen.
| virtual void set | ( | unsigned | int, |
| unsigned | int, | ||
| unsigned | int, | ||
| unsigned | int | ||
| ) | [virtual] |
Reimplemented in QLinuxFbScreen.
| virtual int alloc | ( | unsigned | int, |
| unsigned | int, | ||
| unsigned | int | ||
| ) | [virtual] |
| int width | ( | ) | const [inline] |
| int height | ( | ) | const [inline] |
| int depth | ( | ) | const [inline] |
| virtual int pixmapDepth | ( | ) | const [virtual] |
| PixelType pixelType | ( | ) | const [inline] |
| int linestep | ( | ) | const [inline] |
| int deviceWidth | ( | ) | const [inline] |
| int deviceHeight | ( | ) | const [inline] |
| uchar* base | ( | ) | const [inline] |
| virtual uchar* cache | ( | int | ) | [inline, virtual] |
| virtual void uncache | ( | uchar * | ) | [inline, virtual] |
| QImage::Format pixelFormat | ( | ) | const |
| int screenSize | ( | ) | const [inline] |
| int totalSize | ( | ) | const [inline] |
| QRgb* clut | ( | ) | [inline] |
| int colorCount | ( | ) | [inline] |
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
| virtual int transformOrientation | ( | ) | const [virtual] |
Reimplemented in QProxyScreen, and QTransformedScreen.
| virtual bool isTransformed | ( | ) | const [virtual] |
Reimplemented in QProxyScreen, and QTransformedScreen.
| virtual bool isInterlaced | ( | ) | const [virtual] |
Reimplemented in QProxyScreen.
| virtual void setDirty | ( | const QRect & | ) | [virtual] |
Reimplemented in QLinuxFbScreen, QProxyScreen, QTransformedScreen, and QVFbScreen.
| virtual int memoryNeeded | ( | const QString & | ) | [virtual] |
Reimplemented in QProxyScreen.
| virtual void haltUpdates | ( | ) | [virtual] |
Reimplemented in QProxyScreen.
| virtual void resumeUpdates | ( | ) | [virtual] |
Reimplemented in QProxyScreen.
| virtual void exposeRegion | ( | QRegion | r, |
| int | changing | ||
| ) | [virtual] |
Reimplemented in QProxyScreen, QQnxScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
Reimplemented in QProxyScreen, and QTransformedScreen.
| virtual QWSWindowSurface* createSurface | ( | QWidget * | widget | ) | const [virtual] |
Reimplemented in QProxyScreen.
| virtual QWSWindowSurface* createSurface | ( | const QString & | key | ) | const [virtual] |
Reimplemented in QProxyScreen.
Reimplemented in QProxyScreen.
Definition at line 283 of file qscreen_qws.h.
{ return QList<QScreen*>(); }
| virtual QRegion region | ( | ) | const [inline, virtual] |
Reimplemented in QProxyScreen, and QTransformedScreen.
Definition at line 284 of file qscreen_qws.h.
| int subScreenIndexAt | ( | const QPoint & | p | ) | const |
| void setOffset | ( | const QPoint & | p | ) |
| QPoint offset | ( | ) | const |
| int physicalWidth | ( | ) | const [inline] |
Definition at line 290 of file qscreen_qws.h.
{ return physWidth; } // physical display size in mm
| int physicalHeight | ( | ) | const [inline] |
Definition at line 291 of file qscreen_qws.h.
{ return physHeight; } // physical display size in mm
| QPixmapDataFactory* pixmapDataFactory | ( | ) | const |
| QGraphicsSystem* graphicsSystem | ( | ) | const |
| ClassId classId | ( | ) | const |
| void setPixelFormat | ( | QImage::Format | format | ) | [protected] |
| void setPixmapDataFactory | ( | QPixmapDataFactory * | factory | ) | [protected] |
| void setGraphicsSystem | ( | QGraphicsSystem * | system | ) | [protected] |
friend class QWSServer [friend] |
Definition at line 342 of file qscreen_qws.h.
friend class QWSServerPrivate
[friend] |
Definition at line 343 of file qscreen_qws.h.
friend class QWSOnScreenSurface
[friend] |
Definition at line 351 of file qscreen_qws.h.
friend class QVNCScreen
[friend] |
Definition at line 357 of file qscreen_qws.h.
friend class QLinuxFbScreen
[friend] |
Definition at line 358 of file qscreen_qws.h.
friend class QVFbScreen
[friend] |
Definition at line 359 of file qscreen_qws.h.
friend class QProxyScreen
[friend] |
Definition at line 360 of file qscreen_qws.h.
QRgb screenclut[256]
[protected] |
Definition at line 308 of file qscreen_qws.h.
int screencols
[protected] |
Definition at line 309 of file qscreen_qws.h.
uchar* data
[protected] |
Definition at line 311 of file qscreen_qws.h.
QPoolEntry* entries
[protected] |
Definition at line 320 of file qscreen_qws.h.
int* entryp
[protected] |
Definition at line 321 of file qscreen_qws.h.
unsigned int* lowest
[protected] |
Definition at line 322 of file qscreen_qws.h.
int w
[protected] |
Definition at line 324 of file qscreen_qws.h.
int lstep
[protected] |
Definition at line 325 of file qscreen_qws.h.
int h
[protected] |
Definition at line 326 of file qscreen_qws.h.
int d
[protected] |
Definition at line 327 of file qscreen_qws.h.
Definition at line 328 of file qscreen_qws.h.
bool grayscale
[protected] |
Definition at line 329 of file qscreen_qws.h.
int dw
[protected] |
Definition at line 331 of file qscreen_qws.h.
int dh
[protected] |
Definition at line 332 of file qscreen_qws.h.
int size
[protected] |
Definition at line 334 of file qscreen_qws.h.
int mapsize
[protected] |
Definition at line 335 of file qscreen_qws.h.
int displayId
[protected] |
Definition at line 337 of file qscreen_qws.h.
int physWidth
[protected] |
Definition at line 339 of file qscreen_qws.h.
int physHeight
[protected] |
Definition at line 340 of file qscreen_qws.h.
ClearCacheFunc
clearCacheFunc
[static, protected] |
Definition at line 344 of file qscreen_qws.h.