9#include "ui_obslistwizard.h"
10#include "skyobjects/skypoint.h"
20struct FilterParameters
30class ObsListWizardUI :
public QFrame,
public Ui::ObsListWizard
35 explicit ObsListWizardUI(
QWidget *p);
58 void slotNoneButton();
59 void slotDeepSkyButton();
60 void slotSolarSystemButton();
61 void slotChangeLocation();
62 void slotToggleDateWidgets();
63 void slotToggleMagWidgets();
65 void slotParseRegion();
68 void slotObjectCountDirty();
69 void slotUpdateObjectCount();
70 void slotApplyFilters() { applyFilters(
true); }
74 void applyFilters(
bool doBuildList);
77 bool applyMagnitudeAndRegionAndObservableFilter(
SkyObject *o, FilterParameters filterParameters);
78 bool applyMagnitudeFilter(
SkyObject *o, FilterParameters filterParameters);
79 bool applyRegionFilter(
SkyObject *o,
bool doBuildList);
80 bool applyObservableFilter(
SkyObject *o,
bool doBuildList);
101 ObsListWizardUI *olw {
nullptr };
102 uint ObjectCount { 0 };
103 uint StarCount { 0 };
104 uint PlanetCount { 0 };
105 uint CometCount { 0 };
106 uint AsteroidCount { 0 };
107 uint GalaxyCount { 0 };
108 uint OpenClusterCount { 0 };
109 uint GlobClusterCount { 0 };
110 uint GasNebCount { 0 };
111 uint PlanNebCount { 0 };
112 const char* sun_moon_planets_list[9] = {
113 "Sun" ,
"Moon" ,
"Mercury" ,
"Venus" ,
"Mars" ,
"Jupiter" ,
"Saturn" ,
"Uranus" ,
"Neptune" };
114 const char* ALL_OVER_THE_SKY =
"all over the sky";
115 const char* BY_CONSTELLATION =
"by constellation";
116 const char* IN_A_RECTANGULAR_REGION =
"in a rectangular region";
117 const char* IN_A_CIRCULAR_REGION =
"in a circular region";
118 const int PAGE_ID_MAIN = 0;
119 const int PAGE_ID_OBJECT_TYPE = 1;
120 const int PAGE_ID_REGION_TYPE = 2;
121 const int PAGE_ID_CONSTELLATION = 3;
122 const int PAGE_ID_RECTANGULAR = 4;
123 const int PAGE_ID_CIRCULAR = 5;
124 const int PAGE_ID_DATE = 6;
125 const int PAGE_ID_MAGNITUDE = 7;
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Wizard for constructing observing lists.
QList< SkyObject * > & obsList()
Provides all necessary information about an object in the sky: its coordinates, name(s),...
The sky coordinates of a point in the sky.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.