]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/informationpanelcontent.h
Allow dolphin to auto-play previewed media file, click on preview to play/pause video...
[dolphin.git] / src / panels / information / informationpanelcontent.h
index 4f88b597ed034ad0287ac2c05d67a626f5acd4b3..0d838b26882d30baa1d734e905adf92f87ec89f4 100644 (file)
@@ -32,6 +32,7 @@ class PhononWidget;
 class PixmapViewer;
 class PlacesItemModel;
 class QPixmap;
+class QDialogButtonBox;
 class QString;
 class QLabel;
 class QScrollArea;
@@ -75,8 +76,21 @@ public:
      */
     void refreshPreview();
 
+    /**
+     * Switch the metadatawidget into configuration mode
+     */
+    void configureShownProperties();
+
+    /*
+     * Set the auto play media mode for the file previewed
+     * Eventually starting media playback when turning it on
+     * But not stopping it when turning it off
+     */
+    void setPreviewAutoPlay(bool autoPlay);
+
 signals:
     void urlActivated( const QUrl& url );
+    void configurationFinished();
 
 public slots:
     /**
@@ -136,6 +150,8 @@ private:
     QLabel* m_nameLabel;
     Baloo::FileMetaDataWidget* m_metaDataWidget;
     QScrollArea* m_metaDataArea;
+    QLabel* m_configureLabel;
+    QDialogButtonBox* m_configureButtons;
 
     PlacesItemModel* m_placesItemModel;
 };