code from ILEoo (not sure what this actually does)
plt.setColor( QPalette::Active, QPalette::Window , Qt::black );
plt.setColor( QPalette::Inactive, QPalette::Window , Qt::black );
setPalette( plt );
+ setAttribute( Qt::WA_PaintOnScreen, true );
/* The core can ask through a callback to show the video.
* NOTE: We need to block the video output core until the window handle
void SetSizing( unsigned int, unsigned int );
protected:
+ virtual QPaintEngine *paintEngine() const
+ {
+ return NULL;
+ }
+
virtual void paintEvent(QPaintEvent *);
};