From 840e44417402bbc6048ca5e8ff3dd6be966e753f Mon Sep 17 00:00:00 2001 From: alwin Date: Sun, 10 Apr 2005 22:18:50 +0000 Subject: added opieplayer3 this moment not just more than another container around xine like opieplayer2 (and uses a lot of code direct from there) difference: first it was a testcontainer to find the bugs in player2 now it is a player looks more like kino2 (eg, no stylesheets) so it has a real resizeable video-display. early stage (saving playlists and so on doesn't work) - but it can display videos on my C860 in bigger box than this small stamp like player2 ;) --- (limited to 'noncore/multimedia/opieplayer3/audiowidget.h') diff --git a/noncore/multimedia/opieplayer3/audiowidget.h b/noncore/multimedia/opieplayer3/audiowidget.h new file mode 100644 index 0000000..07b51b6 --- a/dev/null +++ b/noncore/multimedia/opieplayer3/audiowidget.h @@ -0,0 +1,46 @@ +#ifndef _audiowidget_h +#define _audiowidget_h + +#include + +#include + +namespace XINE { + class Lib; +} + +class QVBoxLayout; +class QTextView; +class QSlider; +class QLabel; + +class AudioWidget:public QWidget +{ + Q_OBJECT +public: + AudioWidget( QWidget * parent=0, const char * name=0, WFlags f=0 ); + virtual ~AudioWidget(); + + void playFile(const DocLnk&,XINE::Lib*); + +public slots: + virtual void stopPlaying(); + virtual void updatePos(int); + +protected: + XINE::Lib*m_xineLib; + DocLnk m_current; + QVBoxLayout*m_MainLayout; + QTextView*m_InfoBox; + QSlider*m_PosSlider; + bool m_pressed; + int m_uppos; + +protected slots: + virtual void closeEvent(QCloseEvent*e); + virtual void slotNewPos(int pos); + virtual void sliderPressed(); + virtual void sliderReleased(); +}; + +#endif -- cgit v0.9.0.2