summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-12 22:19:53 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-12 22:19:53 (GMT)
commit63ea5d509ca1432d718806e01d5f6553fa993cd4 (patch)
tree1799a3d4f0fd5d0e32db61dd7040d9aaa3989535 /mainwin.cc
parent4564d9d4a2370bec2da0aca36e192c7d5da472d7 (diff)
Launch manual from Help menu
git-svn-id: http://svn.clifford.at/openscad/trunk@166 b57f626f-c46c-0410-a088-ec61d464b74c
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