Graphics System
yourapp -graphicssystem raster
native Automatic
raster Pure software rasterizer
x11 Use X11 + its extensions
opengl Use OpenGL (ES) 2
53
Widget Attributes
Qt::WA_StaticContents
paint events only for the newly visible part
Qt::WA_OpaquePaintEvent
paints all its pixels when it receives a paint event
Qt::WA_NoSystemBackground
the background is not automatically repainted
54
More Widget Attributes
Qt::WA_PaintOnScreen
draw directly onto the screen
might cause flickering!!
Qt::WA_NativeWindow
this widget is native (to the window system)
Qt::WA_DontCreateNativeAncestors
the widget's ancestors are kept non-native
55