Qt 4.8
Public Functions | Properties | List of all members
QWSGraphicsSystem Class Reference

#include <qgraphicssystem_qws_p.h>

Inheritance diagram for QWSGraphicsSystem:
QGraphicsSystem QDirectFBScreenPrivate

Public Functions

virtual QPixmapDatacreatePixmapData (QPixmapData::PixelType type) const
 
QWindowSurfacecreateWindowSurface (QWidget *widget) const
 
 QWSGraphicsSystem ()
 
 QWSGraphicsSystem (QScreen *s)
 
- Public Functions inherited from QGraphicsSystem
virtual QPixmapDatacreatePixmapData (QPixmapData *origin)
 
virtual QGraphicsSystemExplatformExtension ()
 
virtual ~QGraphicsSystem ()
 

Properties

QScreenscreen
 

Additional Inherited Members

- Static Public Functions inherited from QGraphicsSystem
static QPixmapDatacreateDefaultPixmapData (QPixmapData::PixelType type)
 

Detailed Description

Definition at line 60 of file qgraphicssystem_qws_p.h.

Constructors and Destructors

◆ QWSGraphicsSystem() [1/2]

QWSGraphicsSystem::QWSGraphicsSystem ( )
inline

Definition at line 64 of file qgraphicssystem_qws_p.h.

static QScreen * instance()
Returns a pointer to the application&#39;s QScreen instance.
Definition: qscreen_qws.h:201

◆ QWSGraphicsSystem() [2/2]

QWSGraphicsSystem::QWSGraphicsSystem ( QScreen s)
inline

Definition at line 67 of file qgraphicssystem_qws_p.h.

68  : screen(s) {}

Functions

◆ createPixmapData()

QPixmapData * QWSGraphicsSystem::createPixmapData ( QPixmapData::PixelType  type) const
virtual

Implements QGraphicsSystem.

Reimplemented in QDirectFBScreenPrivate.

Definition at line 49 of file qgraphicssystem_qws.cpp.

Referenced by QDirectFBScreenPrivate::createPixmapData().

50 {
52  return screen->pixmapDataFactory()->create(type); //### For 4.4 compatibility
53  else
54  return new QRasterPixmapData(type);
55 }
int type
Definition: qmetatype.cpp:239
virtual QPixmapData * create(QPixmapData::PixelType type)=0
QPixmapDataFactory * pixmapDataFactory() const

◆ createWindowSurface()

QWindowSurface * QWSGraphicsSystem::createWindowSurface ( QWidget widget) const
virtual

Implements QGraphicsSystem.

Definition at line 57 of file qgraphicssystem_qws.cpp.

58 {
59  return screen->createSurface(widget);
60 }
virtual QWSWindowSurface * createSurface(QWidget *widget) const
Creates and returns a new window surface for the given widget.

Properties

◆ screen

QScreen* QWSGraphicsSystem::screen
private

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