From 7bd962db428e403b7e53f9671af313b835f4b858 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 31 Dec 2013 09:25:47 +0100 Subject: fgfs: use settings framework --- ftnoir_protocol_fg/ftnoir_fgcontrols.ui | 321 +++++++++----------------------- 1 file changed, 90 insertions(+), 231 deletions(-) (limited to 'ftnoir_protocol_fg/ftnoir_fgcontrols.ui') diff --git a/ftnoir_protocol_fg/ftnoir_fgcontrols.ui b/ftnoir_protocol_fg/ftnoir_fgcontrols.ui index fd0df6b0..f3b54486 100644 --- a/ftnoir_protocol_fg/ftnoir_fgcontrols.ui +++ b/ftnoir_protocol_fg/ftnoir_fgcontrols.ui @@ -9,8 +9,8 @@ 0 0 - 518 - 208 + 404 + 112 @@ -26,239 +26,101 @@ false - - - - - - - - 60 - 16777215 - - - - 255 - - - 1 - - - - - - - - 60 - 16777215 - - - - 255 - - - 1 - - - - - - - - 60 - 16777215 - - - - 255 - - - 1 - - - - - - - - 60 - 16777215 - - - - 255 - - - 1 - - - - - - - IP-address remote PC - - - - - - - Qt::RightToLeft - - - Local PC only - - - - - - - Port-number - - - - - - - 1000 - - - 10000 - - - - + + + + + IP-address remote PC + + - - - - Qt::Vertical + + + + + 60 + 16777215 + + + + 255 - + + 1 + + + + + + - 20 - 40 + 60 + 16777215 - + + 255 + + + 1 + + - - - - - - If FlightGear is on the same PC as FaceTrackNoIR, tick the 'Local PC only' box. - - - - - - - Otherwise: enter IP-address and port-number for the remote PC. - - - true - - - - - - - Remember: you may have to change firewall-settings too! - - - - + + + + + 60 + 16777215 + + + + 255 + + + 1 + + - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - QLayout::SetDefaultConstraint - - - - - - 0 - 0 - - - - - 100 - 0 - - - - - 100 - 16777215 - - - - OK - - - - - - - - 0 - 0 - - - - - 100 - 0 - - - - - 100 - 16777215 - - - - Cancel - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 10 - 20 - - - - - + + + + + 60 + 16777215 + + + + 255 + + + 1 + + + + + + + Port-number + + + + + + + 1000 + + + 10000 + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + @@ -268,9 +130,6 @@ spinIPThirdNibble spinIPFourthNibble spinPortNumber - btnOK - btnCancel - chkLocalPC -- cgit v1.2.3