Fixed file modes.
[fg:toms-fgdata.git] / Aircraft / 777-200 / Systems / autopilot-dlg.xml
1 <?xml version="1.0"?>
2 <PropertyList>
3
4     <name>autopilot-dlg</name>
5     <layout>vbox</layout>
6     <default-padding>1</default-padding>
7     <y>-40</y>
8
9
10     <group>
11         <layout>hbox</layout>
12
13         <text>
14             <halign>left</halign>
15             <label> Autopilot Control</label>
16         </text>
17
18         <button>
19             <halign>right</halign>
20             <pref-width>20</pref-width>
21             <pref-height>20</pref-height>
22             <legend>X</legend>
23             <key>Esc</key>
24             <binding>
25                 <command>dialog-close</command>
26             </binding>
27         </button>
28
29     </group>
30
31     <hrule/>
32
33     <group>
34         <layout>hbox</layout>
35
36         <text>
37             <halign>left</halign>
38             <label>[ Active ]</label>
39         </text>
40
41     <vrule/>
42
43         <text>
44             <border>1</border>
45             <label>9999999</label>
46             <halign>left</halign>
47             <property>instrumentation/afds/ap-modes/speed-mode</property>
48             <live>1</live>
49         </text>
50
51 <vrule/>
52
53         <text>
54             <border>1</border>
55             <label>9999999</label>
56             <halign>center</halign>
57             <property>instrumentation/afds/ap-modes/roll-mode</property>
58             <live>1</live>
59         </text>
60
61 <vrule/>
62
63         <text>
64             <border>1</border>
65             <label>9999999</label>
66             <halign>right</halign>
67             <property>instrumentation/afds/ap-modes/pitch-mode</property>
68             <live>1</live>
69         </text>
70
71     </group>
72
73     <hrule/>
74
75         <group><!-- Power buttons-->
76             <layout>hbox</layout>
77
78             <button>
79                 <pref-width>40</pref-width>
80                 <pref-height>35</pref-height>
81                 <one-shot>false</one-shot>
82                 <legend>AP</legend>
83                 <property>instrumentation/afds/inputs/AP</property>
84                 <binding>
85                     <command>dialog-apply</command>
86                 </binding>
87                 <live>true</live>
88             </button>
89
90             <button>
91                 <one-shot>false</one-shot>
92                 <legend>AP DISENGAGE</legend>
93                 <property>instrumentation/afds/inputs/AP-disengage</property>
94                 <binding>
95                     <command>dialog-apply</command>
96                 </binding>
97                 <live>true</live>
98             </button>
99
100             <button>
101                 <pref-width>40</pref-width>
102                 <pref-height>35</pref-height>
103                 <one-shot>false</one-shot>
104                 <legend>FD</legend>
105                 <property>instrumentation/afds/inputs/FD</property>
106                 <binding>
107                     <command>dialog-apply</command>
108                 </binding>
109                 <live>true</live>
110             </button>
111
112         </group>
113
114         <hrule/>
115
116         <group><!-- Modes toggles-->
117             <layout>hbox</layout>
118
119             <checkbox>
120                 <label>ias/mach</label>
121                 <property>instrumentation/afds/inputs/ias-mach-selected</property>
122                 <binding>
123                     <command>dialog-apply</command>
124                 </binding>
125                 <live>true</live>
126             </checkbox>
127
128             <checkbox>
129                 <label>hdg/trk</label>
130                 <property>instrumentation/afds/inputs/hdg-trk-selected</property>
131                 <binding>
132                     <command>dialog-apply</command>
133                 </binding>
134                 <live>true</live>
135             </checkbox>
136
137             <checkbox>
138                 <label>vs/fpa</label>
139                 <property>instrumentation/afds/inputs/vs-fpa-selected</property>
140                 <binding>
141                     <command>dialog-apply</command>
142                 </binding>
143                 <live>true</live>
144             </checkbox>
145
146         </group>
147
148         <group>
149             <layout>hbox</layout>
150             <hrule>
151                 <stretch>true</stretch>
152             </hrule>
153
154             <text>
155                 <halign>center</halign>
156                 <label>Lateral Modes</label>
157             </text>
158
159             <hrule>
160                 <stretch>true</stretch>
161             </hrule>
162         </group>
163
164         <group><!-- Heading Bug Hold -->
165             <layout>hbox</layout>
166
167             <button>
168                 <pref-width>50</pref-width>
169                 <pref-height>25</pref-height>
170                 <halign>left</halign>
171                 <legend>HDG</legend>
172                 <binding>
173                     <command>nasal</command>
174                     <script>b777.afds.input(0,1);</script>
175                 </binding>
176             </button>
177
178             <button>
179                 <halign>left</halign>
180                 <pref-width>35</pref-width>
181                 <pref-height>25</pref-height>
182                 <legend>&lt;&lt;</legend>
183                 <binding>
184                     <command>property-adjust</command>
185                     <property>autopilot/settings/heading-bug-deg</property>
186                     <step type="double">-10.0</step>
187                     <min>0</min>
188                     <max>360</max>
189                     <wrap>true</wrap>
190                 </binding>
191                 <binding>
192                     <command>dialog-update</command>
193                 </binding>
194             </button>
195
196             <button>
197                 <halign>left</halign>
198                 <pref-width>25</pref-width>
199                 <pref-height>25</pref-height>
200                 <legend>&lt;</legend>
201                 <binding>
202                     <command>property-adjust</command>
203                     <property>autopilot/settings/heading-bug-deg</property>
204                     <step type="double">-1.0</step>
205                     <min>0</min>
206                     <max>360</max>
207                     <wrap>true</wrap>
208                 </binding>
209                 <binding>
210                     <command>dialog-update</command>
211                 </binding>
212             </button>
213
214             <input>
215                 <halign>left</halign>
216                 <pref-width>50</pref-width>
217                 <pref-height>25</pref-height>
218                 <property>autopilot/settings/heading-bug-deg</property>
219                 <binding>
220                     <command>dialog-apply</command>
221                 </binding>
222             </input>
223
224             <button>
225                 <halign>left</halign>
226                 <pref-width>25</pref-width>
227                 <pref-height>25</pref-height>
228                 <legend>&gt;</legend>
229                 <binding>
230                     <command>property-adjust</command>
231                     <property>autopilot/settings/heading-bug-deg</property>
232                     <step type="double">1.0</step>
233                     <min>0</min>
234                     <max>360</max>
235                     <wrap>true</wrap>
236                 </binding>
237                 <binding>
238                     <command>dialog-update</command>
239                 </binding>
240             </button>
241
242             <button>
243                 <halign>left</halign>
244                 <pref-width>35</pref-width>
245                 <pref-height>25</pref-height>
246                 <legend>&gt;&gt;</legend>
247                 <binding>
248                     <command>property-adjust</command>
249                     <property>autopilot/settings/heading-bug-deg</property>
250                     <step type="double">10.0</step>
251                     <min>0</min>
252                     <max>360</max>
253                     <wrap>true</wrap>
254                 </binding>
255                 <binding>
256                     <command>dialog-update</command>
257                 </binding>
258             </button>
259
260         </group>
261
262         <group><!-- Lateral Navigation-->
263             <layout>hbox</layout>
264
265             <button>
266                 <pref-width>55</pref-width>
267                 <pref-height>25</pref-height>
268                 <halign>left</halign>
269                 <legend>LNAV</legend>
270                 <binding>
271                     <command>nasal</command>
272                     <script>b777.afds.input(0,3);</script>
273                 </binding>
274             </button>
275
276             <!--checkbox>
277                 <label>FMS</label>
278                 <property>autopilot/route-manager/active</property>
279                 <live>true</live>
280                 <binding>
281                     <command>dialog-apply</command>
282                 </binding>
283             </checkbox-->
284
285         </group>
286
287         <group><!-- Localizer Arm-->
288             <layout>hbox</layout>
289
290             <button>
291                 <pref-width>55</pref-width>
292                 <pref-height>25</pref-height>
293                 <halign>left</halign>
294                 <legend>LOC</legend>
295                 <binding>
296                     <command>nasal</command>
297                     <script>b777.afds.input(0,4);</script>
298                 </binding>
299             </button>
300
301             <checkbox>
302                 <label>BC</label>
303                 <property>instrumentation/nav/back-course-btn</property>
304                 <live>true</live>
305                 <binding>
306                     <command>dialog-apply</command>
307                 </binding>
308             </checkbox>
309
310             </group>
311
312         <group><!-- Radials-->
313             <layout>hbox</layout>
314
315             <input>
316                 <halign>left</halign>
317                 <label>nav1 crs</label>
318                 <pref-width>50</pref-width>
319                 <pref-height>20</pref-height>
320                 <property>instrumentation/nav/radials/selected-deg</property>
321                 <format>%03.0f</format>
322                 <binding>
323                     <command>dialog-apply</command>
324                 </binding>
325                 <binding>
326                     <command>dialog-update</command>
327                 </binding>
328             </input>
329
330             <input>
331                 <halign>left</halign>
332                 <label>nav2 crs</label>
333                 <pref-width>50</pref-width>
334                 <pref-height>20</pref-height>
335                 <property>instrumentation/nav[1]/radials/selected-deg</property>
336                 <format>%03.0f</format>
337                 <binding>
338                     <command>dialog-apply</command>
339                 </binding>
340                 <binding>
341                     <command>dialog-update</command>
342                 </binding>
343             </input>
344
345             </group>
346
347         <group>
348             <layout>hbox</layout>
349             <hrule>
350                 <stretch>true</stretch>
351             </hrule>
352
353             <text>
354                 <halign>center</halign>
355                 <label>Vertical Modes</label>
356             </text>
357
358             <hrule>
359                 <stretch>true</stretch>
360             </hrule>
361         </group>
362
363         <group><!-- ALT -->
364             <layout>hbox</layout>
365
366             <button>
367                 <pref-width>45</pref-width>
368                 <pref-height>25</pref-height>
369                 <halign>left</halign>
370                 <legend>ALT</legend>
371                 <binding>
372                     <command>nasal</command>
373                     <script>b777.afds.input(1,1);</script>
374                 </binding>
375             </button>
376
377             <button>
378                 <halign>left</halign>
379                 <pref-width>35</pref-width>
380                 <pref-height>25</pref-height>
381                 <legend>&lt;&lt;</legend>
382                 <binding>
383                     <command>property-adjust</command>
384                     <property>autopilot/settings/counter-set-altitude-ft</property>
385                     <step type="double">-1000.0</step>
386                     <min>0</min>
387                     <max>50000</max>
388                     <wrap>false</wrap>
389                 </binding>
390                 <binding>
391                     <command>dialog-update</command>
392                 </binding>
393             </button>
394
395             <button>
396                 <halign>left</halign>
397                 <pref-width>25</pref-width>
398                 <pref-height>25</pref-height>
399                 <legend>&lt;</legend>
400                 <binding>
401                     <command>property-adjust</command>
402                     <property>autopilot/settings/counter-set-altitude-ft</property>
403                     <step type="double">-100.0</step>
404                     <min>0</min>
405                     <max>50000</max>
406                     <wrap>false</wrap>
407                 </binding>
408                 <binding>
409                     <command>dialog-update</command>
410                 </binding>
411             </button>
412
413             <input>
414                 <pref-width>70</pref-width>
415                 <pref-height>25</pref-height>
416                 <name>altset</name>
417                 <property>autopilot/settings/counter-set-altitude-ft</property>
418                 <binding>
419                     <command>dialog-apply</command>
420                 </binding>
421             </input>
422
423             <button>
424                 <halign>left</halign>
425                 <pref-width>25</pref-width>
426                 <pref-height>25</pref-height>
427                 <legend>&gt;</legend>
428                 <binding>
429                     <command>property-adjust</command>
430                     <property>autopilot/settings/counter-set-altitude-ft</property>
431                     <step type="double">100.0</step>
432                     <min>0</min>
433                     <max>50000</max>
434                     <wrap>false</wrap>
435                 </binding>
436                 <binding>
437                     <command>dialog-update</command>
438                 </binding>
439             </button>
440
441             <button>
442                 <halign>left</halign>
443                 <pref-width>35</pref-width>
444                 <pref-height>25</pref-height>
445                 <legend>&gt;&gt;</legend>
446                 <binding>
447                     <command>property-adjust</command>
448                     <property>autopilot/settings/counter-set-altitude-ft</property>
449                     <step type="double">1000.0</step>
450                     <min>0</min>
451                     <max>50000</max>
452                     <wrap>false</wrap>
453                 </binding>
454                 <binding>
455                     <command>dialog-update</command>
456                 </binding>
457             </button>
458
459         </group>
460
461         <group><!-- VS -->
462             <layout>hbox</layout>
463
464             <button>
465                 <pref-width>45</pref-width>
466                  <pref-height>25</pref-height>
467                  <halign>left</halign>
468                 <legend>V/S</legend>
469                 <binding>
470                     <command>nasal</command>
471                     <script>b777.afds.input(1,2);</script>
472                 </binding>
473             </button>
474
475             <button>
476                 <halign>left</halign>
477                 <pref-width>35</pref-width>
478                  <pref-height>25</pref-height>
479                  <legend>&lt;&lt;</legend>
480                 <binding>
481                     <command>property-adjust</command>
482                     <property>autopilot/settings/vertical-speed-fpm</property>
483                     <step type="double">-1000.0</step>
484                     <min>-8000</min>
485                     <max>6000</max>
486                     <wrap>false</wrap>
487                 </binding>
488                 <binding>
489                     <command>dialog-update</command>
490                 </binding>
491             </button>
492
493             <button>
494                 <halign>left</halign>
495                 <pref-width>25</pref-width>
496                  <pref-height>25</pref-height>
497                  <legend>&lt;</legend>
498                 <binding>
499                     <command>property-adjust</command>
500                     <property>autopilot/settings/vertical-speed-fpm</property>
501                     <step type="double">-100.0</step>
502                     <min>-8000</min>
503                     <max>6000</max>
504                     <wrap>false</wrap>
505                 </binding>
506                 <binding>
507                     <command>dialog-update</command>
508                 </binding>
509             </button>
510
511             <input>
512                 <pref-width>70</pref-width>
513                  <pref-height>25</pref-height>
514                  <name>vs-set</name>
515                 <property>autopilot/settings/vertical-speed-fpm</property>
516                 <binding>
517                     <command>dialog-apply</command>
518                 </binding>
519             </input>
520
521             <button>
522                 <halign>left</halign>
523                 <pref-width>25</pref-width>
524                  <pref-height>25</pref-height>
525                  <legend>&gt;</legend>
526                 <binding>
527                     <command>property-adjust</command>
528                     <property>autopilot/settings/vertical-speed-fpm</property>
529                     <step type="double">100.0</step>
530                     <min>-8000</min>
531                     <max>6000</max>
532                     <wrap>false</wrap>
533                 </binding>
534                 <binding>
535                     <command>dialog-update</command>
536                 </binding>
537             </button>
538
539             <button>
540                 <halign>left</halign>
541                 <pref-width>35</pref-width>
542                  <pref-height>25</pref-height>
543                  <legend>&gt;&gt;</legend>
544                 <binding>
545                     <command>property-adjust</command>
546                     <property>autopilot/settings/vertical-speed-fpm</property>
547                     <step type="double">1000.0</step>
548                     <min>-8000</min>
549                     <max>6000</max>
550                     <wrap>false</wrap>
551                 </binding>
552                 <binding>
553                     <command>dialog-update</command>
554                 </binding>
555             </button>
556
557         </group>
558
559         <group>
560             <layout>hbox</layout>
561
562             <button>
563                 <pref-width>45</pref-width>
564                  <pref-height>25</pref-height>
565                  <halign>left</halign>
566                 <legend>APP</legend>
567                 <binding>
568                     <command>property-toggle</command>
569                     <property>instrumentation/afds/inputs/gs-armed</property>
570                 </binding>
571                 <binding>
572                     <command>property-toggle</command>
573                     <property>instrumentation/afds/inputs/loc-armed</property>
574                 </binding>
575             </button>
576
577             <checkbox>
578                 <label>LOC armed</label>
579                 <property>instrumentation/afds/inputs/loc-armed</property>
580                 <live>true</live>
581             </checkbox>
582
583             <checkbox>
584                 <label>GS armed</label>
585                 <property>instrumentation/afds/inputs/gs-armed</property>
586                 <live>true</live>
587             </checkbox>
588
589         </group>
590
591         <group>
592             <layout>hbox</layout>
593             <hrule>
594                 <stretch>true</stretch>
595             </hrule>
596
597             <text>
598                 <halign>center</halign>
599                 <label>Speed Modes</label>
600             </text>
601
602             <hrule>
603                 <stretch>true</stretch>
604             </hrule>
605         </group>
606
607     <layout>vbox</layout>
608         <padding>4</padding>
609         <group>
610             <layout>hbox</layout>
611             <checkbox>
612                 <label>LH throttle arm</label>
613                 <property>instrumentation/afds/inputs/at-armed</property>
614                 <binding>
615                     <command>dialog-apply</command>
616                 </binding>
617                 <live>true</live>
618             </checkbox>
619
620             <checkbox>
621                 <label>RH throttle arm</label>
622                 <property>instrumentation/afds/inputs/at-armed[1]</property>
623                 <binding>
624                     <command>dialog-apply</command>
625                 </binding>
626                 <live>true</live>
627             </checkbox>
628
629         </group>
630
631         <group><!-- Auto Throttle-->
632             <layout>hbox</layout>
633
634             <button>
635                 <pref-width>40</pref-width>
636                  <pref-height>25</pref-height>
637                 <legend>A/T</legend>
638                 <binding>
639                     <command>nasal</command>
640                     <script>b777.afds.input(2,5);</script>
641                 </binding>
642             </button>
643
644             <button>
645                 <pref-width>35</pref-width>
646                  <pref-height>25</pref-height>
647                  <legend>&lt;&lt;</legend>
648                 <binding>
649                     <command>property-adjust</command>
650                     <property>autopilot/settings/target-speed-kt</property>
651                     <step type="double">-10.0</step>
652                     <min>100</min>
653                     <max>399</max>
654                     <wrap>false</wrap>
655                 </binding>
656                 <binding>
657                     <command>dialog-update</command>
658                 </binding>
659             </button>
660
661             <button>
662                 <pref-width>25</pref-width>
663                  <pref-height>25</pref-height>
664                  <legend>&lt;</legend>
665                 <binding>
666                     <command>property-adjust</command>
667                     <property>autopilot/settings/target-speed-kt</property>
668                     <step type="double">-1.0</step>
669                     <min>100</min>
670                     <max>399</max>
671                     <wrap>false</wrap>
672                 </binding>
673                 <binding>
674                     <command>dialog-update</command>
675                 </binding>
676             </button>
677
678             <input>
679                 <pref-width>50</pref-width>
680                 <property>autopilot/settings/target-speed-kt</property>
681                 <binding>
682                     <command>dialog-apply</command>
683                 </binding>
684             </input>
685
686             <button>
687                 <pref-width>25</pref-width>
688                  <pref-height>25</pref-height>
689                  <legend>&gt;</legend>
690                 <binding>
691                     <command>property-adjust</command>
692                     <property>autopilot/settings/target-speed-kt</property>
693                     <step type="double">1.0</step>
694                     <min>100</min>
695                     <max>399</max>
696                     <wrap>false</wrap>
697                 </binding>
698                 <binding>
699                     <command>dialog-update</command>
700                 </binding>
701             </button>
702
703             <button>
704                 <pref-width>35</pref-width>
705                  <pref-height>25</pref-height>
706                  <legend>&gt;&gt;</legend>
707                 <binding>
708                     <command>property-adjust</command>
709                     <property>autopilot/settings/target-speed-kt</property>
710                     <step type="double">10.0</step>
711                     <min>100</min>
712                     <max>399</max>
713                     <wrap>false</wrap>
714                 </binding>
715                 <binding>
716                     <command>dialog-update</command>
717                 </binding>
718             </button>
719
720         </group>
721
722         <group>
723             <layout>hbox</layout>
724
725             <text>
726                 <label>Mach</label>
727             </text>
728
729             <button>
730                 <pref-width>35</pref-width>
731                  <pref-height>25</pref-height>
732                  <legend>&lt;&lt;</legend>
733                 <binding>
734                     <command>property-adjust</command>
735                     <property>autopilot/settings/target-speed-mach</property>
736                     <step type="double">-0.05</step>
737                     <min>0.40</min>
738                     <max>0.95</max>
739                     <wrap>false</wrap>
740                 </binding>
741                 <binding>
742                     <command>dialog-update</command>
743                 </binding>
744             </button>
745
746             <button>
747                 <pref-width>25</pref-width>
748                  <pref-height>25</pref-height>
749                  <legend>&lt;</legend>
750                 <binding>
751                     <command>property-adjust</command>
752                     <property>autopilot/settings/target-speed-mach</property>
753                     <step type="double">-0.01</step>
754                     <min>0.40</min>
755                     <max>0.95</max>
756                     <wrap>false</wrap>
757                 </binding>
758                 <binding>
759                     <command>dialog-update</command>
760                 </binding>
761             </button>
762
763             <input>
764                  <pref-width>55</pref-width>
765                <property>autopilot/settings/target-speed-mach</property>
766                 <binding>
767                     <command>dialog-apply</command>
768                 </binding>
769             </input>
770
771             <button>
772                 <pref-width>25</pref-width>
773                  <pref-height>25</pref-height>
774                  <legend>&gt;</legend>
775                 <binding>
776                     <command>property-adjust</command>
777                     <property>autopilot/settings/target-speed-mach</property>
778                     <step type="double">0.01</step>
779                     <min>0.40</min>
780                     <max>0.95</max>
781                     <wrap>false</wrap>
782                 </binding>
783                 <binding>
784                     <command>dialog-update</command>
785                 </binding>
786             </button>
787
788             <button>
789                 <pref-width>35</pref-width>
790                  <pref-height>25</pref-height>
791                  <legend>&gt;&gt;</legend>
792                 <binding>
793                     <command>property-adjust</command>
794                     <property>autopilot/settings/target-speed-mach</property>
795                     <step type="double">0.05</step>
796                     <min>0.40</min>
797                     <max>0.95</max>
798                     <wrap>false</wrap>
799                 </binding>
800                 <binding>
801                     <command>dialog-update</command>
802                 </binding>
803             </button>
804
805         </group>
806
807
808 </PropertyList>