pulsatingscience.h 2.36 KB
Newer Older
Oliver Bock's avatar
Oliver Bock committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/******************************************************************************
 *   Copyright (C) 2008 by Oliver Bock                                        *
 *   oliver.bock[AT]aei.mpg.de                                                *
 *                                                                            *
 *   This file is part of PulsatingScience.                                   *
 *                                                                            *
 *   PulsatingScience is free software: you can redistribute it and/or modify *
 *   it under the terms of the GNU General Public License as published        *
 *   by the Free Software Foundation, version 3 of the License.               *
 *                                                                            *
 *   PulsatingScience is distributed in the hope that it will be useful,      *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of           *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the             *
 *   GNU General Public License for more details.                             *
 *                                                                            *
 *   You should have received a copy of the GNU General Public License        *
 *   along with PulsatingScience. If not, see <http://www.gnu.org/licenses/>. *
 *                                                                            *
 ******************************************************************************/

#ifndef PULSATINGSCIENCE_H
#define PULSATINGSCIENCE_H

#include <QtGui/QMainWindow>
Oliver Bock's avatar
Oliver Bock committed
25
26
#include <QtGui/QMessageBox>

Oliver Bock's avatar
Oliver Bock committed
27
28
29
30
31
32
33
34
35
36
#include "ui_pulsatingscience.h"

class PulsatingScience : public QMainWindow
{
    Q_OBJECT

public:
    PulsatingScience(QWidget *parent = 0);
    ~PulsatingScience();

37
public slots:
Oliver Bock's avatar
Oliver Bock committed
38
39
40
41
	void on_pushRun_clicked();
	void on_pushPause_clicked();
	void on_pushStop_clicked();

Oliver Bock's avatar
Oliver Bock committed
42
	void on_sliderPulsarSpinFrequency_valueChanged(int value);
43
	void on_sliderPulsarSpinAxisInclination_valueChanged(int value);
44
	void on_sliderPulsarMagneticAxisInclination_valueChanged(int value);
Oliver Bock's avatar
Oliver Bock committed
45
46
	void on_sliderOrbitRadius_valueChanged(int value);
	void on_sliderOrbitFrequency_valueChanged(int value);
47

Oliver Bock's avatar
Oliver Bock committed
48
49
	void on_actionMenu_bar_toggled(bool checked);
	void on_actionStatus_bar_toggled(bool checked);
Oliver Bock's avatar
Oliver Bock committed
50
	void on_actionAbout_activated();
Oliver Bock's avatar
Oliver Bock committed
51

Oliver Bock's avatar
Oliver Bock committed
52
53
54
55
56
private:
    Ui::PulsatingScienceClass ui;
};

#endif // PULSATINGSCIENCE_H