Changeset View
Changeset View
Standalone View
Standalone View
kstars/tools/obslistwizard.cpp
Context not available. | |||||
16 | 16 | | |||
---|---|---|---|---|---|
17 | #include "obslistwizard.h" | 17 | #include "obslistwizard.h" | ||
18 | 18 | | |||
19 | #include <QVBoxLayout> | | |||
20 | #include <QFrame> | | |||
21 | | ||||
22 | #include <QDoubleSpinBox> | | |||
23 | #include <QPushButton> | | |||
24 | #include <QDialogButtonBox> | | |||
25 | | ||||
26 | #include "kstarsdata.h" | | |||
27 | #include "geolocation.h" | 19 | #include "geolocation.h" | ||
20 | #include "kstarsdata.h" | ||||
28 | #include "dialogs/locationdialog.h" | 21 | #include "dialogs/locationdialog.h" | ||
29 | #include "skyobjects/skyobject.h" | | |||
30 | #include "skyobjects/deepskyobject.h" | | |||
31 | #include "skyobjects/starobject.h" | | |||
32 | #include "widgets/dmsbox.h" | | |||
33 | #include "widgets/magnitudespinbox.h" | | |||
34 | #include "skycomponents/constellationboundarylines.h" | 22 | #include "skycomponents/constellationboundarylines.h" | ||
35 | #include "skycomponents/skymapcomposite.h" | 23 | #include "skycomponents/skymapcomposite.h" | ||
24 | #include "skyobjects/deepskyobject.h" | ||||
36 | 25 | | |||
37 | ObsListWizardUI::ObsListWizardUI(QWidget *p) : QFrame(p) | 26 | ObsListWizardUI::ObsListWizardUI(QWidget *p) : QFrame(p) | ||
38 | { | 27 | { | ||
Context not available. | |||||
829 | //select by constellation | 818 | //select by constellation | ||
830 | if (isItemSelected(i18n("by constellation"), olw->RegionList)) | 819 | if (isItemSelected(i18n("by constellation"), olw->RegionList)) | ||
831 | { | 820 | { | ||
832 | int i=0; | | |||
833 | if (o->name() == "M 66") | | |||
834 | i=1; | | |||
835 | QString c = KStarsData::Instance()->skyComposite()->constellationBoundary()->constellationName(o); | 821 | QString c = KStarsData::Instance()->skyComposite()->constellationBoundary()->constellationName(o); | ||
822 | | ||||
836 | if (isItemSelected(c, olw->ConstellationList)) | 823 | if (isItemSelected(c, olw->ConstellationList)) | ||
837 | { | 824 | { | ||
838 | if (doBuildList) | 825 | if (doBuildList) | ||
Context not available. |