Qt 4.8
Public Functions | List of all members
QVGGraphicsSystem Class Reference

#include <qgraphicssystem_vg_p.h>

Inheritance diagram for QVGGraphicsSystem:
QGraphicsSystem

Public Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 64 of file qgraphicssystem_vg_p.h.

Constructors and Destructors

◆ QVGGraphicsSystem()

QVGGraphicsSystem::QVGGraphicsSystem ( )

Definition at line 53 of file qgraphicssystem_vg.cpp.

54 {
56 }
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static QString graphics_system_name

Functions

◆ createPixmapData()

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

Implements QGraphicsSystem.

Definition at line 58 of file qgraphicssystem_vg.cpp.

59 {
60 #if !defined(QVG_NO_SINGLE_CONTEXT) && !defined(QVG_NO_PIXMAP_DATA)
61  // Pixmaps can use QVGPixmapData; bitmaps must use raster.
63  return new QVGPixmapData(type);
64  else
65  return new QRasterPixmapData(type);
66 #else
67  return new QRasterPixmapData(type);
68 #endif
69 }
int type
Definition: qmetatype.cpp:239

◆ createWindowSurface()

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

Implements QGraphicsSystem.

Definition at line 71 of file qgraphicssystem_vg.cpp.

72 {
73 #if defined(Q_OS_SYMBIAN)
74  if (!QApplicationPrivate::instance()->useTranslucentEGLSurfaces) {
78  }
79 #endif
80  return new QVGWindowSurface(widget);
81 }
double d
Definition: qnumeric_p.h:62
static QApplicationPrivate * instance()
bool testAttribute(Qt::WidgetAttribute) const
Returns true if attribute attribute is set on this widget; otherwise returns false.
Definition: qwidget.h:1041
QWindowSurface * createDefaultWindowSurface_sys()
Q_GUI_EXPORT QWidgetPrivate * qt_widget_private(QWidget *widget)
Definition: qwidget.cpp:12920

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