diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-04 16:49:45 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-04 16:49:45 (GMT) |
commit | 4cc87c32f42dec0ef56dc1e35bd20b13dae3674b (patch) | |
tree | f002a1caec151bba773a5a8eb999e22f8804f3a0 /src/AboutDialog.h | |
parent | fddad68a73fa129f4871027c81d8e7702591d968 (diff) |
Add info to 'about' window with acknowledgements, etc.
Diffstat (limited to 'src/AboutDialog.h')
-rw-r--r-- | src/AboutDialog.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/AboutDialog.h b/src/AboutDialog.h new file mode 100644 index 0000000..529d8b4 --- /dev/null +++ b/src/AboutDialog.h @@ -0,0 +1,18 @@ +#ifndef ABOUTDIALOG_H_ +#define ABOUTDIALOG_H_ + +#include "ui_AboutDialog.h" + +class AboutDialog : public QDialog, public Ui::AboutDialog +{ + Q_OBJECT; +public: + AboutDialog(QWidget *parent) { + setupUi(this); + this->aboutText->setOpenExternalLinks(true); + QUrl flattr_qurl(":icons/flattr.png" ); + this->aboutText->loadResource( QTextDocument::ImageResource, flattr_qurl ); + } +}; + +#endif |