]> git.sur5r.net Git - minitube/blob - src/aboutview.h
Imported Upstream version 2.0
[minitube] / src / aboutview.h
1 #ifndef ABOUTVIEW_H
2 #define ABOUTVIEW_H
3
4 #include <QtGui>
5 #include "view.h"
6 #include "constants.h"
7
8 class AboutView : public QWidget, public View {
9
10     Q_OBJECT
11
12 public:
13     AboutView(QWidget *parent);
14     void appear();
15     QHash<QString, QVariant> metadata() {
16         QHash<QString, QVariant> metadata;
17         metadata.insert("title", tr("About"));
18         metadata.insert("description",
19                         tr("What you always wanted to know about %1 and never dared to ask")
20                         .arg(Constants::NAME));
21         return metadata;
22     }
23
24 protected:
25     void paintEvent(QPaintEvent *);
26
27 };
28 #endif