20 #ifndef _LOCATIONDIALOG_HPP_
21 #define _LOCATIONDIALOG_HPP_
24 #include "StelDialog.hpp"
26 class Ui_locationDialogForm;
45 Ui_locationDialogForm* ui;
58 void disconnectEditSignals();
59 void connectEditSignals();
68 void populatePlanetList();
74 void populateCountryList();
86 void setPositionFromMap(
double longitude,
double latitude);
89 void setPositionFromList(
const QModelIndex& index);
92 void moveToAnotherPlanet(
const QString& text);
94 void setPositionFromCoords(
int i=0);
97 void addCurrentLocationToList();
100 void deleteCurrentLocationFromList();
103 void filterSitesByCountry();
106 void resetCompleteList();
109 void ipQueryLocation(
bool state);
112 void setDefaultLocation(
bool state);
117 void updateDefaultLocationControls(
bool currentIsDefault);
120 #endif // _LOCATIONDIALOG_HPP_
Store the informations for a location on a planet.
void styleChanged()
Notify that the application style changed.
Base class for all the GUI windows in Stellarium.
virtual void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.