From 0b0aa7b9b3ba8d75e97f249750b3eb1c61d52c38 Mon Sep 17 00:00:00 2001 From: clifford Date: Sat, 20 Feb 2010 10:20:18 +0000 Subject: Clifford Wolf: Added Help -> OpenSCAD Homepage Another RELEASE_NOTES typo fix git-svn-id: http://svn.clifford.at/openscad/trunk@445 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/RELEASE_NOTES b/RELEASE_NOTES index dc92046..c05017e 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -15,7 +15,7 @@ OpenSCAD 2010.02 - Added projection(cut = true/false) statement - Added child() statement for accessing child nodes of module instances - Added mirror() statement - o Improved DXF import code (mor entities and some bugs fixed) + o Improved DXF import code (more entities and some bugs fixed) o Added feature for dumping animation as PNG files o Added a preferences dialog o Now using CGAL's delaunay tesselator diff --git a/src/MainWindow.h b/src/MainWindow.h index 44f2a87..029da46 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -141,6 +141,7 @@ public slots: void dragEnterEvent(QDragEnterEvent *event); void dropEvent(QDropEvent *event); void helpAbout(); + void helpHomepage(); void helpManual(); void quit(); void actionReloadCompile(); diff --git a/src/MainWindow.ui b/src/MainWindow.ui index 0ad200d..37d8579 100644 --- a/src/MainWindow.ui +++ b/src/MainWindow.ui @@ -118,7 +118,7 @@ 0 0 681 - 22 + 25 @@ -219,6 +219,7 @@ Help + @@ -642,6 +643,11 @@ Flush Caches + + + OpenSCAD Homepage + + diff --git a/src/mainwin.cc b/src/mainwin.cc index fc26799..296cdb5 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -288,6 +288,7 @@ MainWindow::MainWindow(const char *filename) // Help menu connect(this->helpActionAbout, SIGNAL(triggered()), this, SLOT(helpAbout())); + connect(this->helpActionHomepage, SIGNAL(triggered()), this, SLOT(helpHomepage())); connect(this->helpActionManual, SIGNAL(triggered()), this, SLOT(helpManual())); @@ -1768,6 +1769,12 @@ MainWindow::helpAbout() } void +MainWindow::helpHomepage() +{ + QDesktopServices::openUrl(QUrl("http://openscad.org/")); +} + +void MainWindow::helpManual() { QDesktopServices::openUrl(QUrl("http://en.wikibooks.org/wiki/OpenSCAD_User_Manual")); -- cgit v0.10.1