Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
pulsatingscience
Commits
eeabcdfd
Commit
eeabcdfd
authored
Feb 06, 2009
by
Oliver Bock
Browse files
Implemented action "Website"
parent
77175561
Changes
2
Show whitespace changes
Inline
Side-by-side
src/pulsatingscience.cpp
View file @
eeabcdfd
...
...
@@ -388,6 +388,11 @@ void PulsatingScience::on_dockAnimControl_topLevelChanged(bool topLevel) {
m_animControlFloating
=
topLevel
;
}
void
PulsatingScience
::
on_actionWebsite_activated
()
{
QDesktopServices
::
openUrl
(
QUrl
(
"http://www.aei.mpg.de"
));
}
void
PulsatingScience
::
on_actionAbout_activated
()
{
QString
content
=
"<b>%1</b><br>"
...
...
src/pulsatingscience.h
View file @
eeabcdfd
...
...
@@ -24,6 +24,8 @@
#include <QtGui/QMainWindow>
#include <QtGui/QMessageBox>
#include <QtGui/QShortcut>
#include <QDesktopServices>
#include <QUrl>
#include "ui_pulsatingscience.h"
...
...
@@ -64,6 +66,7 @@ public slots:
void
on_dockAnimControl_visibilityChanged
(
bool
visible
);
void
on_dockAnimControl_topLevelChanged
(
bool
topLevel
);
void
on_actionWebsite_activated
();
void
on_actionAbout_activated
();
void
updatePulsarSemiMajorAxisValue
(
double
value
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment