QProxyScreen Class Reference

QProxyScreen Class Reference

#include <qscreenproxy_qws.h>

Class Description

Definition at line 84 of file qscreenproxy_qws.h.

+ Inheritance diagram for QProxyScreen:

Public Member Functions

 QProxyScreen (int display_id, ClassId=ProxyClass)
 
 ~QProxyScreen ()
 
void setScreen (QScreen *screen)
 
QScreenscreen () const
 
QSize mapToDevice (const QSize &s) const
 
QSize mapFromDevice (const QSize &s) const
 
QPoint mapToDevice (const QPoint &, const QSize &) const
 
QPoint mapFromDevice (const QPoint &, const QSize &) const
 
QRect mapToDevice (const QRect &, const QSize &) const
 
QRect mapFromDevice (const QRect &, const QSize &) const
 
QRegion mapToDevice (const QRegion &, const QSize &) const
 
QRegion mapFromDevice (const QRegion &, const QSize &) const
 
bool connect (const QString &displaySpec)
 
bool initDevice ()
 
void shutdownDevice ()
 
void disconnect ()
 
void setMode (int width, int height, int depth)
 
bool supportsDepth (int) const
 
void save ()
 
void restore ()
 
void blank (bool on)
 
bool onCard (const unsigned char *) const
 
bool onCard (const unsigned char *, ulong &out_offset) const
 
bool isInterlaced () const
 
bool isTransformed () const
 
int transformOrientation () const
 
int memoryNeeded (const QString &)
 
int sharedRamSize (void *)
 
void haltUpdates ()
 
void resumeUpdates ()
 
void exposeRegion (QRegion r, int changing)
 
void blit (const QImage &img, const QPoint &topLeft, const QRegion &region)
 
void solidFill (const QColor &color, const QRegion &region)
 
void setDirty (const QRect &)
 
QWSWindowSurface * createSurface (QWidget *widget) const
 
QWSWindowSurface * createSurface (const QString &key) const
 
QList< QScreen * > subScreens () const
 
QRegion region () const
 
- Public Member Functions inherited from QScreen
 QScreen (int display_id, ClassId classId)
 
 QScreen (int display_id)
 
virtual ~QScreen ()
 
virtual int pixmapOffsetAlignment ()
 
virtual int pixmapLinestepAlignment ()
 
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
 
QRgbclut ()
 
int colorCount ()
 
virtual QImage mapToDevice (const QImage &) const
 
virtual QImage mapFromDevice (const QImage &) const
 
void blit (QWSWindow *bs, const QRegion &clip)
 
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
 

Additional Inherited Members

- Public Types inherited from QScreen
enum  ClassId {
  LinuxFBClass, TransformedClass, VNCClass, MultiClass,
  VFbClass, DirectFBClass, SvgalibClass, ProxyClass,
  GLClass, IntfbClass, CustomClass = 1024
}
 
enum  PixelType { NormalPixel, BGRPixel }
 
- Static Public Member Functions inherited from QScreen
static QScreeninstance ()
 
- Protected Member Functions inherited from QScreen
void setPixelFormat (QImage::Format format)
 
void setPixmapDataFactory (QPixmapDataFactory *factory)
 
void setGraphicsSystem (QGraphicsSystem *system)
 
- Protected Attributes inherited from QScreen
QRgb screenclut [256]
 
int screencols
 
uchar * data
 
QPoolEntryentries
 
intentryp
 
unsigned intlowest
 
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 inherited from QScreen
static ClearCacheFunc clearCacheFunc
 

Constructor & Destructor Documentation

QProxyScreen ( int  display_id,
ClassId  = ProxyClass 
)

Member Function Documentation

void setScreen ( QScreen screen)
QScreen* screen ( ) const
QSize mapToDevice ( const QSize s) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QSize mapFromDevice ( const QSize s) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QPoint mapToDevice ( const QPoint ,
const QSize  
) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QPoint mapFromDevice ( const QPoint ,
const QSize  
) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QRect mapToDevice ( const QRect ,
const QSize  
) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QRect mapFromDevice ( const QRect ,
const QSize  
) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QRegion mapToDevice ( const QRegion ,
const QSize  
) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QRegion mapFromDevice ( const QRegion ,
const QSize  
) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

bool connect ( const QString displaySpec)
virtual

Implements QScreen.

Reimplemented in QTransformedScreen.

bool initDevice ( )
virtual

Implements QScreen.

void shutdownDevice ( )
virtual

Reimplemented from QScreen.

void disconnect ( )
virtual

Implements QScreen.

void setMode ( int  width,
int  height,
int  depth 
)
virtual

Implements QScreen.

bool supportsDepth ( int  ) const
virtual

Reimplemented from QScreen.

void save ( )
virtual

Reimplemented from QScreen.

void restore ( )
virtual

Reimplemented from QScreen.

void blank ( bool  on)
virtual

Reimplemented from QScreen.

bool onCard ( const unsigned char *  ) const
virtual

Reimplemented from QScreen.

bool onCard ( const unsigned char *  ,
ulong &  out_offset 
) const
virtual

Reimplemented from QScreen.

bool isInterlaced ( ) const
virtual

Reimplemented from QScreen.

bool isTransformed ( ) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

int transformOrientation ( ) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

int memoryNeeded ( const QString )
virtual

Reimplemented from QScreen.

int sharedRamSize ( void )
virtual

Reimplemented from QScreen.

void haltUpdates ( )
virtual

Reimplemented from QScreen.

void resumeUpdates ( )
virtual

Reimplemented from QScreen.

void exposeRegion ( QRegion  r,
int  changing 
)
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

void blit ( const QImage img,
const QPoint topLeft,
const QRegion region 
)
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

void solidFill ( const QColor color,
const QRegion region 
)
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

void setDirty ( const QRect )
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.

QWSWindowSurface* createSurface ( QWidget widget) const
virtual

Reimplemented from QScreen.

QWSWindowSurface* createSurface ( const QString key) const
virtual

Reimplemented from QScreen.

QList<QScreen*> subScreens ( ) const
virtual

Reimplemented from QScreen.

QRegion region ( ) const
virtual

Reimplemented from QScreen.

Reimplemented in QTransformedScreen.


The documentation for this class was generated from the following file: