┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/informationpanelcontent.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2019-08-27 13:04:56 +0200
committerMéven Car <[email protected]>2019-09-01 16:47:22 +0200
commiteaec53a7af4e098acd957a274f059920d569e0be (patch)
tree4c83b5562baf5a9db36b1bbf3f89d63c9f2b2830 /src/panels/information/informationpanelcontent.h
parentdb717a21c512fafdf90828d71ddeb0f993413872 (diff)
Add click to play/pause feature on previews for audio/video
Test Plan: In dolphin, click on a video or audio preview in the information panel. The video or audio preview starts Reviewers: elvisangelaccio, #dolphin, ngraham Reviewed By: elvisangelaccio, #dolphin, ngraham Subscribers: alexde, anthonyfieroni, ngraham, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D22183
Diffstat (limited to 'src/panels/information/informationpanelcontent.h')
-rw-r--r--src/panels/information/informationpanelcontent.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h
index 0d838b268..8daeb95b0 100644
--- a/src/panels/information/informationpanelcontent.h
+++ b/src/panels/information/informationpanelcontent.h
@@ -139,6 +139,11 @@ private:
*/
void adjustWidgetSizes(int width);
+ /**
+ * Refreshes the image in the PixmapViewer
+ */
+ void refreshPixmapView();
+
private:
KFileItem m_item;
@@ -154,6 +159,7 @@ private:
QDialogButtonBox* m_configureButtons;
PlacesItemModel* m_placesItemModel;
+ bool m_isVideo;
};
#endif // INFORMATIONPANELCONTENT_H