QSymbianGraphicsSystemHelper defines functions required by QtMultimediaKit in order to enable video rendering. More...
#include <QSymbianGraphicsSystemHelper>
enum | NativePaintMode { NativePaintModeDefault, NativePaintModeZeroFill, NativePaintModeWriteAlpha, NativePaintModeDisable } |
void | releaseCachedGpuResources () |
void | setIgnoreFocusChanged ( QWidget * widget, bool value ) |
void | setNativePaintMode ( QWidget * widget, NativePaintMode mode ) |
void | setNativePaintMode ( WId wid, NativePaintMode mode ) |
void | setReceiveNativePaintEvents ( QWidget * widget, bool value ) |
QSymbianGraphicsSystemHelper defines functions required by QtMultimediaKit in order to enable video rendering.
This class is not intended for use by applications.
This enum controls the way in which QWidget paints content from the Qt backing store into the corresponding native window surface.
Constant | Value | Description |
---|---|---|
QSymbianGraphicsSystemHelper::NativePaintModeDefault | 0 | Default painting behaviour. |
QSymbianGraphicsSystemHelper::NativePaintModeZeroFill | 1 | Ignore contents of backing store, and fill the window surface region with zeroes. |
QSymbianGraphicsSystemHelper::NativePaintModeWriteAlpha | 2 | By default, alpha values are only copied from the backing store into the window surface if the top-level widget has the Qt::WA_TranslucentBackground attribute. If this mode is set, alpha values are copied regardless of the value of that attribute. |
QSymbianGraphicsSystemHelper::NativePaintModeDisable | 3 | Do not paint anything into the native window surface. |
Specify whether native focus change events should be ignored by the widget.
Set the native paint mode to the specified mode.
Set the native paint mode to the specified mode.
Specify whether the widget should receive receive native paint events.
If enabled, the QWidget::beginNativePaintEvent slot is called before content from the backing store is written into the native window surface, and QWidget::endNativePaintEvent is called once writing to the native window surface is complete.
This function is intended for use by QWidget clients such as video widgets, which wish to use Direct Screen Access to write into the native window surface. Such clients should stop their DSA session on receipt of QWidget::beginNativePaintEvent, and re-start it on receipt of QWidget::endNativePaintEvent.