diff --git a/addon-menubar-items.xml b/addon-menubar-items.xml index 9c3dcf2..246f8dd 100644 --- a/addon-menubar-items.xml +++ b/addon-menubar-items.xml @@ -36,6 +36,13 @@ route-aerotow + + + + dialog-show + towrope-config + + diff --git a/gui/dialogs/towrope-configuration.xml b/gui/dialogs/towrope-configuration.xml new file mode 100644 index 0000000..4b96f9d --- /dev/null +++ b/gui/dialogs/towrope-configuration.xml @@ -0,0 +1,342 @@ + + + + towrope-config + vbox + 5 + false + 680 + + + + hbox + + true + + + + + + true + + + + + + + + + hbox + + + table + + + + 0 + 0 + right + + + + 0 + 1 + right + + true + %.0f m + /sim/hitches/aerotow/tow/length + + 0.2 + 0.9 + 0.2 + + + + + + 1 + 0 + right + + + + 1 + 1 + right + + true + %.0f N + /sim/hitches/aerotow/tow/brake-force + + 0.2 + 0.9 + 0.2 + + + + + + 2 + 0 + right + + + + 2 + 1 + right + + true + %.0f N + /sim/hitches/aerotow/tow/elastic-constant + + 0.2 + 0.9 + 0.2 + + + + + + 3 + 0 + right + + + + 3 + 1 + right + + true + %.0f mm + /sim/hitches/aerotow/rope/rope-diameter-mm + + 0.2 + 0.9 + 0.2 + + + + + + 4 + 0 + right + + + + 4 + 1 + right + + true + %.3f kg/m + /sim/hitches/aerotow/tow/weight-per-m-kg-m + + 0.2 + 0.9 + 0.2 + + + + + true + + + + + + table + + + + 0 + 1 + right + + + + 0 + 2 + true + fill + 300 + tow_length + /sim/hitches/aerotow/tow/length + 20 + 200 + 5 + + dialog-apply + + + + 0 + 3 + left + + + + + + 1 + 1 + right + + + + 1 + 2 + true + fill + 300 + break_force + /sim/hitches/aerotow/tow/brake-force + 100 + 100000 + 100 + + dialog-apply + + + + 1 + 3 + left + + + + + + 2 + 1 + right + + + + 2 + 2 + true + fill + 300 + elastic_constant + /sim/hitches/aerotow/tow/elastic-constant + 0 + 1500000 + 200 + + dialog-apply + + + + 2 + 3 + left + + + + + + 3 + 1 + right + + + + 3 + 2 + true + fill + 300 + rope_diameter + /sim/hitches/aerotow/rope/rope-diameter-mm + 0 + 50 + 1 + + dialog-apply + + + + 3 + 3 + left + + + + + + 4 + 1 + right + + + + 4 + 2 + true + fill + 300 + weight_per_m + /sim/hitches/aerotow/tow/weight-per-m-kg-m + 0 + 1 + 0.001 + + dialog-apply + + + + 4 + 3 + left + + + + + + + + + + hbox + + true + + + + + true + + +