+
+ void setUrl(const QUrl &url);
+ QUrl url() const;
+
+ void setVideoSize(const QSize& size);
+ QSize videoSize() const;
+
+ signals:
+ /**
+ * Is emitted whenever the video-state
+ * has changed: If true is returned, a video
+ * including control-buttons will be shown.
+ * If false is returned, no video is shown
+ * and the control-buttons are available for
+ * audio only.
+ */
+ void hasVideoChanged(bool hasVideo);
+
+ protected:
+ virtual void showEvent(QShowEvent *event) Q_DECL_OVERRIDE;
+ virtual void hideEvent(QHideEvent *event) Q_DECL_OVERRIDE;