Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef VSVIDEOWIDGET_H
- #define VSVIDEOWIDGET_H
- #include <MWidget>
- class VSAbstractVideoWidget : public QGraphicsWidget
- {
- Q_OBJECT
- signals:
- void controlsEnabled();
- void controlsDisabled();
- void stopped();
- void playing();
- void paused();
- void endReached();
- void rendererReady();
- void error(QString);
- };
- class VSVideoWidget : public VSAbstractVideoWidget {
- Q_OBJECT
- public:
- VSVideoWidget(QGraphicsItem *parent);
- MWidget* controlsWidget();
- public slots:
- void resume();
- void pause();
- void stop();
- void relativeSeek(int seconds);
- void initView();
- void setOutputRectOverride(bool override);
- void useScaling(bool use);
- void resetSeekbar();
- void seek(uint seconds);
- };
- #endif // VSVIDEOWIDGET_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement