diff options
author | Marius Kintel <marius@kintel.net> | 2012-08-13 19:59:01 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-08-13 19:59:01 (GMT) |
commit | 88e0cf28d7530fdc34e0f6676a90cee133bb9f2b (patch) | |
tree | 2c2c985188ba6d41b15a2747b0f23faca2b50096 /src/AboutDialog.h | |
parent | 7ef48a28ff7353d90165af43de095c806852ab43 (diff) | |
parent | 967f5a57abf1ff6641ff26cba3d2919d75b1b942 (diff) |
Merge pull request #169 from openscad/copyright_notices
Copyright notices
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 |