QProxyScreen Class

The QProxyScreen class provides a generic interface to QScreen implementations. More...

Header: #include <QProxyScreen>
Inherits: QScreen

Public Functions

QProxyScreen(int displayId, ClassId classId = ProxyClass)
~QProxyScreen()
QScreen * screen() const
void setScreen(QScreen * screen)

Reimplemented Public Functions

virtual void blank(bool on)
virtual void blit(const QImage & image, const QPoint & topLeft, const QRegion & region)
virtual bool connect(const QString & displaySpec)
virtual QWSWindowSurface * createSurface(QWidget * widget) const
virtual QWSWindowSurface * createSurface(const QString & key) const
virtual void disconnect()
virtual void exposeRegion(QRegion r, int changing)
virtual bool initDevice()
virtual bool isInterlaced() const
virtual bool isTransformed() const
virtual QSize mapFromDevice(const QSize & s) const
virtual QPoint mapFromDevice(const QPoint & p, const QSize & s) const
virtual QRect mapFromDevice(const QRect & r, const QSize & s) const
virtual QRegion mapFromDevice(const QRegion & r, const QSize & s) const
virtual QSize mapToDevice(const QSize & s) const
virtual QPoint mapToDevice(const QPoint & p, const QSize & s) const
virtual QRect mapToDevice(const QRect & r, const QSize & s) const
virtual QRegion mapToDevice(const QRegion & r, const QSize & s) const
virtual bool onCard(const unsigned char * ptr) const
virtual bool onCard(const unsigned char * ptr, ulong & offset) const
virtual QRegion region() const
virtual void restore()
virtual void save()
virtual void setDirty(const QRect & rect)
virtual void setMode(int w, int h, int d)
virtual void shutdownDevice()
virtual void solidFill(const QColor & color, const QRegion & region)
virtual QList<QScreen *> subScreens() const
virtual bool supportsDepth(int depth) const
virtual int transformOrientation() const
  • 54 public functions inherited from QScreen

Additional Inherited Members

  • 1 static public member inherited from QScreen
  • 1 protected function inherited from QScreen
  • 15 protected variables inherited from QScreen

Detailed Description

The QProxyScreen class provides a generic interface to QScreen implementations.

Member Function Documentation

QProxyScreen::QProxyScreen(int displayId, ClassId classId = ProxyClass)

Constructs a proxy screen with the given displayId and classId.

QProxyScreen::~QProxyScreen()

Destroys the proxy screen.

[virtual] void QProxyScreen::blank(bool on)

Reimplemented from QScreen::blank().

[virtual] void QProxyScreen::blit(const QImage & image, const QPoint & topLeft, const QRegion & region)

Reimplemented from QScreen::blit().

[virtual] bool QProxyScreen::connect(const QString & displaySpec)

Reimplemented from QScreen::connect().

[virtual] QWSWindowSurface * QProxyScreen::createSurface(QWidget * widget) const

Reimplemented from QScreen::createSurface().

[virtual] QWSWindowSurface * QProxyScreen::createSurface(const QString & key) const

Reimplemented from QScreen::createSurface().

[virtual] void QProxyScreen::disconnect()

Reimplemented from QScreen::disconnect().

[virtual] void QProxyScreen::exposeRegion(QRegion r, int changing)

Reimplemented from QScreen::exposeRegion().

[virtual] bool QProxyScreen::initDevice()

Reimplemented from QScreen::initDevice().

[virtual] bool QProxyScreen::isInterlaced() const

Reimplemented from QScreen::isInterlaced().

[virtual] bool QProxyScreen::isTransformed() const

Reimplemented from QScreen::isTransformed().

[virtual] QSize QProxyScreen::mapFromDevice(const QSize & s) const

Reimplemented from QScreen::mapFromDevice().

[virtual] QPoint QProxyScreen::mapFromDevice(const QPoint & p, const QSize & s) const

Reimplemented from QScreen::mapFromDevice().

[virtual] QRect QProxyScreen::mapFromDevice(const QRect & r, const QSize & s) const

Reimplemented from QScreen::mapFromDevice().

[virtual] QRegion QProxyScreen::mapFromDevice(const QRegion & r, const QSize & s) const

Reimplemented from QScreen::mapFromDevice().

[virtual] QSize QProxyScreen::mapToDevice(const QSize & s) const

Reimplemented from QScreen::mapToDevice().

[virtual] QPoint QProxyScreen::mapToDevice(const QPoint & p, const QSize & s) const

Reimplemented from QScreen::mapToDevice().

[virtual] QRect QProxyScreen::mapToDevice(const QRect & r, const QSize & s) const

Reimplemented from QScreen::mapToDevice().

[virtual] QRegion QProxyScreen::mapToDevice(const QRegion & r, const QSize & s) const

Reimplemented from QScreen::mapToDevice().

[virtual] bool QProxyScreen::onCard(const unsigned char * ptr) const

Reimplemented from QScreen::onCard().

[virtual] bool QProxyScreen::onCard(const unsigned char * ptr, ulong & offset) const

Reimplemented from QScreen::onCard().

[virtual] QRegion QProxyScreen::region() const

Reimplemented from QScreen::region().

[virtual] void QProxyScreen::restore()

Reimplemented from QScreen::restore().

[virtual] void QProxyScreen::save()

Reimplemented from QScreen::save().

QScreen * QProxyScreen::screen() const

Returns the real screen used by the proxy screen.

See also setScreen().

[virtual] void QProxyScreen::setDirty(const QRect & rect)

Reimplemented from QScreen::setDirty().

[virtual] void QProxyScreen::setMode(int w, int h, int d)

Reimplemented from QScreen::setMode().

void QProxyScreen::setScreen(QScreen * screen)

Sets the real screen to be used by the proxy screen.

See also screen().

[virtual] void QProxyScreen::shutdownDevice()

Reimplemented from QScreen::shutdownDevice().

[virtual] void QProxyScreen::solidFill(const QColor & color, const QRegion & region)

Reimplemented from QScreen::solidFill().

[virtual] QList<QScreen *> QProxyScreen::subScreens() const

Reimplemented from QScreen::subScreens().

[virtual] bool QProxyScreen::supportsDepth(int depth) const

Reimplemented from QScreen::supportsDepth().

[virtual] int QProxyScreen::transformOrientation() const

Reimplemented from QScreen::transformOrientation().

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.