-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSkywatcher.ui
775 lines (775 loc) · 26.7 KB
/
Skywatcher.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>X2Mount</class>
<widget class="QDialog" name="X2Mount">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>464</width>
<height>681</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>464</width>
<height>681</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>464</width>
<height>681</height>
</size>
</property>
<property name="windowTitle">
<string>Setup Skywatcher</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="X2Form" name="X2Form">
<property name="minimumSize">
<size>
<width>1</width>
<height>1</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>99999</width>
<height>99999</height>
</size>
</property>
<property name="sizeIncrement">
<size>
<width>1</width>
<height>1</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="widget_5" native="true">
<property name="geometry">
<rect>
<x>13</x>
<y>512</y>
<width>24</width>
<height>24</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6"/>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>8</x>
<y>0</y>
<width>424</width>
<height>231</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>9999</width>
<height>9999</height>
</size>
</property>
<property name="title">
<string>Polar Alignment</string>
</property>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>16</x>
<y>88</y>
<width>192</width>
<height>30</height>
</rect>
</property>
<property name="toolTip">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Use the drop down list above to choose 3,6,9,12 o'clock as home location of scope. Starting from the normal Skywatcher home location, use the slew tools to move the RA axis so that the polaris bubble is in this location, and the DEC axis so that the hole in the DEC axis allows the polar scope a clear view of the sky (either due east or due west, whichever is best for your set up).</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Once the scope is in position, click the "Set Polar Alignment Home" button. This should only need to be done once, provided you can accurately set your normal home position (counterweights down, pointing due North or South depending on hemisphere).</span></p></body></html></string>
</property>
<property name="text">
<string>Set Polar Alignment Home</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>216</x>
<y>56</y>
<width>192</width>
<height>64</height>
</rect>
</property>
<property name="toolTip">
<string>Slews scope so that reticule is in the correct position for polar alignment and axis is clear.
Requires home position to have been set previously.</string>
</property>
<property name="text">
<string>Move to Alignment Position</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox">
<property name="geometry">
<rect>
<x>16</x>
<y>56</y>
<width>192</width>
<height>24</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p align="justify">Choose 3,6,9,12 o'clock as home location of scope. Use slew tools to move the RA axis so that the polaris bubble is in this location, and the DEC axis so that the hole in the DEC axis allows the polar scope a clear view of the sky (either due east or due west, whichever is best for your set up).</p></body></html></string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>16</x>
<y>24</y>
<width>216</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Polar Alignment Home Position</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>224</x>
<y>120</y>
<width>176</width>
<height>61</height>
</rect>
</property>
<property name="text">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600; color:#ff0000;">BEWARE:</span><span style=" font-size:12pt; color:#ff0000;"> May move</span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; color:#ff0000;">counterweights above </span></p>
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; color:#ff0000;">scope!</span></p></body></html></string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>48</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Status:</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>70</x>
<y>130</y>
<width>131</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p><span style=" color:#00aa00;">TextLabel</span></p></body></html></string>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider">
<property name="geometry">
<rect>
<x>220</x>
<y>190</y>
<width>181</width>
<height>22</height>
</rect>
</property>
<property name="toolTip">
<string>Controls brightness of Polar Illuminator LED</string>
</property>
<property name="maximum">
<number>255</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>141</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Polar Illuminator Brightness</string>
</property>
</widget>
<widget class="QLabel" name="label_17">
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>181</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Clock Location</string>
</property>
</widget>
</widget>
<widget class="QPushButton" name="pushButtonOK">
<property name="geometry">
<rect>
<x>250</x>
<y>630</y>
<width>80</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>OK</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCancel">
<property name="geometry">
<rect>
<x>350</x>
<y>630</y>
<width>80</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_5">
<property name="geometry">
<rect>
<x>10</x>
<y>315</y>
<width>424</width>
<height>131</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>9999</width>
<height>9999</height>
</size>
</property>
<property name="title">
<string>Slew Limits</string>
</property>
<widget class="QWidget" name="formLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>141</width>
<height>93</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="toolTip">
<string><html><head/><body><p>Sets limit of mount slewing when the OTA is east of the meridian. If negative, indicates that the mount can go slightly into the weights up position.</p><p><br/></p></body></html></string>
</property>
<property name="text">
<string>East Limit</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox">
<property name="toolTip">
<string><html><head/><body><p>Sets limit of mount slewing when the OTA is east of the meridian. If negative, indicates that the mount can go slightly into the weights up position.</p><p><br/></p></body></html></string>
</property>
<property name="minimum">
<double>-2.000000000000000</double>
</property>
<property name="maximum">
<double>2.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="toolTip">
<string><html><head/><body><p>Sets limit of mount slewing when the OTA is west of the meridian - how far can the mount track beyond the merdian. If positive, indicates that the mount can go slightly into the weights up position. The West Limit must be greater than or equal to the East Limit.</p><p><br/></p></body></html></string>
</property>
<property name="text">
<string>West Limit</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_2">
<property name="toolTip">
<string><html><head/><body><p>Sets limit of mount slewing when the OTA is west of the meridian - how far can the mount track beyond the merdian. If positive, indicates that the mount can go slightly into the weights up position. The West Limit must be greater than or equal to the East Limit.</p></body></html></string>
</property>
<property name="minimum">
<double>-2.000000000000000</double>
</property>
<property name="maximum">
<double>2.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="toolTip">
<string><html><head/><body><p>When does the mount peform a flip if asked to slew near the merdian? Usually set to be the same as the eastern limit, and must be between the eastern and western limits.</p></body></html></string>
</property>
<property name="text">
<string>Flip Hour Angle</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_3">
<property name="toolTip">
<string><html><head/><body><p>When does the mount peform a flip if asked to slew near the merdian? Usually set to be the same as the eastern limit, and must be between the eastern and western limits.</p></body></html></string>
</property>
<property name="minimum">
<double>-2.000000000000000</double>
</property>
<property name="maximum">
<double>2.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>160</x>
<y>31</y>
<width>64</width>
<height>20</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p><br/></p><p><br/></p></body></html></string>
</property>
<property name="text">
<string>Hours</string>
</property>
</widget>
<widget class="QWidget" name="formLayoutWidget_2">
<property name="geometry">
<rect>
<x>210</x>
<y>30</y>
<width>125</width>
<height>32</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_10">
<property name="toolTip">
<string><html><head/><body><p>Sets tracking limit for horizon - stops tracking when the scope is this far above the horizon and setting.<br/></p></body></html></string>
</property>
<property name="text">
<string>Horizon Limit</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_4">
<property name="toolTip">
<string><html><head/><body><p>Sets tracking limit for horizon - stops tracking when the scope is this far above the horizon and setting.<br/></p></body></html></string>
</property>
<property name="minimum">
<double>-90.000000000000000</double>
</property>
<property name="maximum">
<double>90.000000000000000</double>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>340</x>
<y>30</y>
<width>64</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p><br/></p><p><br/></p></body></html></string>
</property>
<property name="text">
<string>Degrees</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>160</x>
<y>57</y>
<width>64</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p><br/></p><p><br/></p></body></html></string>
</property>
<property name="text">
<string>Hours</string>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>160</x>
<y>83</y>
<width>64</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p><br/></p><p><br/></p></body></html></string>
</property>
<property name="text">
<string>Hours</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>210</x>
<y>70</y>
<width>201</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_6">
<property name="geometry">
<rect>
<x>232</x>
<y>237</y>
<width>200</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Post Slew Delay</string>
</property>
<widget class="QSpinBox" name="spinBox">
<property name="geometry">
<rect>
<x>20</x>
<y>32</y>
<width>80</width>
<height>22</height>
</rect>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="maximum">
<number>3600</number>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>110</x>
<y>32</y>
<width>60</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Seconds</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_7">
<property name="geometry">
<rect>
<x>8</x>
<y>237</y>
<width>191</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Guide Rate</string>
</property>
<widget class="QComboBox" name="comboBox_2">
<property name="geometry">
<rect>
<x>10</x>
<y>32</y>
<width>170</width>
<height>22</height>
</rect>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>450</y>
<width>421</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string>PPEC Training</string>
</property>
<widget class="QCheckBox" name="checkBox">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>81</width>
<height>17</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p>If PPEC data is stored in the mount, PPEC is enabled by default. It can be disabled manually here if required.</p></body></html></string>
</property>
<property name="text">
<string>Enable PPEC</string>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>101</width>
<height>23</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p>Start PPEC training. Can take up to 20 minutes depending on the mount.<span style=" color:#aa0000;"> Ensure autoguiding is turned</span> on before traing.</p></body></html></string>
</property>
<property name="text">
<string>Start PPEC Training</string>
</property>
</widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>210</x>
<y>30</y>
<width>201</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>10</x>
<y>536</y>
<width>421</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string>Synscan Wifi </string>
</property>
<widget class="QLabel" name="label_18">
<property name="geometry">
<rect>
<x>10</x>
<y>27</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>IP Address</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit">
<property name="geometry">
<rect>
<x>70</x>
<y>23</y>
<width>141</width>
<height>24</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p>Enter IP address of synscan wifi dongle</p></body></html></string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<property name="text">
<string>192.168.4.1</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_2">
<property name="geometry">
<rect>
<x>70</x>
<y>53</y>
<width>141</width>
<height>24</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p>Enter port for Synscan dongle</p></body></html></string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhDigitsOnly</set>
</property>
<property name="text">
<string>11880</string>
</property>
</widget>
<widget class="QLabel" name="label_19">
<property name="geometry">
<rect>
<x>10</x>
<y>57</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Port</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_2">
<property name="geometry">
<rect>
<x>250</x>
<y>20</y>
<width>161</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string><html><head/><body><p>Check box to connect over wifi</p></body></html></string>
</property>
<property name="text">
<string>Enable Wifi Connection</string>
</property>
</widget>
<widget class="QLabel" name="label_20">
<property name="geometry">
<rect>
<x>250</x>
<y>44</y>
<width>161</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>X2Form</class>
<extends>QFrame</extends>
<header>x2form.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>