QTransformedScreen Class Reference

QTransformedScreen Class Reference

#include <qscreentransformed_qws.h>

Class Description

Definition at line 57 of file qscreentransformed_qws.h.

+ Inheritance diagram for QTransformedScreen:

Public Types

enum  Transformation { None, Rot90, Rot180, Rot270 }
 
- Public Types inherited from QScreen
enum  ClassId {
  LinuxFBClass, TransformedClass, VNCClass, MultiClass,
  VFbClass, DirectFBClass, SvgalibClass, ProxyClass,
  GLClass, IntfbClass, CustomClass = 1024
}
 
enum  PixelType { NormalPixel, BGRPixel }
 

Public Member Functions

 QTransformedScreen (int display_id)
 
 ~QTransformedScreen ()
 
void setTransformation (Transformation t)
 
Transformation transformation () const
 
int transformOrientation () 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 isTransformed () const
 
void exposeRegion (QRegion region, 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 &)
 
QRegion region () const
 
- Public Member Functions inherited from QProxyScreen
 QProxyScreen (int display_id, ClassId=ProxyClass)
 
 ~QProxyScreen ()
 
void setScreen (QScreen *screen)
 
QScreenscreen () const
 
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
 
int memoryNeeded (const QString &)
 
int sharedRamSize (void *)
 
void haltUpdates ()
 
void resumeUpdates ()
 
QWSWindowSurface * createSurface (QWidget *widget) const
 
QWSWindowSurface * createSurface (const QString &key) const
 
QList< QScreen * > subScreens () 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
 

Friends

class QTransformedScreenPrivate
 

Additional Inherited Members

- 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
 

Member Enumeration Documentation

Constructor & Destructor Documentation

QTransformedScreen ( int  display_id)
explicit

Member Function Documentation

void setTransformation ( Transformation  t)
Transformation transformation ( ) const
int transformOrientation ( ) const
virtual

Reimplemented from QProxyScreen.

QSize mapToDevice ( const QSize s) const
virtual

Reimplemented from QProxyScreen.

QSize mapFromDevice ( const QSize s) const
virtual

Reimplemented from QProxyScreen.

QPoint mapToDevice ( const QPoint ,
const QSize  
) const
virtual

Reimplemented from QProxyScreen.

QPoint mapFromDevice ( const QPoint ,
const QSize  
) const
virtual

Reimplemented from QProxyScreen.

QRect mapToDevice ( const QRect ,
const QSize  
) const
virtual

Reimplemented from QProxyScreen.

QRect mapFromDevice ( const QRect ,
const QSize  
) const
virtual

Reimplemented from QProxyScreen.

QRegion mapToDevice ( const QRegion ,
const QSize  
) const
virtual

Reimplemented from QProxyScreen.

QRegion mapFromDevice ( const QRegion ,
const QSize  
) const
virtual

Reimplemented from QProxyScreen.

bool connect ( const QString displaySpec)
virtual

Reimplemented from QProxyScreen.

bool isTransformed ( ) const
inlinevirtual

Reimplemented from QProxyScreen.

Definition at line 83 of file qscreentransformed_qws.h.

83 { return transformation() != None; }
Transformation transformation() const
void exposeRegion ( QRegion  region,
int  changing 
)
virtual

Reimplemented from QProxyScreen.

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

Reimplemented from QProxyScreen.

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

Reimplemented from QProxyScreen.

void setDirty ( const QRect )
virtual

Reimplemented from QProxyScreen.

QRegion region ( ) const
virtual

Reimplemented from QProxyScreen.

Friends And Related Function Documentation

friend class QTransformedScreenPrivate
friend

Definition at line 93 of file qscreentransformed_qws.h.


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