X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/546ff9a19e17c60209ab2cdc814ff9fb85a19342..681d8bb6c:/src/panels/information/informationpanelcontent.h diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h index 4f88b597e..8daeb95b0 100644 --- a/src/panels/information/informationpanelcontent.h +++ b/src/panels/information/informationpanelcontent.h @@ -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: /** @@ -125,6 +139,11 @@ private: */ void adjustWidgetSizes(int width); + /** + * Refreshes the image in the PixmapViewer + */ + void refreshPixmapView(); + private: KFileItem m_item; @@ -136,8 +155,11 @@ private: QLabel* m_nameLabel; Baloo::FileMetaDataWidget* m_metaDataWidget; QScrollArea* m_metaDataArea; + QLabel* m_configureLabel; + QDialogButtonBox* m_configureButtons; PlacesItemModel* m_placesItemModel; + bool m_isVideo; }; #endif // INFORMATIONPANELCONTENT_H