1 /*
2  * Stellarium
3  *
4  * Copyright (C) 2016 Alexander Wolf
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335, USA.
18 */
19 
20 #ifndef GREATREDSPOTDIALOG_HPP
21 #define GREATREDSPOTDIALOG_HPP
22 
23 #include <QObject>
24 #include <QDateTime>
25 #include "StelDialog.hpp"
26 #include "SolarSystem.hpp"
27 
28 class Ui_GreatRedSpotDialogForm;
29 
30 class GreatRedSpotDialog : public StelDialog
31 {
32 	Q_OBJECT
33 
34 public:
35 	GreatRedSpotDialog();
36 	virtual ~GreatRedSpotDialog() Q_DECL_OVERRIDE;
37 
38 public slots:
39 	virtual void retranslate() Q_DECL_OVERRIDE;
40 
41 private slots:
42 	void setGrsJD(QDateTime dt);
43 	void openRecentGrsMeasurement(); //! Opens a website in the system web browser where GRS data can be found.
44 
45 protected:
46         //! Initialize the dialog widgets and connect the signals/slots.
47 	virtual void createDialogContent() Q_DECL_OVERRIDE;
48 	Ui_GreatRedSpotDialogForm *ui;
49 };
50 
51 #endif // GREATREDSPOTDIALOG_HPP
52