1 #ifndef ExoViewer_ExoViewerUI_h
2 #define ExoViewer_ExoViewerUI_h
4 #include "OpenGL_Includes.h"
8 #include "ui_exoviewer.h"
9 #include "ui_exoinfowidget.h"
10 #include "ui_coreviewinfowidget.h"
40 void setUnitCircles(
double _unitSize,
int _unit,
int _numberOfCircles);
81 Ui::ExoViewerClass ui;
94 Ui::ExoInfoWidgetClass exoInfoWidget;
95 Ui::CoreViewInfoWidgetClass coreViewInfoWidget;
98 QDateEdit* dateWidget;
101 QSlider* speedControl;
103 void createHelpDialog();
104 void createBodySelectionDialog();
105 void createNavigateToDialog();
106 void createPlanetInHZDialog();
107 void createVisibleLablesDialog();
108 void createOverviewMapDialog();
109 void setDateLabel(QString _input);
110 void initializeToolbar(QToolBar* toolbar);
111 void initializeFavourites();
112 void saveFavourites();
113 void addToFavourites(QString name);
114 void deleteFromFavourites(QString name);
115 void setAddButtonIcon(
bool selectionInFavourites);
118 void createPlanetAdder();
127 QList<QToolBar*> toolBars;
128 QVector<QString> favourites;
132 std::vector<bool> configuredLabelVisibility;
136 double configuredSpeed;
138 std::string picturePath;
139 std::string iconPath;
141 std::string menuViewIconPath;
142 std::string menuFileIconPath;
143 std::string menuSearchIconPath;
144 std::string menuFavouriteIconPath;
145 std::string menuDebugIconPath;
146 std::string menuMapIconPath;
147 std::string applyIconPath;
148 std::string helpIconPath;
149 std::string addIconPath;
150 std::string deleteIconPath;
151 std::string closeIconPath;
152 std::string coreViewIconPath;
153 std::string exoInfoIconPath;
155 std::string comparisonIconPath;
157 QToolButton* toolButtonSearch;
158 QToolButton* toolButtonFavourite;
159 QToolButton* toolButtonMap;
160 QToolButton* toolButtonCoreView;
161 QToolButton* toolButtonFile;
162 QToolButton* toolButtonDebug;
163 QToolButton* toolButtonView;
164 QToolButton* toolButtonExoInfo;
165 QToolButton* toolButtonHelp;
167 QToolButton* toolButtonComparison;
172 QString favouritesFilePath;
174 QString getString(
double _value, QString _unit);
178 bool isShowExoInfoWidget;
181 bool isComparisonView;
183 QString insertUnits(std::string s, std::string units);
184 QString convertToHabZoneFormat(
double d);
187 QComboBox* dropdownXProperties;
188 QComboBox* dropdownYProperties;
189 QLineEdit* xPropertyMin;
190 QLineEdit* xPropertyMax;
191 QLineEdit* yPropertyMin;
192 QLineEdit* yPropertyMax;
193 QLineEdit* numberOfLinesX;
194 QLineEdit* numberOfLinesY;
195 QLineEdit* planetAdder;
197 void setupComparisonUI();
Definition: BodySelectionDialog.h:14
Definition: HelpDialog.h:15
void yMaxChanged()
Definition: ExoViewerUI.cpp:1149
void addSystemOrPlanet()
Definition: ExoViewerUI.cpp:1162
void instantiateOverViewMap()
Definition: ExoViewerUI.cpp:353
void changeToLinkedBody(const QString &link)
Definition: ExoViewerUI.cpp:685
void keyPressEvent(QKeyEvent *event)
Definition: ExoViewerUI.cpp:713
void xPropertyChanged(int index)
Definition: ExoViewerUI.cpp:1068
Definition: UnitCirclesDialog.h:14
void selectMenuView(QAction *_action)
Definition: ExoViewerUI.cpp:285
Definition: PlanetsInHZDialog.h:12
void xLinesChanged()
Definition: ExoViewerUI.cpp:1084
void yMinChanged()
Definition: ExoViewerUI.cpp:1136
void xMinChanged()
Definition: ExoViewerUI.cpp:1110
void setDate()
Definition: ExoViewerUI.cpp:708
void deleteCurrentFromFavourites()
Definition: ExoViewerUI.cpp:821
Definition: NavigateToDialog.h:11
void toggleComparisonView()
Definition: ExoViewerUI.cpp:978
void acceptBodySelection()
Definition: ExoViewerUI.cpp:619
void acceptVisiblityLabel()
Definition: ExoViewerUI.cpp:667
void setBodyInfoWidget()
Definition: ExoViewerUI.cpp:383
void changeBodySatelliteList()
Definition: ExoViewerUI.cpp:692
void yLinesChanged()
Definition: ExoViewerUI.cpp:1097
void toggleMapView()
Definition: ExoViewerUI.cpp:920
void switchToSun()
Definition: ExoViewerUI.cpp:699
void instantiateNavigateToObjectDialog()
Definition: ExoViewerUI.cpp:345
void setDateStatus()
Definition: ExoViewerUI.cpp:378
void toggleCoreInfoWidget()
Definition: ExoViewerUI.cpp:867
~ExoViewerUI()
Definition: ExoViewerUI.cpp:257
void selectMenuFile(QAction *_action)
Definition: ExoViewerUI.cpp:267
void selectMenuDebug(QAction *_action)
Definition: ExoViewerUI.cpp:367
Definition: ExoViewerUI.h:23
void showCoreInfoWidget()
Definition: ExoViewerUI.cpp:876
Definition: VisibleLabelsDialog.h:18
void showHelpDialog()
Definition: ExoViewerUI.cpp:360
void keyReleaseEvent(QKeyEvent *e)
Definition: ExoViewerUI.cpp:722
void showExoInfoWidget()
Definition: ExoViewerUI.cpp:913
void yPropertyChanged(int index)
Definition: ExoViewerUI.cpp:1076
void hideExoInfoWidget()
Definition: ExoViewerUI.cpp:907
void updateSceneSpeed(int _value)
Definition: ExoViewerUI.cpp:674
Definition: SimpleQTViewer.h:13
void selectMenuFavourites(QAction *_action)
Definition: ExoViewerUI.cpp:784
void navigateToBody(std::string _n)
Definition: ExoViewerUI.cpp:757
void addCurrentToFavourites()
Definition: ExoViewerUI.cpp:809
ExoViewerUI(std::string path, ExoViewerGLWidget *_glWidget, QWidget *parent=0)
Definition: ExoViewerUI.cpp:14
void hideCoreInfoWidget()
Definition: ExoViewerUI.cpp:901
Definition: OverviewMapDialog.h:15
void selectMenuNavigation(QAction *_action)
Definition: ExoViewerUI.cpp:324
void xMaxChanged()
Definition: ExoViewerUI.cpp:1123
Definition: BodySelectionDialog.h:12
void setUnitCircles(double _unitSize, int _unit, int _numberOfCircles)
Definition: ExoViewerUI.cpp:704
void setComparisonRanges()
Definition: ExoViewerUI.cpp:1217