Changeset View
Changeset View
Standalone View
Standalone View
src/panels/information/informationpanelcontent.h
Show All 26 Lines | |||||
27 | #include <QUrl> | 27 | #include <QUrl> | ||
28 | #include <QWidget> | 28 | #include <QWidget> | ||
29 | 29 | | |||
30 | class KFileItemList; | 30 | class KFileItemList; | ||
31 | class PhononWidget; | 31 | class PhononWidget; | ||
32 | class PixmapViewer; | 32 | class PixmapViewer; | ||
33 | class PlacesItemModel; | 33 | class PlacesItemModel; | ||
34 | class QPixmap; | 34 | class QPixmap; | ||
35 | class QDialogButtonBox; | ||||
35 | class QString; | 36 | class QString; | ||
36 | class QLabel; | 37 | class QLabel; | ||
37 | class QScrollArea; | 38 | class QScrollArea; | ||
38 | 39 | | |||
39 | namespace KIO { | 40 | namespace KIO { | ||
40 | class PreviewJob; | 41 | class PreviewJob; | ||
41 | } | 42 | } | ||
42 | 43 | | |||
Show All 27 Lines | 56 | public: | |||
70 | 71 | | |||
71 | KFileItemList items(); | 72 | KFileItemList items(); | ||
72 | 73 | | |||
73 | /** | 74 | /** | ||
74 | * Refreshes the preview display, hiding it if needed | 75 | * Refreshes the preview display, hiding it if needed | ||
75 | */ | 76 | */ | ||
76 | void refreshPreview(); | 77 | void refreshPreview(); | ||
77 | 78 | | |||
79 | /** | ||||
80 | * Switch the metadatawidget into configuration mode | ||||
81 | */ | ||||
82 | void configureShownProperties(); | ||||
83 | | ||||
78 | signals: | 84 | signals: | ||
79 | void urlActivated( const QUrl& url ); | 85 | void urlActivated( const QUrl& url ); | ||
80 | 86 | | |||
81 | public slots: | 87 | public slots: | ||
82 | /** | 88 | /** | ||
83 | * Is invoked after the file meta data configuration dialog has been | 89 | * Is invoked after the file meta data configuration dialog has been | ||
84 | * closed and refreshes the displayed meta data by the panel. | 90 | * closed and refreshes the displayed meta data by the panel. | ||
85 | */ | 91 | */ | ||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 134 | private: | |||
131 | QPointer<KIO::PreviewJob> m_previewJob; | 137 | QPointer<KIO::PreviewJob> m_previewJob; | ||
132 | QTimer* m_outdatedPreviewTimer; | 138 | QTimer* m_outdatedPreviewTimer; | ||
133 | 139 | | |||
134 | PixmapViewer* m_preview; | 140 | PixmapViewer* m_preview; | ||
135 | PhononWidget* m_phononWidget; | 141 | PhononWidget* m_phononWidget; | ||
136 | QLabel* m_nameLabel; | 142 | QLabel* m_nameLabel; | ||
137 | Baloo::FileMetaDataWidget* m_metaDataWidget; | 143 | Baloo::FileMetaDataWidget* m_metaDataWidget; | ||
138 | QScrollArea* m_metaDataArea; | 144 | QScrollArea* m_metaDataArea; | ||
145 | QLabel* m_configureLabel; | ||||
146 | QDialogButtonBox* m_configureButtons; | ||||
139 | 147 | | |||
140 | PlacesItemModel* m_placesItemModel; | 148 | PlacesItemModel* m_placesItemModel; | ||
141 | }; | 149 | }; | ||
142 | 150 | | |||
143 | #endif // INFORMATIONPANELCONTENT_H | 151 | #endif // INFORMATIONPANELCONTENT_H |