summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RELEASE_NOTES2
-rw-r--r--src/MainWindow.h1
-rw-r--r--src/MainWindow.ui8
-rw-r--r--src/mainwin.cc7
4 files changed, 16 insertions, 2 deletions
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 @@
<x>0</x>
<y>0</y>
<width>681</width>
- <height>22</height>
+ <height>25</height>
</rect>
</property>
<widget class="QMenu" name="menu_File">
@@ -219,6 +219,7 @@
<string>Help</string>
</property>
<addaction name="helpActionAbout"/>
+ <addaction name="helpActionHomepage"/>
<addaction name="helpActionManual"/>
</widget>
<addaction name="menu_File"/>
@@ -642,6 +643,11 @@
<string>Flush Caches</string>
</property>
</action>
+ <action name="helpActionHomepage">
+ <property name="text">
+ <string>OpenSCAD Homepage</string>
+ </property>
+ </action>
</widget>
<customwidgets>
<customwidget>
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"));
contact: Jan Huwald // Impressum