daily pastebin goal
35%
SHARE
TWEET

Untitled

a guest May 7th, 2012 27 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef VSVIDEOWIDGET_H
  2. #define VSVIDEOWIDGET_H
  3.  
  4. #include <MWidget>
  5.  
  6. class VSAbstractVideoWidget : public QGraphicsWidget
  7. {
  8.     Q_OBJECT
  9.  
  10. signals:
  11.     void controlsEnabled();
  12.     void controlsDisabled();
  13.     void stopped();
  14.     void playing();
  15.     void paused();
  16.     void endReached();
  17.     void rendererReady();
  18.     void error(QString);
  19. };
  20.  
  21. class VSVideoWidget : public VSAbstractVideoWidget {
  22.     Q_OBJECT
  23.  
  24. public:
  25.     VSVideoWidget(QGraphicsItem *parent);
  26.     MWidget* controlsWidget();
  27.  
  28. public slots:
  29.     void resume();
  30.     void pause();
  31.     void stop();
  32.     void relativeSeek(int seconds);
  33.     void initView();
  34.     void setOutputRectOverride(bool override);
  35.     void useScaling(bool use);
  36.     void resetSeekbar();
  37.     void seek(uint seconds);
  38. };
  39.  
  40. #endif // VSVIDEOWIDGET_H
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top