Mercurial > hg > easaier-soundaccess
comparison widgets/RelatedMediaWidget.h @ 257:057856cf81a2
reformat the InfoWidget and integrate the related media query
author | lbajardsilogic |
---|---|
date | Wed, 18 Jun 2008 10:38:39 +0000 |
parents | 77f4ef621c54 |
children |
comparison
equal
deleted
inserted
replaced
256:6eeb195adbb4 | 257:057856cf81a2 |
---|---|
11 COPYING included with this distribution for more information. | 11 COPYING included with this distribution for more information. |
12 */ | 12 */ |
13 | 13 |
14 #ifndef _RELATED_MEDIA_WIDGET_H_ | 14 #ifndef _RELATED_MEDIA_WIDGET_H_ |
15 #define _RELATED_MEDIA_WIDGET_H_ | 15 #define _RELATED_MEDIA_WIDGET_H_ |
16 | |
17 #include <map> | |
16 | 18 |
17 #include <QWidget> | 19 #include <QWidget> |
18 #include <QPainter> | 20 #include <QPainter> |
19 #include <QGridLayout> | 21 #include <QGridLayout> |
20 | 22 |
29 RelatedMediaWidget(); | 31 RelatedMediaWidget(); |
30 virtual ~RelatedMediaWidget(); | 32 virtual ~RelatedMediaWidget(); |
31 | 33 |
32 void reset(); | 34 void reset(); |
33 | 35 |
34 void addRelatedMedia(const QString &filename); | 36 void addRelatedMedia(const QString &filename, std::map<QString, QString> relMediaList); |
35 | 37 |
38 protected slots: | |
39 void showLabel(QString); | |
40 | |
36 protected: | 41 protected: |
37 | 42 |
38 FlowLayout *m_relMediaLayout; | 43 FlowLayout *m_relMediaLayout; |
39 | 44 |
40 QWidget *m_mediaWidget; | 45 QWidget *m_mediaWidget; |