Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

videowidget.h

Go to the documentation of this file.
00001 #ifndef __videowidget_h
00002 #define __videowidget_h
00003 #include <qwidget.h>
00004 
00005 #include <qpe/applnk.h>
00006 
00007 namespace XINE {
00008     class Lib;
00009 }
00010 
00011 class QVBoxLayout;
00012 class QSlider;
00013 class QLabel;
00014 class XineVideoWidget;
00015 
00016 class VideoWidget:public QWidget
00017 {
00018     Q_OBJECT
00019 public:
00020     VideoWidget( QWidget * parent=0, const char * name=0, WFlags f=0 );
00021     virtual ~VideoWidget();
00022 
00023     int playFile(const DocLnk&,XINE::Lib*);
00024     void fullScreen(bool how);
00025     void scaleUp(bool how);
00026 
00027 signals:
00028     void videoclicked();
00029 
00030 public slots:
00031     virtual void stopPlaying();
00032     virtual void updatePos(int);
00033 
00034 protected:
00035     XINE::Lib*m_xineLib;
00036     DocLnk m_current;
00037     QVBoxLayout*m_MainLayout;
00038     XineVideoWidget*m_Videodisplay;
00039     QWidget * m_holder;
00040     QSize vSize;
00041     bool m_scaleUp:1;
00042 
00043 protected slots:
00044     virtual void closeEvent(QCloseEvent*e);
00045     virtual void slot_Videoresized(const QSize&);
00046     virtual void slotStopped();
00047     virtual void slotClicked();
00048 };
00049 
00050 #endif

Generated on Sat Nov 5 16:15:43 2005 for OPIE by  doxygen 1.4.2