author | llornkcor <llornkcor> | 2002-08-11 02:22:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-11 02:22:34 (UTC) |
commit | c20e4302b915bcba07b468874e9795d37d2eaa03 (patch) (side-by-side diff) | |
tree | 3db1dcad48072a4b39499b47d2ca17d6c16e5259 | |
parent | 534dcf3168c64c4d0ab5b0d04697a5f73ce4594c (diff) | |
download | opie-c20e4302b915bcba07b468874e9795d37d2eaa03.zip opie-c20e4302b915bcba07b468874e9795d37d2eaa03.tar.gz opie-c20e4302b915bcba07b468874e9795d37d2eaa03.tar.bz2 |
fix background image on video
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 419c3ae..a4e6b6e 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp @@ -194,2 +194,5 @@ void VideoWidget::resizeEvent( QResizeEvent * ) { slider->setBackgroundOrigin( QWidget::ParentOrigin ); + slider->setFocusPolicy( QWidget::NoFocus ); +make slider->setBackgroundPixmap( *pixBg ); + // time.setGeometry( QRect( w - 85, h - 30, 70, 20 ) ); @@ -199,2 +202,3 @@ void VideoWidget::resizeEvent( QResizeEvent * ) { + QPixmap *pixUp = combineVImageWithBackground( *imgUp, *pixBg, p ); @@ -342,3 +346,2 @@ void VideoWidget::makeVisible() { } else { - setBackgroundPixmap( Resource::loadPixmap( backgroundPix ) ); showNormal(); |