summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/videowidget.h
authorharlekin <harlekin>2002-08-15 16:29:52 (UTC)
committer harlekin <harlekin>2002-08-15 16:29:52 (UTC)
commit320f73ae9a8ffc6daf009b3fefb9035506b0f684 (patch) (side-by-side diff)
tree52b4e54d1c73cdff58411a1da2485effb2aaa6bb /noncore/multimedia/opieplayer2/videowidget.h
parent32ce744f58463ff11afb26ef5c4c8cf3f3d03fd3 (diff)
downloadopie-320f73ae9a8ffc6daf009b3fefb9035506b0f684.zip
opie-320f73ae9a8ffc6daf009b3fefb9035506b0f684.tar.gz
opie-320f73ae9a8ffc6daf009b3fefb9035506b0f684.tar.bz2
more simular to audiowidget
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.h b/noncore/multimedia/opieplayer2/videowidget.h
index 92193a4..710ba9e 100644
--- a/noncore/multimedia/opieplayer2/videowidget.h
+++ b/noncore/multimedia/opieplayer2/videowidget.h
@@ -41,7 +41,7 @@ class QPixmap;
class QSlider;
enum VideoButtons {
- VideoStop,
+ VideoStop = 0,
VideoPlay,
// VideoPause,
VideoPrevious,
@@ -57,7 +57,7 @@ public:
VideoWidget( QWidget* parent=0, const char* name=0, WFlags f=0 );
~VideoWidget();
- bool playVideo();
+
XineVideoWidget* vidWidget();
public slots:
void updateSlider( long, long );
@@ -72,13 +72,18 @@ public slots:
void setView( char );
signals:
+ void moreClicked();
+ void lessClicked();
+ void moreReleased();
+ void lessReleased();
void sliderMoved( long );
- void videoResized ( const QSize &s );
+ void videoResized ( const QSize &s );
protected:
- QString skin;
+
void resizeEvent( QResizeEvent * );
void paintEvent( QPaintEvent *pe );
+ void showEvent( QShowEvent *se );
void mouseMoveEvent( QMouseEvent *event );
void mousePressEvent( QMouseEvent *event );
void mouseReleaseEvent( QMouseEvent *event );
@@ -94,9 +99,10 @@ private:
QBitmap *masks[7];
QPixmap *buttonPixUp[7];
QPixmap *buttonPixDown[7];
+ QString skin;
// QPixmap *pixmaps[4];
int xoff, yoff;
-
+
void paintButton( QPainter *p, int i );
void toggleButton( int );