diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-12 22:19:53 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-12 22:19:53 (GMT) |
commit | 63ea5d509ca1432d718806e01d5f6553fa993cd4 (patch) | |
tree | 1799a3d4f0fd5d0e32db61dd7040d9aaa3989535 /mainwin.cc | |
parent | 4564d9d4a2370bec2da0aca36e192c7d5da472d7 (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.cc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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")); +} + |