00001 /**************************************************************************** 00002 ** Form implementation generated from reading ui file 'Qt/BeoSubQtMainForm.ui' 00003 ** 00004 ** 00005 ** WARNING! All changes made in this file will be lost! 00006 ****************************************************************************/ 00007 00008 #include "Qt/ui/BeoSubQtMainForm.h" 00009 00010 #include <qvariant.h> 00011 #include <qimage.h> 00012 #include <qpixmap.h> 00013 #include <pthread.h> 00014 #include <dirent.h> 00015 #include <qlabel.h> 00016 #include <qpushbutton.h> 00017 #include <qscrollbar.h> 00018 #include <qradiobutton.h> 00019 #include <qlineedit.h> 00020 #include <qlayout.h> 00021 #include <qtooltip.h> 00022 #include <qwhatsthis.h> 00023 #include "QtUtil/ImageConvert.H" 00024 #include "Raster/Raster.H" 00025 #include "Qt/BeoSubQtMainForm.ui.h" 00026 00027 /* 00028 * Constructs a BeoSubQtMainForm as a child of 'parent', with the 00029 * name 'name' and widget flags set to 'f'. 00030 * 00031 * The dialog will by default be modeless, unless you set 'modal' to 00032 * TRUE to construct a modal dialog. 00033 */ 00034 BeoSubQtMainForm::BeoSubQtMainForm( QWidget* parent, const char* name, bool modal, WFlags fl ) 00035 : QDialog( parent, name, modal, fl ) 00036 { 00037 if ( !name ) 00038 setName( "BeoSubQt" ); 00039 setSizeGripEnabled( FALSE ); 00040 00041 bottomfilename = new QLabel( this, "bottomfilename" ); 00042 bottomfilename->setGeometry( QRect( 740, 10, 190, 20 ) ); 00043 00044 saveDown = new QPushButton( this, "saveDown" ); 00045 saveDown->setGeometry( QRect( 730, 30, 205, 20 ) ); 00046 00047 frontfilename = new QLabel( this, "frontfilename" ); 00048 frontfilename->setGeometry( QRect( 410, 10, 190, 20 ) ); 00049 00050 saveFront = new QPushButton( this, "saveFront" ); 00051 saveFront->setGeometry( QRect( 400, 30, 206, 20 ) ); 00052 00053 saveUp = new QPushButton( this, "saveUp" ); 00054 saveUp->setEnabled( TRUE ); 00055 saveUp->setGeometry( QRect( 70, 30, 205, 20 ) ); 00056 00057 topfilename = new QLabel( this, "topfilename" ); 00058 topfilename->setGeometry( QRect( 80, 10, 190, 20 ) ); 00059 00060 textLabel2_2_2_2 = new QLabel( this, "textLabel2_2_2_2" ); 00061 textLabel2_2_2_2->setGeometry( QRect( 360, 600, 30, 30 ) ); 00062 00063 TsDisplay = new QLabel( this, "TsDisplay" ); 00064 TsDisplay->setGeometry( QRect( 310, 600, 40, 30 ) ); 00065 TsDisplay->setFocusPolicy( QLabel::NoFocus ); 00066 00067 DiveScroll = new QScrollBar( this, "DiveScroll" ); 00068 DiveScroll->setGeometry( QRect( 480, 610, 170, 21 ) ); 00069 DiveScroll->setMinValue( 0 ); 00070 DiveScroll->setMaxValue( 100 ); 00071 DiveScroll->setOrientation( QScrollBar::Horizontal ); 00072 00073 FrontBScroll = new QScrollBar( this, "FrontBScroll" ); 00074 FrontBScroll->setGeometry( QRect( 131, 530, 170, 21 ) ); 00075 FrontBScroll->setMinValue( 0 ); 00076 FrontBScroll->setMaxValue( 100 ); 00077 FrontBScroll->setOrientation( QScrollBar::Horizontal ); 00078 00079 textLabel2_2_2 = new QLabel( this, "textLabel2_2_2" ); 00080 textLabel2_2_2->setGeometry( QRect( 10, 640, 80, 30 ) ); 00081 00082 FrontBDisplay = new QLabel( this, "FrontBDisplay" ); 00083 FrontBDisplay->setGeometry( QRect( 310, 520, 40, 30 ) ); 00084 00085 LineEdit12 = new QLabel( this, "LineEdit12" ); 00086 LineEdit12->setGeometry( QRect( 440, 520, 40, 30 ) ); 00087 00088 TsScroll = new QScrollBar( this, "TsScroll" ); 00089 TsScroll->setGeometry( QRect( 130, 610, 170, 21 ) ); 00090 TsScroll->setMinValue( -100 ); 00091 TsScroll->setMaxValue( 100 ); 00092 TsScroll->setOrientation( QScrollBar::Horizontal ); 00093 00094 BsDisplay = new QLabel( this, "BsDisplay" ); 00095 BsDisplay->setGeometry( QRect( 660, 600, 40, 30 ) ); 00096 00097 textLabel2_2_2_3 = new QLabel( this, "textLabel2_2_2_3" ); 00098 textLabel2_2_2_3->setGeometry( QRect( 360, 640, 40, 30 ) ); 00099 00100 RearBScroll = new QScrollBar( this, "RearBScroll" ); 00101 RearBScroll->setGeometry( QRect( 480, 530, 170, 21 ) ); 00102 RearBScroll->setMinValue( 0 ); 00103 RearBScroll->setMaxValue( 100 ); 00104 RearBScroll->setOrientation( QScrollBar::Horizontal ); 00105 00106 OrientScroll = new QScrollBar( this, "OrientScroll" ); 00107 OrientScroll->setGeometry( QRect( 130, 650, 170, 21 ) ); 00108 OrientScroll->setMinValue( -180 ); 00109 OrientScroll->setMaxValue( 180 ); 00110 OrientScroll->setOrientation( QScrollBar::Horizontal ); 00111 00112 LTDisplay = new QLabel( this, "LTDisplay" ); 00113 LTDisplay->setGeometry( QRect( 310, 560, 40, 30 ) ); 00114 00115 textLabel2_2 = new QLabel( this, "textLabel2_2" ); 00116 textLabel2_2->setGeometry( QRect( 10, 600, 80, 30 ) ); 00117 00118 LineEdit16 = new QLabel( this, "LineEdit16" ); 00119 LineEdit16->setGeometry( QRect( 440, 560, 40, 30 ) ); 00120 00121 RTScroll = new QScrollBar( this, "RTScroll" ); 00122 RTScroll->setGeometry( QRect( 480, 570, 170, 21 ) ); 00123 RTScroll->setMinValue( -100 ); 00124 RTScroll->setMaxValue( 100 ); 00125 RTScroll->setOrientation( QScrollBar::Horizontal ); 00126 00127 LTScroll = new QScrollBar( this, "LTScroll" ); 00128 LTScroll->setGeometry( QRect( 130, 570, 170, 21 ) ); 00129 LTScroll->setMinValue( -100 ); 00130 LTScroll->setMaxValue( 100 ); 00131 LTScroll->setOrientation( QScrollBar::Horizontal ); 00132 00133 TiltDisplay = new QLabel( this, "TiltDisplay" ); 00134 TiltDisplay->setGeometry( QRect( 660, 640, 40, 30 ) ); 00135 00136 RTDisplay = new QLabel( this, "RTDisplay" ); 00137 RTDisplay->setGeometry( QRect( 660, 560, 40, 30 ) ); 00138 00139 RearBDisplay = new QLabel( this, "RearBDisplay" ); 00140 RearBDisplay->setGeometry( QRect( 660, 520, 40, 30 ) ); 00141 00142 TurnDisplay = new QLabel( this, "TurnDisplay" ); 00143 TurnDisplay->setGeometry( QRect( 310, 640, 40, 30 ) ); 00144 00145 Label_2 = new QLabel( this, "Label_2" ); 00146 Label_2->setGeometry( QRect( 10, 490, 230, 21 ) ); 00147 00148 textLabel3 = new QLabel( this, "textLabel3" ); 00149 textLabel3->setGeometry( QRect( 10, 410, 70, 30 ) ); 00150 00151 textLabel2 = new QLabel( this, "textLabel2" ); 00152 textLabel2->setGeometry( QRect( 10, 370, 70, 30 ) ); 00153 00154 textLabel3_2 = new QLabel( this, "textLabel3_2" ); 00155 textLabel3_2->setGeometry( QRect( 10, 450, 70, 30 ) ); 00156 00157 textLabel1 = new QLabel( this, "textLabel1" ); 00158 textLabel1->setGeometry( QRect( 10, 330, 70, 30 ) ); 00159 00160 ImagePixmapLabel1 = new QLabel( this, "ImagePixmapLabel1" ); 00161 ImagePixmapLabel1->setGeometry( QRect( 10, 50, 320, 240 ) ); 00162 ImagePixmapLabel1->setBackgroundMode( QLabel::NoBackground ); 00163 ImagePixmapLabel1->setScaledContents( TRUE ); 00164 00165 LineEdit2_2 = new QLabel( this, "LineEdit2_2" ); 00166 LineEdit2_2->setGeometry( QRect( 160, 370, 60, 30 ) ); 00167 00168 LineEdit1 = new QLabel( this, "LineEdit1" ); 00169 LineEdit1->setGeometry( QRect( 90, 330, 60, 30 ) ); 00170 00171 LineEdit2 = new QLabel( this, "LineEdit2" ); 00172 LineEdit2->setGeometry( QRect( 90, 370, 60, 30 ) ); 00173 00174 LineEdit3_2 = new QLabel( this, "LineEdit3_2" ); 00175 LineEdit3_2->setGeometry( QRect( 160, 410, 60, 30 ) ); 00176 00177 LineEdit4 = new QLabel( this, "LineEdit4" ); 00178 LineEdit4->setGeometry( QRect( 90, 450, 60, 30 ) ); 00179 00180 LineEdit3 = new QLabel( this, "LineEdit3" ); 00181 LineEdit3->setGeometry( QRect( 90, 410, 60, 30 ) ); 00182 00183 LineEdit1_2 = new QLabel( this, "LineEdit1_2" ); 00184 LineEdit1_2->setGeometry( QRect( 160, 330, 60, 30 ) ); 00185 00186 LineEdit4_2 = new QLabel( this, "LineEdit4_2" ); 00187 LineEdit4_2->setGeometry( QRect( 160, 450, 60, 30 ) ); 00188 00189 Label_1_2 = new QLabel( this, "Label_1_2" ); 00190 Label_1_2->setGeometry( QRect( 10, 290, 83, 25 ) ); 00191 00192 Label_1_2_2_2 = new QLabel( this, "Label_1_2_2_2" ); 00193 Label_1_2_2_2->setGeometry( QRect( 90, 290, 50, 25 ) ); 00194 00195 Label_1_2_2 = new QLabel( this, "Label_1_2_2" ); 00196 Label_1_2_2->setGeometry( QRect( 160, 290, 50, 25 ) ); 00197 00198 LineEdit11 = new QLabel( this, "LineEdit11" ); 00199 LineEdit11->setGeometry( QRect( 90, 520, 40, 30 ) ); 00200 00201 textLabel11 = new QLabel( this, "textLabel11" ); 00202 textLabel11->setGeometry( QRect( 10, 520, 80, 30 ) ); 00203 00204 LineEdit15 = new QLabel( this, "LineEdit15" ); 00205 LineEdit15->setGeometry( QRect( 90, 560, 40, 30 ) ); 00206 00207 textLabel15 = new QLabel( this, "textLabel15" ); 00208 textLabel15->setGeometry( QRect( 10, 560, 80, 30 ) ); 00209 00210 textLabel16 = new QLabel( this, "textLabel16" ); 00211 textLabel16->setGeometry( QRect( 360, 560, 80, 30 ) ); 00212 00213 textLabel12 = new QLabel( this, "textLabel12" ); 00214 textLabel12->setGeometry( QRect( 360, 520, 80, 30 ) ); 00215 00216 PitchScroll = new QScrollBar( this, "PitchScroll" ); 00217 PitchScroll->setGeometry( QRect( 480, 650, 170, 21 ) ); 00218 PitchScroll->setMinValue( -60 ); 00219 PitchScroll->setMaxValue( 60 ); 00220 PitchScroll->setOrientation( QScrollBar::Horizontal ); 00221 00222 PitchPID = new QRadioButton( this, "PitchPID" ); 00223 PitchPID->setGeometry( QRect( 250, 380, 20, 20 ) ); 00224 00225 HeadingPID = new QRadioButton( this, "HeadingPID" ); 00226 HeadingPID->setGeometry( QRect( 250, 350, 20, 20 ) ); 00227 00228 KILL = new QRadioButton( this, "KILL" ); 00229 KILL->setGeometry( QRect( 250, 440, 20, 20 ) ); 00230 00231 DepthPID = new QRadioButton( this, "DepthPID" ); 00232 DepthPID->setGeometry( QRect( 250, 410, 20, 20 ) ); 00233 00234 LineEdit11_2_2 = new QLabel( this, "LineEdit11_2_2" ); 00235 LineEdit11_2_2->setGeometry( QRect( 270, 380, 70, 20 ) ); 00236 00237 ButtonStop = new QPushButton( this, "ButtonStop" ); 00238 ButtonStop->setGeometry( QRect( 710, 520, 280, 150 ) ); 00239 00240 ImagePixmapLabel2 = new QLabel( this, "ImagePixmapLabel2" ); 00241 ImagePixmapLabel2->setGeometry( QRect( 340, 50, 320, 240 ) ); 00242 ImagePixmapLabel2->setBackgroundMode( QLabel::NoBackground ); 00243 ImagePixmapLabel2->setScaledContents( TRUE ); 00244 00245 LabelTaskControl_2 = new QLabel( this, "LabelTaskControl_2" ); 00246 LabelTaskControl_2->setGeometry( QRect( 870, 300, 110, 30 ) ); 00247 00248 CPUtemp = new QLabel( this, "CPUtemp" ); 00249 CPUtemp->setGeometry( QRect( 870, 340, 100, 20 ) ); 00250 00251 lineEditAdvance = new QLineEdit( this, "lineEditAdvance" ); 00252 lineEditAdvance->setGeometry( QRect( 770, 330, 60, 20 ) ); 00253 00254 lineEditStrafe = new QLineEdit( this, "lineEditStrafe" ); 00255 lineEditStrafe->setGeometry( QRect( 770, 360, 60, 20 ) ); 00256 00257 resetA = new QPushButton( this, "resetA" ); 00258 resetA->setGeometry( QRect( 680, 390, 160, 30 ) ); 00259 00260 GetDirections = new QPushButton( this, "GetDirections" ); 00261 GetDirections->setGeometry( QRect( 680, 430, 160, 41 ) ); 00262 00263 textLabel12_2_2 = new QLabel( this, "textLabel12_2_2" ); 00264 textLabel12_2_2->setGeometry( QRect( 690, 360, 60, 20 ) ); 00265 00266 ButtonTaskB = new QPushButton( this, "ButtonTaskB" ); 00267 ButtonTaskB->setGeometry( QRect( 560, 450, 90, 30 ) ); 00268 00269 ButtonDecode = new QPushButton( this, "ButtonDecode" ); 00270 ButtonDecode->setGeometry( QRect( 560, 370, 90, 30 ) ); 00271 00272 ButtonTaskC = new QPushButton( this, "ButtonTaskC" ); 00273 ButtonTaskC->setGeometry( QRect( 560, 490, 90, 30 ) ); 00274 00275 LabelTaskControl = new QLabel( this, "LabelTaskControl" ); 00276 LabelTaskControl->setGeometry( QRect( 560, 300, 40, 20 ) ); 00277 00278 ButtonTaskA = new QPushButton( this, "ButtonTaskA" ); 00279 ButtonTaskA->setGeometry( QRect( 560, 410, 90, 30 ) ); 00280 00281 DepthD = new QLineEdit( this, "DepthD" ); 00282 DepthD->setGeometry( QRect( 480, 410, 50, 20 ) ); 00283 00284 DepthP = new QLineEdit( this, "DepthP" ); 00285 DepthP->setGeometry( QRect( 360, 410, 50, 20 ) ); 00286 00287 LineEdit11_2_3 = new QLabel( this, "LineEdit11_2_3" ); 00288 LineEdit11_2_3->setGeometry( QRect( 380, 320, 16, 20 ) ); 00289 00290 PitchD = new QLineEdit( this, "PitchD" ); 00291 PitchD->setGeometry( QRect( 480, 380, 50, 20 ) ); 00292 00293 DepthI = new QLineEdit( this, "DepthI" ); 00294 DepthI->setGeometry( QRect( 420, 410, 50, 20 ) ); 00295 00296 PitchI = new QLineEdit( this, "PitchI" ); 00297 PitchI->setGeometry( QRect( 420, 380, 50, 20 ) ); 00298 00299 PitchP = new QLineEdit( this, "PitchP" ); 00300 PitchP->setGeometry( QRect( 360, 380, 50, 20 ) ); 00301 00302 LineEdit11_2_3_2 = new QLabel( this, "LineEdit11_2_3_2" ); 00303 LineEdit11_2_3_2->setGeometry( QRect( 440, 320, 16, 20 ) ); 00304 00305 HeadingI = new QLineEdit( this, "HeadingI" ); 00306 HeadingI->setGeometry( QRect( 420, 350, 50, 20 ) ); 00307 00308 HeadingP = new QLineEdit( this, "HeadingP" ); 00309 HeadingP->setGeometry( QRect( 360, 350, 50, 20 ) ); 00310 00311 LineEdit11_2_3_3 = new QLabel( this, "LineEdit11_2_3_3" ); 00312 LineEdit11_2_3_3->setGeometry( QRect( 500, 320, 16, 20 ) ); 00313 00314 HeadingD = new QLineEdit( this, "HeadingD" ); 00315 HeadingD->setGeometry( QRect( 480, 350, 50, 20 ) ); 00316 00317 LineEdit11_2 = new QLabel( this, "LineEdit11_2" ); 00318 LineEdit11_2->setGeometry( QRect( 270, 350, 87, 20 ) ); 00319 00320 LineEdit11_2_2_2 = new QLabel( this, "LineEdit11_2_2_2" ); 00321 LineEdit11_2_2_2->setGeometry( QRect( 270, 410, 73, 20 ) ); 00322 00323 LineEdit11_2_2_2_2 = new QLabel( this, "LineEdit11_2_2_2_2" ); 00324 LineEdit11_2_2_2_2->setGeometry( QRect( 270, 440, 99, 20 ) ); 00325 00326 LabelTaskControl_2_2 = new QLabel( this, "LabelTaskControl_2_2" ); 00327 LabelTaskControl_2_2->setGeometry( QRect( 870, 370, 110, 20 ) ); 00328 00329 indicator = new QLabel( this, "indicator" ); 00330 indicator->setGeometry( QRect( 870, 400, 100, 20 ) ); 00331 00332 textLabel12_2 = new QLabel( this, "textLabel12_2" ); 00333 textLabel12_2->setGeometry( QRect( 690, 330, 60, 20 ) ); 00334 00335 textLabel12_2_3 = new QLabel( this, "textLabel12_2_3" ); 00336 textLabel12_2_3->setGeometry( QRect( 690, 300, 60, 20 ) ); 00337 00338 ButtonGate = new QPushButton( this, "ButtonGate" ); 00339 ButtonGate->setGeometry( QRect( 560, 330, 90, 30 ) ); 00340 00341 ButtonPic = new QPushButton( this, "ButtonPic" ); 00342 ButtonPic->setGeometry( QRect( 860, 430, 120, 30 ) ); 00343 00344 to = new QLineEdit( this, "to" ); 00345 to->setGeometry( QRect( 770, 300, 60, 20 ) ); 00346 00347 ImagePixmapLabel3 = new QLabel( this, "ImagePixmapLabel3" ); 00348 ImagePixmapLabel3->setGeometry( QRect( 670, 50, 320, 240 ) ); 00349 ImagePixmapLabel3->setBackgroundMode( QLabel::NoBackground ); 00350 ImagePixmapLabel3->setScaledContents( TRUE ); 00351 languageChange(); 00352 resize( QSize(1001, 673).expandedTo(minimumSizeHint()) ); 00353 clearWState( WState_Polished ); 00354 00355 // signals and slots connections 00356 connect( saveUp, SIGNAL( clicked() ), this, SLOT( saveImageUp() ) ); 00357 connect( saveFront, SIGNAL( clicked() ), this, SLOT( saveImageFront() ) ); 00358 connect( saveDown, SIGNAL( clicked() ), this, SLOT( saveImageDown() ) ); 00359 connect( ButtonGate, SIGNAL( clicked() ), this, SLOT( taskGate() ) ); 00360 connect( ButtonDecode, SIGNAL( clicked() ), this, SLOT( taskDecode() ) ); 00361 connect( ButtonTaskA, SIGNAL( clicked() ), this, SLOT( taskA() ) ); 00362 connect( ButtonTaskB, SIGNAL( clicked() ), this, SLOT( taskB() ) ); 00363 connect( ButtonTaskC, SIGNAL( clicked() ), this, SLOT( taskC() ) ); 00364 connect( ButtonStop, SIGNAL( clicked() ), this, SLOT( stopAll() ) ); 00365 connect( LTScroll, SIGNAL( valueChanged(int) ), this, SLOT( LThruster_valueChanged(int) ) ); 00366 connect( RTScroll, SIGNAL( valueChanged(int) ), this, SLOT( RThuster_valueChanged(int) ) ); 00367 connect( TsScroll, SIGNAL( valueChanged(int) ), this, SLOT( Thrusters_valueChanged(int) ) ); 00368 connect( DiveScroll, SIGNAL( valueChanged(int) ), this, SLOT( dive_valueChanged(int) ) ); 00369 connect( OrientScroll, SIGNAL( valueChanged(int) ), this, SLOT( Orient_valueChanged(int) ) ); 00370 connect( PitchScroll, SIGNAL( valueChanged(int) ), this, SLOT( Pitch_valueChanged(int) ) ); 00371 connect( FrontBScroll, SIGNAL( valueChanged(int) ), this, SLOT( FrontBallast_valueChanged(int) ) ); 00372 connect( RearBScroll, SIGNAL( valueChanged(int) ), this, SLOT( RearBallast_valueChanged(int) ) ); 00373 connect( HeadingPID, SIGNAL( toggled(bool) ), this, SLOT( HeadingPID_toggled() ) ); 00374 connect( PitchPID, SIGNAL( toggled(bool) ), this, SLOT( PitchPID_toggled() ) ); 00375 connect( DepthPID, SIGNAL( toggled(bool) ), this, SLOT( DepthPID_toggled() ) ); 00376 connect( KILL, SIGNAL( toggled(bool) ), this, SLOT( KILL_toggled() ) ); 00377 connect( lineEditAdvance, SIGNAL( returnPressed() ), this, SLOT( advance_return() ) ); 00378 connect( lineEditStrafe, SIGNAL( returnPressed() ), this, SLOT( strafe_return() ) ); 00379 connect( resetA, SIGNAL( clicked() ), this, SLOT( resetAtt_return() ) ); 00380 connect( GetDirections, SIGNAL( clicked() ), this, SLOT( matchAndDirect() ) ); 00381 connect( to, SIGNAL( returnPressed() ), this, SLOT( turnopen_return() ) ); 00382 connect( ButtonPic, SIGNAL( clicked() ), this, SLOT( togglePic() ) ); 00383 } 00384 00385 /* 00386 * Destroys the object and frees any allocated resources 00387 */ 00388 BeoSubQtMainForm::~BeoSubQtMainForm() 00389 { 00390 // no need to delete child widgets, Qt does it all for us 00391 } 00392 00393 /* 00394 * Sets the strings of the subwidgets using the current 00395 * language. 00396 */ 00397 void BeoSubQtMainForm::languageChange() 00398 { 00399 setCaption( tr( "BeoSub" ) ); 00400 bottomfilename->setText( QString::null ); 00401 saveDown->setText( tr( "Save bottom image" ) ); 00402 frontfilename->setText( QString::null ); 00403 saveFront->setText( tr( "Save front image" ) ); 00404 saveUp->setText( tr( "Save top image" ) ); 00405 topfilename->setText( QString::null ); 00406 textLabel2_2_2_2->setText( tr( "Dive" ) ); 00407 TsDisplay->setText( QString::null ); 00408 textLabel2_2_2->setText( tr( "Orient" ) ); 00409 FrontBDisplay->setText( QString::null ); 00410 LineEdit12->setText( QString::null ); 00411 BsDisplay->setText( QString::null ); 00412 textLabel2_2_2_3->setText( tr( "Pitch" ) ); 00413 LTDisplay->setText( QString::null ); 00414 textLabel2_2->setText( tr( "Advance" ) ); 00415 LineEdit16->setText( QString::null ); 00416 TiltDisplay->setText( QString::null ); 00417 RTDisplay->setText( QString::null ); 00418 RearBDisplay->setText( QString::null ); 00419 TurnDisplay->setText( QString::null ); 00420 Label_2->setText( tr( "<b>Ballasts and Thrusters<font size=\"+1\"></font></b>" ) ); 00421 textLabel3->setText( tr( "Heading =" ) ); 00422 textLabel2->setText( tr( "Pitch =" ) ); 00423 textLabel3_2->setText( tr( "Depth =" ) ); 00424 textLabel1->setText( tr( "Roll =" ) ); 00425 LineEdit2_2->setText( QString::null ); 00426 LineEdit1->setText( QString::null ); 00427 LineEdit2->setText( QString::null ); 00428 LineEdit3_2->setText( QString::null ); 00429 LineEdit4->setText( QString::null ); 00430 LineEdit3->setText( QString::null ); 00431 LineEdit1_2->setText( QString::null ); 00432 LineEdit4_2->setText( QString::null ); 00433 Label_1_2->setText( tr( "<b>Compass<font size=\"+1\"></font></b>" ) ); 00434 Label_1_2_2_2->setText( tr( "current" ) ); 00435 Label_1_2_2->setText( tr( "target" ) ); 00436 LineEdit11->setText( QString::null ); 00437 textLabel11->setText( tr( "Front Ballast =" ) ); 00438 LineEdit15->setText( QString::null ); 00439 textLabel15->setText( tr( "L Thruster" ) ); 00440 textLabel16->setText( tr( "R Thruster" ) ); 00441 textLabel12->setText( tr( "Rear Ballast =" ) ); 00442 PitchPID->setText( tr( "radioButton1" ) ); 00443 HeadingPID->setText( tr( "radioButton1" ) ); 00444 KILL->setText( tr( "radioButton1" ) ); 00445 DepthPID->setText( tr( "radioButton1" ) ); 00446 LineEdit11_2_2->setText( tr( "Pitch PID" ) ); 00447 ButtonStop->setText( tr( "Stop\n" 00448 "Everything" ) ); 00449 LabelTaskControl_2->setText( tr( "CPU temperature" ) ); 00450 CPUtemp->setText( QString::null ); 00451 resetA->setText( tr( "reset Attitude" ) ); 00452 GetDirections->setText( tr( "Get Directions from \n" 00453 "Current to Goal" ) ); 00454 textLabel12_2_2->setText( tr( "Strafe" ) ); 00455 ButtonTaskB->setText( tr( "Task B" ) ); 00456 ButtonDecode->setText( tr( "Decode" ) ); 00457 ButtonTaskC->setText( tr( "Task C" ) ); 00458 LabelTaskControl->setText( tr( "Task" ) ); 00459 ButtonTaskA->setText( tr( "Task A" ) ); 00460 LineEdit11_2_3->setText( tr( "P" ) ); 00461 LineEdit11_2_3_2->setText( tr( "I" ) ); 00462 LineEdit11_2_3_3->setText( tr( "D" ) ); 00463 LineEdit11_2->setText( tr( "Heading PID" ) ); 00464 LineEdit11_2_2_2->setText( tr( "Depth PID" ) ); 00465 LineEdit11_2_2_2_2->setText( tr( "Use KillSwitch" ) ); 00466 LabelTaskControl_2_2->setText( tr( "indicator" ) ); 00467 indicator->setText( QString::null ); 00468 textLabel12_2->setText( tr( "Advance" ) ); 00469 textLabel12_2_3->setText( tr( "turnopen" ) ); 00470 ButtonGate->setText( tr( "Gate" ) ); 00471 ButtonPic->setText( tr( "Pic?" ) ); 00472 } 00473