summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 9bd6889..3361cc0 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -41,6 +41,7 @@
#include <QUrl>
#include <QTimer>
#include <QMessageBox>
+#include <QDesktopServices>
//for chdir
#include <unistd.h>
@@ -203,6 +204,7 @@ MainWindow::MainWindow(const char *filename)
// Help menu
connect(this->helpActionAbout, SIGNAL(triggered()), this, SLOT(helpAbout()));
+ connect(this->helpActionManual, SIGNAL(triggered()), this, SLOT(helpManual()));
console->setReadOnly(true);
@@ -1337,3 +1339,9 @@ MainWindow::helpAbout()
QMessageBox::information(this, "About OpenSCAD", helptext);
}
+void
+MainWindow::helpManual()
+{
+ QDesktopServices::openUrl(QUrl("http://en.wikibooks.org/wiki/OpenSCAD_User_Manual"));
+}
+
contact: Jan Huwald // Impressum