42 #include <QtGui/qpaintdevice.h> 43 #include <QtGui/qpixmap.h> 44 #include <QtGui/qwidget.h> 49 #if !defined(QT_NO_EGL) 66 screenNumber =
qApp->desktop()->screenNumber(static_cast<QWidget *>(device));
107 qWarning(
"QEgl: EGL pixmap surfaces not supported on QWS");
Q_GUI_EXPORT QScreen * qt_screen
The QProxyScreen class provides a generic interface to QScreen implementations.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
NativePixmapType EGLNativePixmapType
NativeWindowType EGLNativeWindowType
Q_GUI_EXPORT EGLNativePixmapType nativePixmap(QPixmap *)
virtual int devType() const
static QScreen * screenForDevice(QPaintDevice *device)
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_CORE_EXPORT void qWarning(const char *,...)
QImage::Format pixelFormat() const
Returns the pixel format of the screen, or QImage::Format_Invalid if the pixel format is not a suppor...
Q_GUI_EXPORT EGLNativeDisplayType nativeDisplay()
virtual QList< QScreen * > subScreens() const
The QScreen class is a base class for screen drivers in Qt for Embedded Linux.
void setPaintDeviceFormat(QPaintDevice *dev)
The QPixmap class is an off-screen image representation that can be used as a paint device...
void setPixelFormat(QImage::Format pixelFormat)
NativeDisplayType EGLNativeDisplayType
ClassId classId() const
Returns the class identifier for the screen object.
Q_GUI_EXPORT EGLNativeWindowType nativeWindow(QWidget *)