diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-10-19 03:31:37 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-10-19 03:31:37 (GMT) |
commit | ddbdd58d16a4e4f0fa15096736922985e458ff99 (patch) | |
tree | b3b01ef08a7f548147e00f518b2bcecd6019f8a3 /src/AboutDialog.h | |
parent | 8191c292b00af4fcfa22c7ab59db9e53e122e10c (diff) |
add OpenSCAD version to about dialog title.
improve SVG debugging output for Nef3 and Nef2 polyhedra.
Diffstat (limited to 'src/AboutDialog.h')
-rw-r--r-- | src/AboutDialog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/AboutDialog.h b/src/AboutDialog.h index 34122a0..1ae6533 100644 --- a/src/AboutDialog.h +++ b/src/AboutDialog.h @@ -3,12 +3,16 @@ #include "ui_AboutDialog.h" +#define STRINGIFY(x) #x +#define TOSTRING(x) STRINGIFY(x) + class AboutDialog : public QDialog, public Ui::AboutDialog { Q_OBJECT; public: AboutDialog(QWidget *) { setupUi(this); + this->setWindowTitle( QString("About OpenSCAD ") + QString(TOSTRING( OPENSCAD_VERSION)) ); this->aboutText->setOpenExternalLinks(true); QUrl flattr_qurl(":icons/flattr.png" ); this->aboutText->loadResource( QTextDocument::ImageResource, flattr_qurl ); |