Merge lp:~alexwolf/stellarium/horizon into lp:stellarium
- horizon
- Merge into trunk
Proposed by
Alexander Wolf
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 4903 | ||||
Proposed branch: | lp:~alexwolf/stellarium/horizon | ||||
Merge into: | lp:stellarium | ||||
Diff against target: |
245 lines (+54/-7) 6 files modified
data/default_config.ini (+4/-1) src/core/modules/GridLinesMgr.cpp (+24/-6) src/core/modules/GridLinesMgr.hpp (+10/-0) src/gui/StelGui.cpp (+3/-0) src/gui/ViewDialog.cpp (+5/-0) src/gui/viewDialog.ui (+8/-0) |
||||
To merge this branch: | bzr merge lp:~alexwolf/stellarium/horizon | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
treaves | Approve | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
lp:~alexwolf/stellarium/horizon
updated
- 4902. By Alexander Wolf
-
Fixes
- 4903. By Alexander Wolf
-
Update default config.ini
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alexander Wolf (alexwolf) wrote : | # |
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
treaves (treaves) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'data/default_config.ini' | |||
2 | --- data/default_config.ini 2010-12-05 08:56:01 +0000 | |||
3 | +++ data/default_config.ini 2011-06-20 09:53:24 +0000 | |||
4 | @@ -98,10 +98,11 @@ | |||
5 | 98 | azimuthal_color = 0.3,0.2,0.1 | 98 | azimuthal_color = 0.3,0.2,0.1 |
6 | 99 | equatorial_color = 0.1,0.2,0.3 | 99 | equatorial_color = 0.1,0.2,0.3 |
7 | 100 | equatorial_J2000_color = 0.1,0.3,0.4 | 100 | equatorial_J2000_color = 0.1,0.3,0.4 |
9 | 101 | galactic_color = 0.0,0.3,0.2 | 101 | galactic_color = 0.0,0.3,0.2 |
10 | 102 | equator_color = 0.2,0.2,0.6 | 102 | equator_color = 0.2,0.2,0.6 |
11 | 103 | ecliptic_color = 0.6,0.2,0.2 | 103 | ecliptic_color = 0.6,0.2,0.2 |
12 | 104 | meridian_color = 0.2,0.6,0.2 | 104 | meridian_color = 0.2,0.6,0.2 |
13 | 105 | horizon_color = 0.2,0.6,0.2 | ||
14 | 105 | const_lines_color = 0.13,0.19,0.24 | 106 | const_lines_color = 0.13,0.19,0.24 |
15 | 106 | const_names_color = 0.31,0.38,0.46 | 107 | const_names_color = 0.31,0.38,0.46 |
16 | 107 | const_boundary_color = 0.3,0.1,0.1 | 108 | const_boundary_color = 0.3,0.1,0.1 |
17 | @@ -129,6 +130,7 @@ | |||
18 | 129 | equator_color = 0.2,0.2,0.6 | 130 | equator_color = 0.2,0.2,0.6 |
19 | 130 | ecliptic_color = 0.6,0.2,0.2 | 131 | ecliptic_color = 0.6,0.2,0.2 |
20 | 131 | meridian_color = 0.2,0.6,0.2 | 132 | meridian_color = 0.2,0.6,0.2 |
21 | 133 | horizon_color = 0.2,0.6,0.2 | ||
22 | 132 | const_lines_color = 0.5,0.1,0.1 | 134 | const_lines_color = 0.5,0.1,0.1 |
23 | 133 | const_names_color = 0.8,0.2,0.2 | 135 | const_names_color = 0.8,0.2,0.2 |
24 | 134 | const_boundary_color = 0.8,0.3,0.3 | 136 | const_boundary_color = 0.8,0.3,0.3 |
25 | @@ -190,6 +192,7 @@ | |||
26 | 190 | flag_equator_line = false | 192 | flag_equator_line = false |
27 | 191 | flag_ecliptic_line = false | 193 | flag_ecliptic_line = false |
28 | 192 | flag_meridian_line = false | 194 | flag_meridian_line = false |
29 | 195 | flag_horizon_line = false | ||
30 | 193 | flag_cardinal_points = true | 196 | flag_cardinal_points = true |
31 | 194 | flag_gravity_labels = false | 197 | flag_gravity_labels = false |
32 | 195 | flag_moon_scaled = false | 198 | flag_moon_scaled = false |
33 | 196 | 199 | ||
34 | === modified file 'src/core/modules/GridLinesMgr.cpp' | |||
35 | --- src/core/modules/GridLinesMgr.cpp 2011-05-31 13:06:03 +0000 | |||
36 | +++ src/core/modules/GridLinesMgr.cpp 2011-06-20 09:53:24 +0000 | |||
37 | @@ -70,7 +70,8 @@ | |||
38 | 70 | { | 70 | { |
39 | 71 | EQUATOR, | 71 | EQUATOR, |
40 | 72 | ECLIPTIC, | 72 | ECLIPTIC, |
42 | 73 | MERIDIAN | 73 | MERIDIAN, |
43 | 74 | HORIZON | ||
44 | 74 | }; | 75 | }; |
45 | 75 | // Create and precompute positions of a SkyGrid | 76 | // Create and precompute positions of a SkyGrid |
46 | 76 | SkyLine(SKY_LINE_TYPE _line_type = EQUATOR); | 77 | SkyLine(SKY_LINE_TYPE _line_type = EQUATOR); |
47 | @@ -524,6 +525,10 @@ | |||
48 | 524 | frameType = StelCore::FrameEquinoxEqu; | 525 | frameType = StelCore::FrameEquinoxEqu; |
49 | 525 | label = q_("Equator"); | 526 | label = q_("Equator"); |
50 | 526 | break; | 527 | break; |
51 | 528 | case HORIZON: | ||
52 | 529 | frameType = StelCore::FrameAltAz; | ||
53 | 530 | label = q_("Horizon"); | ||
54 | 531 | break; | ||
55 | 527 | } | 532 | } |
56 | 528 | } | 533 | } |
57 | 529 | 534 | ||
58 | @@ -552,18 +557,17 @@ | |||
59 | 552 | glEnable(GL_BLEND); | 557 | glEnable(GL_BLEND); |
60 | 553 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); // Normal transparency mode | 558 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); // Normal transparency mode |
61 | 554 | 559 | ||
63 | 555 | Vec4f textColor(color[0], color[1], color[2], 0); | 560 | Vec4f textColor(color[0], color[1], color[2], 0); |
64 | 556 | textColor*=2; | 561 | textColor*=2; |
65 | 557 | textColor[3]=fader.getInterstate(); | 562 | textColor[3]=fader.getInterstate(); |
66 | 558 | 563 | ||
68 | 559 | ViewportEdgeIntersectCallbackData userData(&sPainter); | 564 | ViewportEdgeIntersectCallbackData userData(&sPainter); |
69 | 560 | sPainter.setFont(font); | 565 | sPainter.setFont(font); |
71 | 561 | userData.textColor = textColor; | 566 | userData.textColor = textColor; |
72 | 562 | userData.text = label; | 567 | userData.text = label; |
73 | 563 | |||
74 | 564 | ///////////////////////////////////////////////// | 568 | ///////////////////////////////////////////////// |
75 | 565 | // Draw the line | 569 | // Draw the line |
77 | 566 | SphericalCap meridianSphericalCap(Vec3d(0,0,1), 0); | 570 | SphericalCap meridianSphericalCap(Vec3d(0,0,1), 0); |
78 | 567 | Vec3d fpt(1,0,0); | 571 | Vec3d fpt(1,0,0); |
79 | 568 | if (line_type==MERIDIAN) | 572 | if (line_type==MERIDIAN) |
80 | 569 | { | 573 | { |
81 | @@ -591,6 +595,7 @@ | |||
82 | 591 | return; | 595 | return; |
83 | 592 | } | 596 | } |
84 | 593 | 597 | ||
85 | 598 | |||
86 | 594 | Vec3d middlePoint = p1+p2; | 599 | Vec3d middlePoint = p1+p2; |
87 | 595 | middlePoint.normalize(); | 600 | middlePoint.normalize(); |
88 | 596 | if (!viewPortSphericalCap.contains(middlePoint)) | 601 | if (!viewPortSphericalCap.contains(middlePoint)) |
89 | @@ -616,6 +621,7 @@ | |||
90 | 616 | equatorLine = new SkyLine(SkyLine::EQUATOR); | 621 | equatorLine = new SkyLine(SkyLine::EQUATOR); |
91 | 617 | eclipticLine = new SkyLine(SkyLine::ECLIPTIC); | 622 | eclipticLine = new SkyLine(SkyLine::ECLIPTIC); |
92 | 618 | meridianLine = new SkyLine(SkyLine::MERIDIAN); | 623 | meridianLine = new SkyLine(SkyLine::MERIDIAN); |
93 | 624 | horizonLine = new SkyLine(SkyLine::HORIZON); | ||
94 | 619 | } | 625 | } |
95 | 620 | 626 | ||
96 | 621 | GridLinesMgr::~GridLinesMgr() | 627 | GridLinesMgr::~GridLinesMgr() |
97 | @@ -627,6 +633,7 @@ | |||
98 | 627 | delete equatorLine; | 633 | delete equatorLine; |
99 | 628 | delete eclipticLine; | 634 | delete eclipticLine; |
100 | 629 | delete meridianLine; | 635 | delete meridianLine; |
101 | 636 | delete horizonLine; | ||
102 | 630 | } | 637 | } |
103 | 631 | 638 | ||
104 | 632 | /************************************************************************* | 639 | /************************************************************************* |
105 | @@ -651,6 +658,7 @@ | |||
106 | 651 | setFlagEquatorLine(conf->value("viewing/flag_equator_line").toBool()); | 658 | setFlagEquatorLine(conf->value("viewing/flag_equator_line").toBool()); |
107 | 652 | setFlagEclipticLine(conf->value("viewing/flag_ecliptic_line").toBool()); | 659 | setFlagEclipticLine(conf->value("viewing/flag_ecliptic_line").toBool()); |
108 | 653 | setFlagMeridianLine(conf->value("viewing/flag_meridian_line").toBool()); | 660 | setFlagMeridianLine(conf->value("viewing/flag_meridian_line").toBool()); |
109 | 661 | setFlagHorizonLine(conf->value("viewing/flag_horizon_line").toBool()); | ||
110 | 654 | connect(&StelApp::getInstance(), SIGNAL(colorSchemeChanged(const QString&)), this, SLOT(setStelStyle(const QString&))); | 662 | connect(&StelApp::getInstance(), SIGNAL(colorSchemeChanged(const QString&)), this, SLOT(setStelStyle(const QString&))); |
111 | 655 | } | 663 | } |
112 | 656 | 664 | ||
113 | @@ -664,6 +672,7 @@ | |||
114 | 664 | equatorLine->update(deltaTime); | 672 | equatorLine->update(deltaTime); |
115 | 665 | eclipticLine->update(deltaTime); | 673 | eclipticLine->update(deltaTime); |
116 | 666 | meridianLine->update(deltaTime); | 674 | meridianLine->update(deltaTime); |
117 | 675 | horizonLine->update(deltaTime); | ||
118 | 667 | } | 676 | } |
119 | 668 | 677 | ||
120 | 669 | void GridLinesMgr::draw(StelCore* core) | 678 | void GridLinesMgr::draw(StelCore* core) |
121 | @@ -675,6 +684,7 @@ | |||
122 | 675 | equatorLine->draw(core); | 684 | equatorLine->draw(core); |
123 | 676 | eclipticLine->draw(core); | 685 | eclipticLine->draw(core); |
124 | 677 | meridianLine->draw(core); | 686 | meridianLine->draw(core); |
125 | 687 | horizonLine->draw(core); | ||
126 | 678 | } | 688 | } |
127 | 679 | 689 | ||
128 | 680 | void GridLinesMgr::setStelStyle(const QString& section) | 690 | void GridLinesMgr::setStelStyle(const QString& section) |
129 | @@ -690,6 +700,7 @@ | |||
130 | 690 | setColorEquatorLine(StelUtils::strToVec3f(conf->value(section+"/equator_color", defaultColor).toString())); | 700 | setColorEquatorLine(StelUtils::strToVec3f(conf->value(section+"/equator_color", defaultColor).toString())); |
131 | 691 | setColorEclipticLine(StelUtils::strToVec3f(conf->value(section+"/ecliptic_color", defaultColor).toString())); | 701 | setColorEclipticLine(StelUtils::strToVec3f(conf->value(section+"/ecliptic_color", defaultColor).toString())); |
132 | 692 | setColorMeridianLine(StelUtils::strToVec3f(conf->value(section+"/meridian_color", defaultColor).toString())); | 702 | setColorMeridianLine(StelUtils::strToVec3f(conf->value(section+"/meridian_color", defaultColor).toString())); |
133 | 703 | setColorHorizonLine(StelUtils::strToVec3f(conf->value(section+"/horizon_color", defaultColor).toString())); | ||
134 | 693 | } | 704 | } |
135 | 694 | 705 | ||
136 | 695 | //! Set flag for displaying Azimuthal Grid | 706 | //! Set flag for displaying Azimuthal Grid |
137 | @@ -735,6 +746,12 @@ | |||
138 | 735 | bool GridLinesMgr::getFlagMeridianLine(void) const {return meridianLine->getFlagshow();} | 746 | bool GridLinesMgr::getFlagMeridianLine(void) const {return meridianLine->getFlagshow();} |
139 | 736 | Vec3f GridLinesMgr::getColorMeridianLine(void) const {return meridianLine->getColor();} | 747 | Vec3f GridLinesMgr::getColorMeridianLine(void) const {return meridianLine->getColor();} |
140 | 737 | 748 | ||
141 | 749 | //! Set flag for displaying Horizon Line | ||
142 | 750 | void GridLinesMgr::setFlagHorizonLine(bool b) {horizonLine->setFlagshow(b);} | ||
143 | 751 | //! Get flag for displaying Horizon Line | ||
144 | 752 | bool GridLinesMgr::getFlagHorizonLine(void) const {return horizonLine->getFlagshow();} | ||
145 | 753 | Vec3f GridLinesMgr::getColorHorizonLine(void) const {return horizonLine->getColor();} | ||
146 | 754 | |||
147 | 738 | void GridLinesMgr::setColorAzimuthalGrid(const Vec3f& v) { aziGrid->setColor(v);} | 755 | void GridLinesMgr::setColorAzimuthalGrid(const Vec3f& v) { aziGrid->setColor(v);} |
148 | 739 | void GridLinesMgr::setColorEquatorGrid(const Vec3f& v) { equGrid->setColor(v);} | 756 | void GridLinesMgr::setColorEquatorGrid(const Vec3f& v) { equGrid->setColor(v);} |
149 | 740 | void GridLinesMgr::setColorEquatorJ2000Grid(const Vec3f& v) { equJ2000Grid->setColor(v);} | 757 | void GridLinesMgr::setColorEquatorJ2000Grid(const Vec3f& v) { equJ2000Grid->setColor(v);} |
150 | @@ -742,3 +759,4 @@ | |||
151 | 742 | void GridLinesMgr::setColorEquatorLine(const Vec3f& v) { equatorLine->setColor(v);} | 759 | void GridLinesMgr::setColorEquatorLine(const Vec3f& v) { equatorLine->setColor(v);} |
152 | 743 | void GridLinesMgr::setColorEclipticLine(const Vec3f& v) { eclipticLine->setColor(v);} | 760 | void GridLinesMgr::setColorEclipticLine(const Vec3f& v) { eclipticLine->setColor(v);} |
153 | 744 | void GridLinesMgr::setColorMeridianLine(const Vec3f& v) { meridianLine->setColor(v);} | 761 | void GridLinesMgr::setColorMeridianLine(const Vec3f& v) { meridianLine->setColor(v);} |
154 | 762 | void GridLinesMgr::setColorHorizonLine(const Vec3f& v) { horizonLine->setColor(v);} | ||
155 | 745 | 763 | ||
156 | === modified file 'src/core/modules/GridLinesMgr.hpp' | |||
157 | --- src/core/modules/GridLinesMgr.hpp 2011-01-29 18:14:28 +0000 | |||
158 | +++ src/core/modules/GridLinesMgr.hpp 2011-06-20 09:53:24 +0000 | |||
159 | @@ -127,6 +127,15 @@ | |||
160 | 127 | //! Set the color of the Meridian Line. | 127 | //! Set the color of the Meridian Line. |
161 | 128 | void setColorMeridianLine(const Vec3f& v); | 128 | void setColorMeridianLine(const Vec3f& v); |
162 | 129 | 129 | ||
163 | 130 | //! Set flag for displaying Horizon Line. | ||
164 | 131 | void setFlagHorizonLine(bool b); | ||
165 | 132 | //! Get flag for displaying Horizon Line. | ||
166 | 133 | bool getFlagHorizonLine(void) const; | ||
167 | 134 | //! Get the current color of the Horizon Line. | ||
168 | 135 | Vec3f getColorHorizonLine(void) const; | ||
169 | 136 | //! Set the color of the Horizon Line. | ||
170 | 137 | void setColorHorizonLine(const Vec3f& v); | ||
171 | 138 | |||
172 | 130 | private slots: | 139 | private slots: |
173 | 131 | //! Sets the colors of: grids and great circles, Equatorial Grid, Azimuthal Grid, | 140 | //! Sets the colors of: grids and great circles, Equatorial Grid, Azimuthal Grid, |
174 | 132 | //! Meridian Line, Equator Line and Ecliptic Line. | 141 | //! Meridian Line, Equator Line and Ecliptic Line. |
175 | @@ -140,6 +149,7 @@ | |||
176 | 140 | SkyLine * equatorLine; // Celestial Equator line | 149 | SkyLine * equatorLine; // Celestial Equator line |
177 | 141 | SkyLine * eclipticLine; // Ecliptic line | 150 | SkyLine * eclipticLine; // Ecliptic line |
178 | 142 | SkyLine * meridianLine; // Meridian line | 151 | SkyLine * meridianLine; // Meridian line |
179 | 152 | SkyLine * horizonLine; // Horizon line | ||
180 | 143 | }; | 153 | }; |
181 | 144 | 154 | ||
182 | 145 | #endif // _GRIDLINESMGR_HPP_ | 155 | #endif // _GRIDLINESMGR_HPP_ |
183 | 146 | 156 | ||
184 | === modified file 'src/gui/StelGui.cpp' | |||
185 | --- src/gui/StelGui.cpp 2011-05-31 13:06:03 +0000 | |||
186 | +++ src/gui/StelGui.cpp 2011-06-20 09:53:24 +0000 | |||
187 | @@ -108,6 +108,7 @@ | |||
188 | 108 | addGuiActions("actionShow_Ecliptic_Line", N_("Ecliptic line"), ",", group, true, false); | 108 | addGuiActions("actionShow_Ecliptic_Line", N_("Ecliptic line"), ",", group, true, false); |
189 | 109 | addGuiActions("actionShow_Equator_Line", N_("Equator line"), ".", group, true, false); | 109 | addGuiActions("actionShow_Equator_Line", N_("Equator line"), ".", group, true, false); |
190 | 110 | addGuiActions("actionShow_Meridian_Line", N_("Meridian line"), ";", group, true, false); | 110 | addGuiActions("actionShow_Meridian_Line", N_("Meridian line"), ";", group, true, false); |
191 | 111 | addGuiActions("actionShow_Horizon_Line", N_("Horizon line"), "", group, true, false); | ||
192 | 111 | addGuiActions("actionShow_Cardinal_Points", N_("Cardinal points"), "Q", group, true, false); | 112 | addGuiActions("actionShow_Cardinal_Points", N_("Cardinal points"), "Q", group, true, false); |
193 | 112 | 113 | ||
194 | 113 | addGuiActions("actionShow_Ground", N_("Ground"), "G", group, true, false); | 114 | addGuiActions("actionShow_Ground", N_("Ground"), "G", group, true, false); |
195 | @@ -205,6 +206,8 @@ | |||
196 | 205 | getGuiActions("actionShow_Equator_Line")->setChecked(gmgr->getFlagEquatorLine()); | 206 | getGuiActions("actionShow_Equator_Line")->setChecked(gmgr->getFlagEquatorLine()); |
197 | 206 | connect(getGuiActions("actionShow_Meridian_Line"), SIGNAL(toggled(bool)), gmgr, SLOT(setFlagMeridianLine(bool))); | 207 | connect(getGuiActions("actionShow_Meridian_Line"), SIGNAL(toggled(bool)), gmgr, SLOT(setFlagMeridianLine(bool))); |
198 | 207 | getGuiActions("actionShow_Meridian_Line")->setChecked(gmgr->getFlagMeridianLine()); | 208 | getGuiActions("actionShow_Meridian_Line")->setChecked(gmgr->getFlagMeridianLine()); |
199 | 209 | connect(getGuiActions("actionShow_Horizon_Line"), SIGNAL(toggled(bool)), gmgr, SLOT(setFlagHorizonLine(bool))); | ||
200 | 210 | getGuiActions("actionShow_Horizon_Line")->setChecked(gmgr->getFlagHorizonLine()); | ||
201 | 208 | connect(getGuiActions("actionShow_Equatorial_J2000_Grid"), SIGNAL(toggled(bool)), gmgr, SLOT(setFlagEquatorJ2000Grid(bool))); | 211 | connect(getGuiActions("actionShow_Equatorial_J2000_Grid"), SIGNAL(toggled(bool)), gmgr, SLOT(setFlagEquatorJ2000Grid(bool))); |
202 | 209 | getGuiActions("actionShow_Equatorial_J2000_Grid")->setChecked(gmgr->getFlagEquatorJ2000Grid()); | 212 | getGuiActions("actionShow_Equatorial_J2000_Grid")->setChecked(gmgr->getFlagEquatorJ2000Grid()); |
203 | 210 | connect(getGuiActions("actionShow_Galactic_Grid"), SIGNAL(toggled(bool)), gmgr, SLOT(setFlagGalacticGrid(bool))); | 213 | connect(getGuiActions("actionShow_Galactic_Grid"), SIGNAL(toggled(bool)), gmgr, SLOT(setFlagGalacticGrid(bool))); |
204 | 211 | 214 | ||
205 | === modified file 'src/gui/ViewDialog.cpp' | |||
206 | --- src/gui/ViewDialog.cpp 2011-06-08 14:32:05 +0000 | |||
207 | +++ src/gui/ViewDialog.cpp 2011-06-20 09:53:24 +0000 | |||
208 | @@ -237,6 +237,11 @@ | |||
209 | 237 | connect(a, SIGNAL(toggled(bool)), ui->showMeridianLineCheckBox, SLOT(setChecked(bool))); | 237 | connect(a, SIGNAL(toggled(bool)), ui->showMeridianLineCheckBox, SLOT(setChecked(bool))); |
210 | 238 | connect(ui->showMeridianLineCheckBox, SIGNAL(toggled(bool)), a, SLOT(setChecked(bool))); | 238 | connect(ui->showMeridianLineCheckBox, SIGNAL(toggled(bool)), a, SLOT(setChecked(bool))); |
211 | 239 | 239 | ||
212 | 240 | ui->showHorizonLineCheckBox->setChecked(glmgr->getFlagHorizonLine()); | ||
213 | 241 | a = gui->getGuiActions("actionShow_Horizon_Line"); | ||
214 | 242 | connect(a, SIGNAL(toggled(bool)), ui->showHorizonLineCheckBox, SLOT(setChecked(bool))); | ||
215 | 243 | connect(ui->showHorizonLineCheckBox, SIGNAL(toggled(bool)), a, SLOT(setChecked(bool))); | ||
216 | 244 | |||
217 | 240 | ui->showEquatorialGridCheckBox->setChecked(glmgr->getFlagEquatorGrid()); | 245 | ui->showEquatorialGridCheckBox->setChecked(glmgr->getFlagEquatorGrid()); |
218 | 241 | a = gui->getGuiActions("actionShow_Equatorial_Grid"); | 246 | a = gui->getGuiActions("actionShow_Equatorial_Grid"); |
219 | 242 | connect(a, SIGNAL(toggled(bool)), ui->showEquatorialGridCheckBox, SLOT(setChecked(bool))); | 247 | connect(a, SIGNAL(toggled(bool)), ui->showEquatorialGridCheckBox, SLOT(setChecked(bool))); |
220 | 243 | 248 | ||
221 | === modified file 'src/gui/viewDialog.ui' | |||
222 | --- src/gui/viewDialog.ui 2011-06-08 14:32:05 +0000 | |||
223 | +++ src/gui/viewDialog.ui 2011-06-20 09:53:24 +0000 | |||
224 | @@ -1060,6 +1060,13 @@ | |||
225 | 1060 | </widget> | 1060 | </widget> |
226 | 1061 | </item> | 1061 | </item> |
227 | 1062 | <item> | 1062 | <item> |
228 | 1063 | <widget class="QCheckBox" name="showHorizonLineCheckBox"> | ||
229 | 1064 | <property name="text"> | ||
230 | 1065 | <string>Horizon line</string> | ||
231 | 1066 | </property> | ||
232 | 1067 | </widget> | ||
233 | 1068 | </item> | ||
234 | 1069 | <item> | ||
235 | 1063 | <widget class="QCheckBox" name="showEclipticLineCheckBox"> | 1070 | <widget class="QCheckBox" name="showEclipticLineCheckBox"> |
236 | 1064 | <property name="text"> | 1071 | <property name="text"> |
237 | 1065 | <string>Ecliptic line</string> | 1072 | <string>Ecliptic line</string> |
238 | @@ -1621,6 +1628,7 @@ | |||
239 | 1621 | <tabstop>zhr144000</tabstop> | 1628 | <tabstop>zhr144000</tabstop> |
240 | 1622 | <tabstop>showEquatorLineCheckBox</tabstop> | 1629 | <tabstop>showEquatorLineCheckBox</tabstop> |
241 | 1623 | <tabstop>showMeridianLineCheckBox</tabstop> | 1630 | <tabstop>showMeridianLineCheckBox</tabstop> |
242 | 1631 | <tabstop>showHorizonLineCheckBox</tabstop> | ||
243 | 1624 | <tabstop>showEclipticLineCheckBox</tabstop> | 1632 | <tabstop>showEclipticLineCheckBox</tabstop> |
244 | 1625 | <tabstop>showCardinalPointsCheckBox</tabstop> | 1633 | <tabstop>showCardinalPointsCheckBox</tabstop> |
245 | 1626 | <tabstop>showConstellationLinesCheckBox</tabstop> | 1634 | <tabstop>showConstellationLinesCheckBox</tabstop> |
Fix bug #785574