Stellarium 0.14.3
SolarSystemManagerWindow.hpp
1 /*
2  * Solar System editor plug-in for Stellarium
3  *
4  * Copyright (C) 2010 Bogdan Marinov
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  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
19  */
20 
21 #ifndef _SOLAR_SYSTEM_MANAGER_WINDOW_
22 #define _SOLAR_SYSTEM_MANAGER_WINDOW_
23 
24 #include <QObject>
25 #include "StelDialog.hpp"
26 
27 #include <QHash>
28 #include <QString>
29 
30 class SolarSystemEditor;
31 
32 class Ui_solarSystemManagerWindow;
33 class MpcImportWindow;
34 class ManualImportWindow;
35 
40 {
41  Q_OBJECT
42 public:
44  virtual ~SolarSystemManagerWindow();
45 
46 public slots:
47  void retranslate();
48 
49 protected:
50  virtual void createDialogContent();
51  Ui_solarSystemManagerWindow * ui;
52 
53 private slots:
55  void copyConfiguration();
56  void replaceConfiguration();
57 
58  void populateSolarSystemList();
59  void removeObject();
60 
61  void newImportMPC();
62 
63  void newImportManual();
64  void resetImportManual(bool);
65 
66 private:
67  MpcImportWindow* mpcImportWindow;
68  ManualImportWindow * manualImportWindow;
69 
70  SolarSystemEditor * ssoManager;
71 
72  QHash<QString,QString> unlocalizedNames;
73 
74  void updateTexts();
75 };
76 
77 #endif //_SOLAR_SYSTEM_MANAGER_WINDOW_
Window for manual entry of Solar System object properties.
A local copy of StelDialog, the base class for all the GUI windows in Stellarium, included to allow t...
Main class of the Solar System Editor plug-in.
Main window for handling Solar System objects.
Window for importing orbital elements from the Minor Planet Center.