Quark  0.1
AboutDialog.h++
Go to the documentation of this file.
1 
2 #ifndef __libquark_gui_AboutDialog_hxx
3 #define __libquark_gui_AboutDialog_hxx
4 
5 #include <QDialog>
6 #include <QPixmap>
7 #include <QScopedPointer>
8 
9 #include <quark/Quark.h++>
10 
11 namespace quark {
12 namespace gui {
13 
14 class Ui_AboutDialog;
15 
22 class LIBQUARK_API AboutDialog : public QDialog
23 {
24  Q_OBJECT;
25 
26  public:
27 
29  explicit AboutDialog(QWidget *parent = NULL);
30 
32  virtual ~AboutDialog();
33 
34  protected:
35 
37  void setLogo(const QPixmap &logo);
38 
40  void setHtml(const QString &html);
41 
42  private:
43 
44  QScopedPointer<Ui_AboutDialog> _ui;
45 };
46 
47 } // namespace gui
48 } // namespace quark
49 
50 #endif // __libquark_gui_AboutDialog_hxx
Definition: BarChartView.h++:6
#define LIBQUARK_API
Definition: Quark.h++:18
A general-purpose "about" dialog.
Definition: AboutDialog.h++:22