Commit eeabcdfd authored by Oliver Bock's avatar Oliver Bock
Browse files

Implemented action "Website"

parent 77175561
...@@ -388,6 +388,11 @@ void PulsatingScience::on_dockAnimControl_topLevelChanged(bool topLevel) { ...@@ -388,6 +388,11 @@ void PulsatingScience::on_dockAnimControl_topLevelChanged(bool topLevel) {
m_animControlFloating = topLevel; m_animControlFloating = topLevel;
} }
void PulsatingScience::on_actionWebsite_activated()
{
QDesktopServices::openUrl(QUrl("http://www.aei.mpg.de"));
}
void PulsatingScience::on_actionAbout_activated() void PulsatingScience::on_actionAbout_activated()
{ {
QString content = "<b>%1</b><br>" QString content = "<b>%1</b><br>"
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#include <QtGui/QMainWindow> #include <QtGui/QMainWindow>
#include <QtGui/QMessageBox> #include <QtGui/QMessageBox>
#include <QtGui/QShortcut> #include <QtGui/QShortcut>
#include <QDesktopServices>
#include <QUrl>
#include "ui_pulsatingscience.h" #include "ui_pulsatingscience.h"
...@@ -64,6 +66,7 @@ public slots: ...@@ -64,6 +66,7 @@ public slots:
void on_dockAnimControl_visibilityChanged(bool visible); void on_dockAnimControl_visibilityChanged(bool visible);
void on_dockAnimControl_topLevelChanged(bool topLevel); void on_dockAnimControl_topLevelChanged(bool topLevel);
void on_actionWebsite_activated();
void on_actionAbout_activated(); void on_actionAbout_activated();
void updatePulsarSemiMajorAxisValue(double value); void updatePulsarSemiMajorAxisValue(double value);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment