Changeset 4486 for trunk/MagicSoft/AMC
- Timestamp:
- 08/04/04 16:42:25 (20 years ago)
- Location:
- trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/calibratepaneldialog.cpp
r3401 r4486 43 43 #define MAX(a,b) ((a>b) ? a : b ) 44 44 45 extern int g_iRefX, g_iRefY;45 extern double g_dRefX, g_dRefY; 46 46 extern AMCSerialPort* g_pPort[]; 47 47 extern MagicMirror* g_theMirror; … … 50 50 : CalibratePanelDialogBase(parent, name, true), m_pFG( p_pFG ) 51 51 { 52 PanelProgress->setTotalSteps( 39 - 1 );52 PanelProgress->setTotalSteps( 19 - 1 ); 53 53 m_pData = new uchar[ m_pFG->getBuffsize()]; 54 54 m_pDark = new uchar[ m_pFG->getBuffsize()]; … … 56 56 m_pYLinearRegression = new LinearRegression(); 57 57 58 qDebug("Creating Video Frame"); 58 59 m_pVideoFrame = new VideoFrame( this, "Video", m_pFG ); 59 60 m_pVideoFrame->setMinimumSize( QSize( MY_WIDTH, MY_HEIGHT ) ); … … 62 63 m_pVideoFrame->setCalibDlg( this ); 63 64 ((QGridLayout*) this->layout())->addWidget( m_pVideoFrame, 0, 0 ); 64 connect( m_pVideoFrame, SIGNAL( spot(int, int ) ), this ,SLOT( setSpotInfoSlot( int, int ) ) ); 65 connect( m_pVideoFrame, SIGNAL( gref(int, int ) ), this ,SLOT( setGRefInfoSlot( int, int ) ) ); 65 66 qDebug("Connecting Signals"); 67 connect( m_pVideoFrame, SIGNAL( spot(double, double ) ), this ,SLOT( setSpotInfoSlot( double, double ) ) ); 68 connect( m_pVideoFrame, SIGNAL( gref(double, double ) ), this ,SLOT( setGRefInfoSlot( double, double ) ) ); 66 69 67 70 m_qlSpotList.setAutoDelete( true ); 68 71 m_qlLineList.setAutoDelete( true ); 69 72 70 if( (g_ iRefX != -1) && (g_iRefY != -1) )73 if( (g_dRefX != -1.) && (g_dRefY != -1.) ) 71 74 buttonGoto->setEnabled( true ); 72 75 73 m_ iSpotX = -1;74 m_ iSpotY = -1;75 m_ iVSpotX = -1;76 m_ iVSpotY = -1;77 setGRefInfoSlot( g_ iRefX, g_iRefY );76 m_dSpotX = -1.; 77 m_dSpotY = -1.; 78 m_dVSpotX = -1.; 79 m_dVSpotY = -1.; 80 setGRefInfoSlot( g_dRefX, g_dRefY ); 78 81 } 79 82 80 83 CalibratePanelDialog::~CalibratePanelDialog() 81 84 { 85 m_pVideoFrame->halt( true ); 86 disconnect( m_pVideoFrame,0, 0, 0 ); 87 82 88 // If laser was on we will turn it on again. 83 89 if( m_zLaser ) … … 124 130 125 131 /** No descriptions */ 126 void CalibratePanelDialog::setSpotInfoSlot( int p_iX, int p_iY )127 { 128 XSpotEdit->setText( QString::number(p_ iX) );129 YSpotEdit->setText( QString::number(p_ iY) );130 m_ iVSpotX = p_iX;131 m_ iVSpotY = p_iY;132 } 133 134 /** No descriptions */ 135 void CalibratePanelDialog::setGRefInfoSlot( int p_iX, intp_iY )132 void CalibratePanelDialog::setSpotInfoSlot( double p_dX, double p_dY ) 133 { 134 XSpotEdit->setText( QString::number(p_dX) ); 135 YSpotEdit->setText( QString::number(p_dY) ); 136 m_dVSpotX = p_dX; 137 m_dVSpotY = p_dY; 138 } 139 140 /** No descriptions */ 141 void CalibratePanelDialog::setGRefInfoSlot( double p_iX, double p_iY ) 136 142 { 137 143 XGRefEdit->setText( QString::number(p_iX) ); … … 181 187 double dMaxX, dMaxY; 182 188 m_pXLinearRegression->reset(); 183 for( int j= - 2700; j<=2700; j+=300)189 for( int j= -1200; j<=1200; j+=300) 184 190 { 185 191 processSpot( j, 0 ); 186 192 if( m_qlSpotList.count() == 1) 187 m_qlLineList.append( new VideoSpot( m_ iSpotX, m_iSpotY) );188 m_pXLinearRegression->addPoint( m_ iSpotX, m_iSpotY );189 if( m_ iSpotX != -1 )193 m_qlLineList.append( new VideoSpot( m_dSpotX, m_dSpotY, 10 ) ); 194 m_pXLinearRegression->addPoint( m_dSpotX, m_dSpotY ); 195 if( m_dSpotX != -1 ) 190 196 { 191 197 if ( iMinJ < -3000 ) 192 198 { 193 199 iMinJ = j; 194 dMinX = m_ iSpotX;195 dMinY = m_ iSpotY;200 dMinX = m_dSpotX; 201 dMinY = m_dSpotY; 196 202 } 197 203 else 198 204 { 199 205 iMaxJ = j; 200 dMaxX = m_ iSpotX;201 dMaxY = m_ iSpotY;206 dMaxX = m_dSpotX; 207 dMaxY = m_dSpotY; 202 208 } 203 209 } … … 235 241 iMaxJ = -4000; 236 242 m_pYLinearRegression->reset(); 237 for( int j= - 2700; j<=2700; j+=300)243 for( int j= -1200; j<=1200; j+=300) 238 244 { 239 245 processSpot( 0, j ); 240 246 if( m_qlSpotList.count() == 1) 241 m_qlLineList.append( new VideoSpot( m_ iSpotX, m_iSpotY) );242 m_pYLinearRegression->addPoint( m_ iSpotX, m_iSpotY );243 if( m_ iSpotX != -1)247 m_qlLineList.append( new VideoSpot( m_dSpotX, m_dSpotY, 10 ) ); 248 m_pYLinearRegression->addPoint( m_dSpotX, m_dSpotY ); 249 if( m_dSpotX != -1. ) 244 250 { 245 251 if ( iMinJ < -3000 ) 246 252 { 247 253 iMinJ = j; 248 dMinX = m_ iSpotX;249 dMinY = m_ iSpotY;254 dMinX = m_dSpotX; 255 dMinY = m_dSpotY; 250 256 } 251 257 else 252 258 { 253 259 iMaxJ = j; 254 dMaxX = m_ iSpotX;255 dMaxY = m_ iSpotY;260 dMaxX = m_dSpotX; 261 dMaxY = m_dSpotY; 256 262 } 257 263 } … … 313 319 } 314 320 } 315 321 322 if( ( m_pXLinearRegression->getR() < 0.5 ) 323 || 324 ( m_pYLinearRegression->getR() < 0.5 ) ) 325 { 326 qDebug( "Reversing axis of this panel ") ; 327 328 m_pPanel->setReversed( true ); 329 m_pXLinearRegression->setReversed( true ); 330 m_pYLinearRegression->setReversed( true ); 331 m_pPanel->setAxisX( m_pXLinearRegression->getAxis() ); 332 m_pPanel->setSlopeX( m_pXLinearRegression->getSlope() ); 333 m_pPanel->setAxisY( m_pYLinearRegression->getAxis() ); 334 m_pPanel->setSlopeY( m_pYLinearRegression->getSlope() ); 335 336 QString info; 337 XAxisEdit->setText( info.sprintf( "%7.2f", m_pXLinearRegression->getAxis() ) ); 338 XSlopeEdit->setText( info.sprintf( "%7.4f", m_pXLinearRegression->getSlope() ) ); 339 XCorrelationEdit->setText( info.sprintf( "%7.4f", m_pXLinearRegression->getR() ) ); 340 YAxisEdit->setText( info.sprintf( "%7.2f", m_pYLinearRegression->getAxis() ) ); 341 YSlopeEdit->setText( info.sprintf( "%7.4f", m_pYLinearRegression->getSlope() ) ); 342 YCorrelationEdit->setText( info.sprintf( "%7.4f", m_pYLinearRegression->getR() ) ); 343 } 344 316 345 QThread::postEvent( this, new QCustomEvent( THREAD_END_EVENT ) ); 317 346 } … … 348 377 349 378 subtractDark(); 350 findSpot( m_ iSpotX, m_iSpotY );351 qsMsg.sprintf("Spot at: (% d,%d)", m_iSpotX, m_iSpotY );379 findSpot( m_dSpotX, m_dSpotY ); 380 qsMsg.sprintf("Spot at: (%5.1f,%5.1f)", m_dSpotX, m_dSpotY ); 352 381 outputProgress( qsMsg ); 353 382 … … 372 401 373 402 /** Find the Laser spot */ 374 void CalibratePanelDialog::findSpot( int& p_iX, int& p_iY )403 void CalibratePanelDialog::findSpot( double& p_dX, double& p_dY ) 375 404 { 376 405 int threshold = getThreshold(); … … 414 443 { 415 444 VideoSpot* pSpot = m_qlSpotList.first(); 416 p_ iX = pSpot->getX();417 p_ iY = pSpot->getY();445 p_dX = pSpot->getX(); 446 p_dY = pSpot->getY(); 418 447 QThread::postEvent( this, new QCustomEvent( FRAME_EVENT ) ); 419 448 } 420 449 else 421 450 { 422 p_ iX = -1;423 p_ iY = -1;451 p_dX = -1; 452 p_dY = -1; 424 453 } 425 454 } … … 510 539 511 540 if ( e->type() == FRAME_EVENT ) 512 setSpotInfoSlot( m_ iSpotX, m_iSpotY );541 setSpotInfoSlot( m_dSpotX, m_dSpotY ); 513 542 514 543 if ( e->type() == THREAD_END_EVENT ) 515 544 { 516 545 buttonStart->setEnabled( true ); 517 if( (g_ iRefX != -1) && (g_iRefY != -1) )546 if( (g_dRefX != -1.) && (g_dRefY != -1.) ) 518 547 buttonGoto->setEnabled( true ); 519 548 buttonOk->setEnabled( true ); … … 524 553 void CalibratePanelDialog::gotoRefSlot() 525 554 { 526 if( ( g_ iRefX == -1 ) && ( g_iRefY == -1) )555 if( ( g_dRefX == -1. ) && ( g_dRefY == -1. ) ) 527 556 return; 528 if( ( m_ iVSpotX == -1 ) && ( m_iVSpotY == -1) )557 if( ( m_dVSpotX == -1. ) && ( m_dVSpotY == -1. ) ) 529 558 return; 530 qDebug("Spot at x,y: %4d %4d", m_iVSpotX, m_iVSpotY ); 531 qDebug("Ref at x,y: %4d %4d", g_iRefX, g_iRefY ); 532 double dX = g_iRefX - m_iVSpotX; 533 double dY = g_iRefY - m_iVSpotY; 534 qDebug("Dx Dy: %4.0f %4.0f", dX, dY ); 535 double dAlpha1 = atan( m_pPanel->getSlopeX() ); 536 // if( m_pPanel->getSlopeX() < 0.0) 537 // dAlpha1 *= -1; 538 double dAlpha2 = atan( m_pPanel->getSlopeY() ); 539 // if( m_pPanel->getSlopeY() < 0.0) 540 // dAlpha2 *= -1; 541 qDebug("alpha1, alpha2: %7.2f %7.2f", dAlpha1 * 180.0 / 3.1415, dAlpha2 * 180.0 / 3.1415 ); 542 double dSinA1 = sin( dAlpha1 ); 543 double dSinA2 = sin( dAlpha2 ); 544 double dCosA1 = cos( dAlpha1 ); 545 double dCosA2 = cos( dAlpha2 ); 546 547 double dFacX = dX - ( dY * dCosA2 / dSinA2 ); 548 dFacX /= ( dCosA1 - dSinA1 * dCosA2 / dSinA2 ); 549 double dFacY = (dY - dFacX * dSinA1) / dSinA2; 550 qDebug("Factor x,y: %8.2f %8.2f", dFacX, dFacY ); 551 552 int iStepX = (int) ( dFacX * m_pPanel->getConversionX() ); 553 int iStepY = (int) ( dFacY * m_pPanel->getConversionY() ); 554 555 qDebug("Steps till reference: %4d %4d", iStepX, iStepY ); 559 qDebug("Spot at x,y: %5.1f %5.1f", m_dVSpotX, m_dVSpotY ); 560 qDebug("Ref at x,y: %5.1f %5.1f", g_dRefX, g_dRefY ); 561 double dX, dY; 562 dX = g_dRefX - m_dVSpotX; 563 dY = g_dRefY - m_dVSpotY; 564 565 int iStepX, iStepY; 566 m_pPanel->calcSteps( dX, dY, iStepX, iStepY ); 556 567 gotoPosition( iStepX, iStepY ); 557 568 } -
trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/calibratepaneldialog.h
r3401 r4486 62 62 void subtractDark(); 63 63 /** Find the Spot in the cideo frame */ 64 void findSpot( int& p_iY, int& p_iY );64 void findSpot( double& p_dY, double& p_dY ); 65 65 /** Get the threshold for identifying the spot */ 66 66 int getThreshold(); … … 88 88 uchar* m_pDark; 89 89 /** Spot position in videocamera pixels */ 90 int m_iSpotX;90 double m_dSpotX; 91 91 /** Spot position in videocamera pixels */ 92 int m_iSpotY;92 double m_dSpotY; 93 93 /** Spot position in videocamera pixels */ 94 int m_iVSpotX;94 double m_dVSpotX; 95 95 /** Spot position in videocamera pixels */ 96 int m_iVSpotY;96 double m_dVSpotY; 97 97 /** */ 98 98 double m_dXConversion; … … 105 105 public slots: // Public slots 106 106 /** No descriptions */ 107 void setSpotInfoSlot( int p_iX, int p_iY );107 void setSpotInfoSlot( double p_dX, double p_dY ); 108 108 /** No descriptions */ 109 void setGRefInfoSlot( int p_iX, int p_iY );109 void setGRefInfoSlot( double p_dX, double p_dY ); 110 110 /** No descriptions */ 111 111 void startSlot(); -
trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/calibratepaneldialogbase.ui
r3401 r4486 12 12 <x>0</x> 13 13 <y>0</y> 14 <width>9 18</width>14 <width>906</width> 15 15 <height>617</height> 16 16 </rect> … … 33 33 <number>6</number> 34 34 </property> 35 <widget row="0" column="1" rowspan="2" colspan="1" > 36 <class>QLayoutWidget</class> 37 <property stdset="1"> 38 <name>name</name> 39 <cstring>Layout7</cstring> 40 </property> 41 <vbox> 42 <property stdset="1"> 43 <name>margin</name> 44 <number>0</number> 45 </property> 46 <property stdset="1"> 47 <name>spacing</name> 48 <number>6</number> 49 </property> 50 <widget> 51 <class>QGroupBox</class> 52 <property stdset="1"> 53 <name>name</name> 54 <cstring>GroupBox1</cstring> 55 </property> 56 <property stdset="1"> 57 <name>title</name> 58 <string>Panel Info</string> 59 </property> 60 <vbox> 61 <property stdset="1"> 62 <name>margin</name> 63 <number>11</number> 64 </property> 65 <property stdset="1"> 66 <name>spacing</name> 67 <number>6</number> 68 </property> 69 <widget> 70 <class>QButtonGroup</class> 71 <property stdset="1"> 72 <name>name</name> 73 <cstring>ButtonGroup1</cstring> 74 </property> 75 <property stdset="1"> 76 <name>frameShape</name> 77 <enum>NoFrame</enum> 78 </property> 79 <property stdset="1"> 80 <name>title</name> 81 <string></string> 82 </property> 83 <grid> 84 <property stdset="1"> 85 <name>margin</name> 86 <number>11</number> 87 </property> 88 <property stdset="1"> 89 <name>spacing</name> 90 <number>6</number> 91 </property> 92 <widget row="0" column="1" > 93 <class>QProgressBar</class> 94 <property stdset="1"> 95 <name>name</name> 96 <cstring>PanelProgress</cstring> 97 </property> 98 <property stdset="1"> 99 <name>sizePolicy</name> 100 <sizepolicy> 101 <hsizetype>7</hsizetype> 102 <vsizetype>3</vsizetype> 103 </sizepolicy> 104 </property> 105 <property stdset="1"> 106 <name>minimumSize</name> 107 <size> 108 <width>10</width> 109 <height>0</height> 110 </size> 111 </property> 112 <property stdset="1"> 113 <name>frameShape</name> 114 <enum>WinPanel</enum> 115 </property> 116 </widget> 117 <widget row="0" column="0" > 118 <class>QLabel</class> 119 <property stdset="1"> 120 <name>name</name> 121 <cstring>TextLabel1</cstring> 122 </property> 123 <property stdset="1"> 124 <name>text</name> 125 <string>Progress</string> 126 </property> 127 </widget> 128 </grid> 129 </widget> 130 <widget> 131 <class>QGroupBox</class> 132 <property stdset="1"> 133 <name>name</name> 134 <cstring>PanelBox</cstring> 135 </property> 136 <property stdset="1"> 137 <name>title</name> 138 <string>Panel</string> 139 </property> 140 <hbox> 141 <property stdset="1"> 142 <name>margin</name> 143 <number>11</number> 144 </property> 145 <property stdset="1"> 146 <name>spacing</name> 147 <number>6</number> 148 </property> 149 <widget> 150 <class>QLabel</class> 151 <property stdset="1"> 152 <name>name</name> 153 <cstring>PortLabel</cstring> 154 </property> 155 <property stdset="1"> 156 <name>text</name> 157 <string>Port: --</string> 158 </property> 159 </widget> 160 <spacer> 161 <property> 162 <name>name</name> 163 <cstring>Spacer4</cstring> 164 </property> 165 <property stdset="1"> 166 <name>orientation</name> 167 <enum>Horizontal</enum> 168 </property> 169 <property stdset="1"> 170 <name>sizeType</name> 171 <enum>Expanding</enum> 172 </property> 173 <property> 174 <name>sizeHint</name> 175 <size> 176 <width>20</width> 177 <height>20</height> 178 </size> 179 </property> 180 </spacer> 181 <widget> 182 <class>QLabel</class> 183 <property stdset="1"> 184 <name>name</name> 185 <cstring>BoxLabel</cstring> 186 </property> 187 <property stdset="1"> 188 <name>text</name> 189 <string>Box: --</string> 190 </property> 191 </widget> 192 <spacer> 193 <property> 194 <name>name</name> 195 <cstring>Spacer5</cstring> 196 </property> 197 <property stdset="1"> 198 <name>orientation</name> 199 <enum>Horizontal</enum> 200 </property> 201 <property stdset="1"> 202 <name>sizeType</name> 203 <enum>Expanding</enum> 204 </property> 205 <property> 206 <name>sizeHint</name> 207 <size> 208 <width>20</width> 209 <height>20</height> 210 </size> 211 </property> 212 </spacer> 213 <widget> 214 <class>QLabel</class> 215 <property stdset="1"> 216 <name>name</name> 217 <cstring>DriverLabel</cstring> 218 </property> 219 <property stdset="1"> 220 <name>text</name> 221 <string>Driver: --</string> 222 </property> 223 </widget> 224 </hbox> 225 </widget> 226 <widget> 227 <class>QGroupBox</class> 228 <property stdset="1"> 229 <name>name</name> 230 <cstring>GroupBox3_3</cstring> 231 </property> 232 <property stdset="1"> 233 <name>title</name> 234 <string>Spot</string> 235 </property> 236 <hbox> 237 <property stdset="1"> 238 <name>margin</name> 239 <number>11</number> 240 </property> 241 <property stdset="1"> 242 <name>spacing</name> 243 <number>6</number> 244 </property> 245 <widget> 246 <class>QLabel</class> 247 <property stdset="1"> 248 <name>name</name> 249 <cstring>XSpotLabel</cstring> 250 </property> 251 <property stdset="1"> 252 <name>text</name> 253 <string>X :</string> 254 </property> 255 </widget> 256 <widget> 257 <class>QLineEdit</class> 258 <property stdset="1"> 259 <name>name</name> 260 <cstring>XSpotEdit</cstring> 261 </property> 262 <property stdset="1"> 263 <name>enabled</name> 264 <bool>false</bool> 265 </property> 266 <property stdset="1"> 267 <name>maxLength</name> 268 <number>3</number> 269 </property> 270 </widget> 271 <spacer> 272 <property> 273 <name>name</name> 274 <cstring>Spacer2_4</cstring> 275 </property> 276 <property stdset="1"> 277 <name>orientation</name> 278 <enum>Horizontal</enum> 279 </property> 280 <property stdset="1"> 281 <name>sizeType</name> 282 <enum>Expanding</enum> 283 </property> 284 <property> 285 <name>sizeHint</name> 286 <size> 287 <width>20</width> 288 <height>20</height> 289 </size> 290 </property> 291 </spacer> 292 <widget> 293 <class>QLabel</class> 294 <property stdset="1"> 295 <name>name</name> 296 <cstring>YSpotLabel</cstring> 297 </property> 298 <property stdset="1"> 299 <name>text</name> 300 <string>Y :</string> 301 </property> 302 </widget> 303 <widget> 304 <class>QLineEdit</class> 305 <property stdset="1"> 306 <name>name</name> 307 <cstring>YSpotEdit</cstring> 308 </property> 309 <property stdset="1"> 310 <name>enabled</name> 311 <bool>false</bool> 312 </property> 313 <property stdset="1"> 314 <name>maxLength</name> 315 <number>3</number> 316 </property> 317 </widget> 318 </hbox> 319 </widget> 320 <widget> 321 <class>QGroupBox</class> 322 <property stdset="1"> 323 <name>name</name> 324 <cstring>GroupBox3</cstring> 325 </property> 326 <property stdset="1"> 327 <name>title</name> 328 <string>X Motor</string> 329 </property> 330 <grid> 331 <property stdset="1"> 332 <name>margin</name> 333 <number>11</number> 334 </property> 335 <property stdset="1"> 336 <name>spacing</name> 337 <number>6</number> 338 </property> 339 <widget row="0" column="0" > 340 <class>QLabel</class> 341 <property stdset="1"> 342 <name>name</name> 343 <cstring>XAxisLabel</cstring> 344 </property> 345 <property stdset="1"> 346 <name>text</name> 347 <string>Axis :</string> 348 </property> 349 </widget> 350 <widget row="0" column="1" > 351 <class>QLineEdit</class> 352 <property stdset="1"> 353 <name>name</name> 354 <cstring>XAxisEdit</cstring> 355 </property> 356 <property stdset="1"> 357 <name>enabled</name> 358 <bool>false</bool> 359 </property> 360 <property stdset="1"> 361 <name>maxLength</name> 362 <number>10</number> 363 </property> 364 </widget> 365 <spacer row="0" column="2" > 366 <property> 367 <name>name</name> 368 <cstring>Spacer2</cstring> 369 </property> 370 <property stdset="1"> 371 <name>orientation</name> 372 <enum>Horizontal</enum> 373 </property> 374 <property stdset="1"> 375 <name>sizeType</name> 376 <enum>Expanding</enum> 377 </property> 378 <property> 379 <name>sizeHint</name> 380 <size> 381 <width>20</width> 382 <height>20</height> 383 </size> 384 </property> 385 </spacer> 386 <widget row="0" column="3" > 387 <class>QLabel</class> 388 <property stdset="1"> 389 <name>name</name> 390 <cstring>XSlopeLabel</cstring> 391 </property> 392 <property stdset="1"> 393 <name>text</name> 394 <string>Slope :</string> 395 </property> 396 </widget> 397 <widget row="0" column="4" > 398 <class>QLineEdit</class> 399 <property stdset="1"> 400 <name>name</name> 401 <cstring>XSlopeEdit</cstring> 402 </property> 403 <property stdset="1"> 404 <name>enabled</name> 405 <bool>false</bool> 406 </property> 407 <property stdset="1"> 408 <name>maxLength</name> 409 <number>10</number> 410 </property> 411 </widget> 412 <widget row="1" column="0" > 413 <class>QLabel</class> 414 <property stdset="1"> 415 <name>name</name> 416 <cstring>XRLabel</cstring> 417 </property> 418 <property stdset="1"> 419 <name>text</name> 420 <string>R :</string> 421 </property> 422 </widget> 423 <widget row="1" column="1" rowspan="1" colspan="4" > 424 <class>QLineEdit</class> 425 <property stdset="1"> 426 <name>name</name> 427 <cstring>XCorrelationEdit</cstring> 428 </property> 429 <property stdset="1"> 430 <name>enabled</name> 431 <bool>false</bool> 432 </property> 433 <property stdset="1"> 434 <name>maxLength</name> 435 <number>10</number> 436 </property> 437 </widget> 438 </grid> 439 </widget> 440 <widget> 441 <class>QGroupBox</class> 442 <property stdset="1"> 443 <name>name</name> 444 <cstring>YMotorBox</cstring> 445 </property> 446 <property stdset="1"> 447 <name>title</name> 448 <string>Y Motor</string> 449 </property> 450 <grid> 451 <property stdset="1"> 452 <name>margin</name> 453 <number>11</number> 454 </property> 455 <property stdset="1"> 456 <name>spacing</name> 457 <number>6</number> 458 </property> 459 <widget row="0" column="0" > 460 <class>QLabel</class> 461 <property stdset="1"> 462 <name>name</name> 463 <cstring>YAxisLabel</cstring> 464 </property> 465 <property stdset="1"> 466 <name>text</name> 467 <string>Axis :</string> 468 </property> 469 </widget> 470 <spacer row="0" column="2" > 471 <property> 472 <name>name</name> 473 <cstring>Spacer2_2</cstring> 474 </property> 475 <property stdset="1"> 476 <name>orientation</name> 477 <enum>Horizontal</enum> 478 </property> 479 <property stdset="1"> 480 <name>sizeType</name> 481 <enum>Expanding</enum> 482 </property> 483 <property> 484 <name>sizeHint</name> 485 <size> 486 <width>20</width> 487 <height>20</height> 488 </size> 489 </property> 490 </spacer> 491 <widget row="0" column="3" > 492 <class>QLabel</class> 493 <property stdset="1"> 494 <name>name</name> 495 <cstring>YSlopeLabel</cstring> 496 </property> 497 <property stdset="1"> 498 <name>text</name> 499 <string>Slope :</string> 500 </property> 501 </widget> 502 <widget row="0" column="4" > 503 <class>QLineEdit</class> 504 <property stdset="1"> 505 <name>name</name> 506 <cstring>YSlopeEdit</cstring> 507 </property> 508 <property stdset="1"> 509 <name>enabled</name> 510 <bool>false</bool> 511 </property> 512 <property stdset="1"> 513 <name>maxLength</name> 514 <number>10</number> 515 </property> 516 </widget> 517 <widget row="0" column="1" > 518 <class>QLineEdit</class> 519 <property stdset="1"> 520 <name>name</name> 521 <cstring>YAxisEdit</cstring> 522 </property> 523 <property stdset="1"> 524 <name>enabled</name> 525 <bool>false</bool> 526 </property> 527 <property stdset="1"> 528 <name>maxLength</name> 529 <number>10</number> 530 </property> 531 </widget> 532 <widget row="1" column="0" > 533 <class>QLabel</class> 534 <property stdset="1"> 535 <name>name</name> 536 <cstring>YRLabel</cstring> 537 </property> 538 <property stdset="1"> 539 <name>text</name> 540 <string>R :</string> 541 </property> 542 </widget> 543 <widget row="1" column="1" rowspan="1" colspan="4" > 544 <class>QLineEdit</class> 545 <property stdset="1"> 546 <name>name</name> 547 <cstring>YCorrelationEdit</cstring> 548 </property> 549 <property stdset="1"> 550 <name>enabled</name> 551 <bool>false</bool> 552 </property> 553 <property stdset="1"> 554 <name>maxLength</name> 555 <number>10</number> 556 </property> 557 </widget> 558 </grid> 559 </widget> 560 <widget> 561 <class>QGroupBox</class> 562 <property stdset="1"> 563 <name>name</name> 564 <cstring>ConversionGroup</cstring> 565 </property> 566 <property stdset="1"> 567 <name>title</name> 568 <string>Conversion (Steps / Pixel)</string> 569 </property> 570 <hbox> 571 <property stdset="1"> 572 <name>margin</name> 573 <number>11</number> 574 </property> 575 <property stdset="1"> 576 <name>spacing</name> 577 <number>6</number> 578 </property> 579 <widget> 580 <class>QLabel</class> 581 <property stdset="1"> 582 <name>name</name> 583 <cstring>XConvLabel</cstring> 584 </property> 585 <property stdset="1"> 586 <name>text</name> 587 <string>X :</string> 588 </property> 589 </widget> 590 <widget> 591 <class>QLineEdit</class> 592 <property stdset="1"> 593 <name>name</name> 594 <cstring>XConvEdit</cstring> 595 </property> 596 <property stdset="1"> 597 <name>enabled</name> 598 <bool>false</bool> 599 </property> 600 <property stdset="1"> 601 <name>maxLength</name> 602 <number>10</number> 603 </property> 604 </widget> 605 <spacer> 606 <property> 607 <name>name</name> 608 <cstring>Spacer2_4_2</cstring> 609 </property> 610 <property stdset="1"> 611 <name>orientation</name> 612 <enum>Horizontal</enum> 613 </property> 614 <property stdset="1"> 615 <name>sizeType</name> 616 <enum>Expanding</enum> 617 </property> 618 <property> 619 <name>sizeHint</name> 620 <size> 621 <width>20</width> 622 <height>20</height> 623 </size> 624 </property> 625 </spacer> 626 <widget> 627 <class>QLabel</class> 628 <property stdset="1"> 629 <name>name</name> 630 <cstring>YConvLabel</cstring> 631 </property> 632 <property stdset="1"> 633 <name>text</name> 634 <string>Y :</string> 635 </property> 636 </widget> 637 <widget> 638 <class>QLineEdit</class> 639 <property stdset="1"> 640 <name>name</name> 641 <cstring>YConvEdit</cstring> 642 </property> 643 <property stdset="1"> 644 <name>enabled</name> 645 <bool>false</bool> 646 </property> 647 <property stdset="1"> 648 <name>maxLength</name> 649 <number>10</number> 650 </property> 651 </widget> 652 </hbox> 653 </widget> 654 </vbox> 655 </widget> 656 <widget> 657 <class>QGroupBox</class> 658 <property stdset="1"> 659 <name>name</name> 660 <cstring>GlobalGroup</cstring> 661 </property> 662 <property stdset="1"> 663 <name>title</name> 664 <string>Global Reference</string> 665 </property> 666 <vbox> 667 <property stdset="1"> 668 <name>margin</name> 669 <number>11</number> 670 </property> 671 <property stdset="1"> 672 <name>spacing</name> 673 <number>6</number> 674 </property> 675 <widget> 676 <class>QLayoutWidget</class> 677 <property stdset="1"> 678 <name>name</name> 679 <cstring>Layout4</cstring> 680 </property> 681 <hbox> 682 <property stdset="1"> 683 <name>margin</name> 684 <number>0</number> 685 </property> 686 <property stdset="1"> 687 <name>spacing</name> 688 <number>6</number> 689 </property> 690 <widget> 691 <class>QLabel</class> 692 <property stdset="1"> 693 <name>name</name> 694 <cstring>XSpotLabel_2</cstring> 695 </property> 696 <property stdset="1"> 697 <name>text</name> 698 <string>X :</string> 699 </property> 700 </widget> 701 <widget> 702 <class>QLineEdit</class> 703 <property stdset="1"> 704 <name>name</name> 705 <cstring>XGRefEdit</cstring> 706 </property> 707 <property stdset="1"> 708 <name>enabled</name> 709 <bool>false</bool> 710 </property> 711 <property stdset="1"> 712 <name>text</name> 713 <string>-1</string> 714 </property> 715 <property stdset="1"> 716 <name>maxLength</name> 717 <number>3</number> 718 </property> 719 </widget> 720 <spacer> 721 <property> 722 <name>name</name> 723 <cstring>Spacer2_4_3</cstring> 724 </property> 725 <property stdset="1"> 726 <name>orientation</name> 727 <enum>Horizontal</enum> 728 </property> 729 <property stdset="1"> 730 <name>sizeType</name> 731 <enum>Expanding</enum> 732 </property> 733 <property> 734 <name>sizeHint</name> 735 <size> 736 <width>20</width> 737 <height>20</height> 738 </size> 739 </property> 740 </spacer> 741 <widget> 742 <class>QLabel</class> 743 <property stdset="1"> 744 <name>name</name> 745 <cstring>YSpotLabel_2</cstring> 746 </property> 747 <property stdset="1"> 748 <name>text</name> 749 <string>Y :</string> 750 </property> 751 </widget> 752 <widget> 753 <class>QLineEdit</class> 754 <property stdset="1"> 755 <name>name</name> 756 <cstring>YGRefEdit</cstring> 757 </property> 758 <property stdset="1"> 759 <name>enabled</name> 760 <bool>false</bool> 761 </property> 762 <property stdset="1"> 763 <name>text</name> 764 <string>-1</string> 765 </property> 766 <property stdset="1"> 767 <name>maxLength</name> 768 <number>3</number> 769 </property> 770 </widget> 771 </hbox> 772 </widget> 773 <widget> 774 <class>QLayoutWidget</class> 775 <property stdset="1"> 776 <name>name</name> 777 <cstring>Layout5</cstring> 778 </property> 779 <hbox> 780 <property stdset="1"> 781 <name>margin</name> 782 <number>0</number> 783 </property> 784 <property stdset="1"> 785 <name>spacing</name> 786 <number>6</number> 787 </property> 788 <spacer> 789 <property> 790 <name>name</name> 791 <cstring>Spacer11_2</cstring> 792 </property> 793 <property stdset="1"> 794 <name>orientation</name> 795 <enum>Horizontal</enum> 796 </property> 797 <property stdset="1"> 798 <name>sizeType</name> 799 <enum>Expanding</enum> 800 </property> 801 <property> 802 <name>sizeHint</name> 803 <size> 804 <width>20</width> 805 <height>20</height> 806 </size> 807 </property> 808 </spacer> 809 <widget> 810 <class>QPushButton</class> 811 <property stdset="1"> 812 <name>name</name> 813 <cstring>buttonGoto</cstring> 814 </property> 815 <property stdset="1"> 816 <name>enabled</name> 817 <bool>false</bool> 818 </property> 819 <property stdset="1"> 820 <name>text</name> 821 <string>Goto Reference</string> 822 </property> 823 </widget> 824 <spacer> 825 <property> 826 <name>name</name> 827 <cstring>Spacer12_2</cstring> 828 </property> 829 <property stdset="1"> 830 <name>orientation</name> 831 <enum>Horizontal</enum> 832 </property> 833 <property stdset="1"> 834 <name>sizeType</name> 835 <enum>Expanding</enum> 836 </property> 837 <property> 838 <name>sizeHint</name> 839 <size> 840 <width>20</width> 841 <height>20</height> 842 </size> 843 </property> 844 </spacer> 845 </hbox> 846 </widget> 847 </vbox> 848 </widget> 849 <spacer> 850 <property> 851 <name>name</name> 852 <cstring>Spacer11</cstring> 853 </property> 854 <property stdset="1"> 855 <name>orientation</name> 856 <enum>Vertical</enum> 857 </property> 858 <property stdset="1"> 859 <name>sizeType</name> 860 <enum>Expanding</enum> 861 </property> 862 <property> 863 <name>sizeHint</name> 864 <size> 865 <width>20</width> 866 <height>20</height> 867 </size> 868 </property> 869 </spacer> 870 <widget> 871 <class>QLayoutWidget</class> 872 <property stdset="1"> 873 <name>name</name> 874 <cstring>Layout3</cstring> 875 </property> 876 <hbox> 877 <property stdset="1"> 878 <name>margin</name> 879 <number>0</number> 880 </property> 881 <property stdset="1"> 882 <name>spacing</name> 883 <number>6</number> 884 </property> 885 <widget> 886 <class>QPushButton</class> 887 <property stdset="1"> 888 <name>name</name> 889 <cstring>buttonStart</cstring> 890 </property> 891 <property stdset="1"> 892 <name>text</name> 893 <string>&Start</string> 894 </property> 895 <property stdset="1"> 896 <name>autoDefault</name> 897 <bool>true</bool> 898 </property> 899 </widget> 900 <spacer> 901 <property> 902 <name>name</name> 903 <cstring>Horizontal Spacing2</cstring> 904 </property> 905 <property stdset="1"> 906 <name>orientation</name> 907 <enum>Horizontal</enum> 908 </property> 909 <property stdset="1"> 910 <name>sizeType</name> 911 <enum>Expanding</enum> 912 </property> 913 <property> 914 <name>sizeHint</name> 915 <size> 916 <width>20</width> 917 <height>20</height> 918 </size> 919 </property> 920 </spacer> 921 <widget> 922 <class>QPushButton</class> 923 <property stdset="1"> 924 <name>name</name> 925 <cstring>buttonOk</cstring> 926 </property> 927 <property stdset="1"> 928 <name>caption</name> 929 <string></string> 930 </property> 931 <property stdset="1"> 932 <name>text</name> 933 <string>Exit</string> 934 </property> 935 <property stdset="1"> 936 <name>autoDefault</name> 937 <bool>true</bool> 938 </property> 939 <property stdset="1"> 940 <name>default</name> 941 <bool>true</bool> 942 </property> 943 </widget> 944 </hbox> 945 </widget> 946 </vbox> 947 </widget> 35 948 <widget row="0" column="0" > 36 949 <class>QFrame</class> … … 553 1466 </hbox> 554 1467 </widget> 555 <widget row="1" column="1" >556 <class>QLayoutWidget</class>557 <property stdset="1">558 <name>name</name>559 <cstring>Layout5</cstring>560 </property>561 <vbox>562 <property stdset="1">563 <name>margin</name>564 <number>0</number>565 </property>566 <property stdset="1">567 <name>spacing</name>568 <number>6</number>569 </property>570 <spacer>571 <property>572 <name>name</name>573 <cstring>Spacer12</cstring>574 </property>575 <property stdset="1">576 <name>orientation</name>577 <enum>Vertical</enum>578 </property>579 <property stdset="1">580 <name>sizeType</name>581 <enum>Expanding</enum>582 </property>583 <property>584 <name>sizeHint</name>585 <size>586 <width>20</width>587 <height>20</height>588 </size>589 </property>590 </spacer>591 <widget>592 <class>QLayoutWidget</class>593 <property stdset="1">594 <name>name</name>595 <cstring>Layout3</cstring>596 </property>597 <hbox>598 <property stdset="1">599 <name>margin</name>600 <number>0</number>601 </property>602 <property stdset="1">603 <name>spacing</name>604 <number>6</number>605 </property>606 <widget>607 <class>QPushButton</class>608 <property stdset="1">609 <name>name</name>610 <cstring>buttonStart</cstring>611 </property>612 <property stdset="1">613 <name>text</name>614 <string>&Start</string>615 </property>616 <property stdset="1">617 <name>autoDefault</name>618 <bool>true</bool>619 </property>620 </widget>621 <spacer>622 <property>623 <name>name</name>624 <cstring>Horizontal Spacing2</cstring>625 </property>626 <property stdset="1">627 <name>orientation</name>628 <enum>Horizontal</enum>629 </property>630 <property stdset="1">631 <name>sizeType</name>632 <enum>Expanding</enum>633 </property>634 <property>635 <name>sizeHint</name>636 <size>637 <width>20</width>638 <height>20</height>639 </size>640 </property>641 </spacer>642 <widget>643 <class>QPushButton</class>644 <property stdset="1">645 <name>name</name>646 <cstring>buttonOk</cstring>647 </property>648 <property stdset="1">649 <name>caption</name>650 <string></string>651 </property>652 <property stdset="1">653 <name>text</name>654 <string>Exit</string>655 </property>656 <property stdset="1">657 <name>autoDefault</name>658 <bool>true</bool>659 </property>660 <property stdset="1">661 <name>default</name>662 <bool>true</bool>663 </property>664 </widget>665 </hbox>666 </widget>667 </vbox>668 </widget>669 <widget row="0" column="1" >670 <class>QLayoutWidget</class>671 <property stdset="1">672 <name>name</name>673 <cstring>Layout6</cstring>674 </property>675 <vbox>676 <property stdset="1">677 <name>margin</name>678 <number>0</number>679 </property>680 <property stdset="1">681 <name>spacing</name>682 <number>6</number>683 </property>684 <widget>685 <class>QGroupBox</class>686 <property stdset="1">687 <name>name</name>688 <cstring>GroupBox1</cstring>689 </property>690 <property stdset="1">691 <name>title</name>692 <string>Panel Info</string>693 </property>694 <vbox>695 <property stdset="1">696 <name>margin</name>697 <number>11</number>698 </property>699 <property stdset="1">700 <name>spacing</name>701 <number>6</number>702 </property>703 <widget>704 <class>QButtonGroup</class>705 <property stdset="1">706 <name>name</name>707 <cstring>ButtonGroup1</cstring>708 </property>709 <property stdset="1">710 <name>frameShape</name>711 <enum>NoFrame</enum>712 </property>713 <property stdset="1">714 <name>title</name>715 <string></string>716 </property>717 <grid>718 <property stdset="1">719 <name>margin</name>720 <number>11</number>721 </property>722 <property stdset="1">723 <name>spacing</name>724 <number>6</number>725 </property>726 <widget row="0" column="1" >727 <class>QProgressBar</class>728 <property stdset="1">729 <name>name</name>730 <cstring>PanelProgress</cstring>731 </property>732 <property stdset="1">733 <name>sizePolicy</name>734 <sizepolicy>735 <hsizetype>7</hsizetype>736 <vsizetype>3</vsizetype>737 </sizepolicy>738 </property>739 <property stdset="1">740 <name>minimumSize</name>741 <size>742 <width>10</width>743 <height>0</height>744 </size>745 </property>746 <property stdset="1">747 <name>frameShape</name>748 <enum>WinPanel</enum>749 </property>750 </widget>751 <widget row="0" column="0" >752 <class>QLabel</class>753 <property stdset="1">754 <name>name</name>755 <cstring>TextLabel1</cstring>756 </property>757 <property stdset="1">758 <name>text</name>759 <string>Progress</string>760 </property>761 </widget>762 </grid>763 </widget>764 <widget>765 <class>QGroupBox</class>766 <property stdset="1">767 <name>name</name>768 <cstring>PanelBox</cstring>769 </property>770 <property stdset="1">771 <name>title</name>772 <string>Panel</string>773 </property>774 <hbox>775 <property stdset="1">776 <name>margin</name>777 <number>11</number>778 </property>779 <property stdset="1">780 <name>spacing</name>781 <number>6</number>782 </property>783 <widget>784 <class>QLabel</class>785 <property stdset="1">786 <name>name</name>787 <cstring>PortLabel</cstring>788 </property>789 <property stdset="1">790 <name>text</name>791 <string>Port: --</string>792 </property>793 </widget>794 <spacer>795 <property>796 <name>name</name>797 <cstring>Spacer4</cstring>798 </property>799 <property stdset="1">800 <name>orientation</name>801 <enum>Horizontal</enum>802 </property>803 <property stdset="1">804 <name>sizeType</name>805 <enum>Expanding</enum>806 </property>807 <property>808 <name>sizeHint</name>809 <size>810 <width>20</width>811 <height>20</height>812 </size>813 </property>814 </spacer>815 <widget>816 <class>QLabel</class>817 <property stdset="1">818 <name>name</name>819 <cstring>BoxLabel</cstring>820 </property>821 <property stdset="1">822 <name>text</name>823 <string>Box: --</string>824 </property>825 </widget>826 <spacer>827 <property>828 <name>name</name>829 <cstring>Spacer5</cstring>830 </property>831 <property stdset="1">832 <name>orientation</name>833 <enum>Horizontal</enum>834 </property>835 <property stdset="1">836 <name>sizeType</name>837 <enum>Expanding</enum>838 </property>839 <property>840 <name>sizeHint</name>841 <size>842 <width>20</width>843 <height>20</height>844 </size>845 </property>846 </spacer>847 <widget>848 <class>QLabel</class>849 <property stdset="1">850 <name>name</name>851 <cstring>DriverLabel</cstring>852 </property>853 <property stdset="1">854 <name>text</name>855 <string>Driver: --</string>856 </property>857 </widget>858 </hbox>859 </widget>860 <widget>861 <class>QGroupBox</class>862 <property stdset="1">863 <name>name</name>864 <cstring>GroupBox3_3</cstring>865 </property>866 <property stdset="1">867 <name>title</name>868 <string>Spot</string>869 </property>870 <hbox>871 <property stdset="1">872 <name>margin</name>873 <number>11</number>874 </property>875 <property stdset="1">876 <name>spacing</name>877 <number>6</number>878 </property>879 <widget>880 <class>QLabel</class>881 <property stdset="1">882 <name>name</name>883 <cstring>XSpotLabel</cstring>884 </property>885 <property stdset="1">886 <name>text</name>887 <string>X :</string>888 </property>889 </widget>890 <widget>891 <class>QLineEdit</class>892 <property stdset="1">893 <name>name</name>894 <cstring>XSpotEdit</cstring>895 </property>896 <property stdset="1">897 <name>enabled</name>898 <bool>false</bool>899 </property>900 <property stdset="1">901 <name>maxLength</name>902 <number>3</number>903 </property>904 </widget>905 <spacer>906 <property>907 <name>name</name>908 <cstring>Spacer2_4</cstring>909 </property>910 <property stdset="1">911 <name>orientation</name>912 <enum>Horizontal</enum>913 </property>914 <property stdset="1">915 <name>sizeType</name>916 <enum>Expanding</enum>917 </property>918 <property>919 <name>sizeHint</name>920 <size>921 <width>20</width>922 <height>20</height>923 </size>924 </property>925 </spacer>926 <widget>927 <class>QLabel</class>928 <property stdset="1">929 <name>name</name>930 <cstring>YSpotLabel</cstring>931 </property>932 <property stdset="1">933 <name>text</name>934 <string>Y :</string>935 </property>936 </widget>937 <widget>938 <class>QLineEdit</class>939 <property stdset="1">940 <name>name</name>941 <cstring>YSpotEdit</cstring>942 </property>943 <property stdset="1">944 <name>enabled</name>945 <bool>false</bool>946 </property>947 <property stdset="1">948 <name>maxLength</name>949 <number>3</number>950 </property>951 </widget>952 </hbox>953 </widget>954 <widget>955 <class>QGroupBox</class>956 <property stdset="1">957 <name>name</name>958 <cstring>GroupBox3</cstring>959 </property>960 <property stdset="1">961 <name>title</name>962 <string>X Motor</string>963 </property>964 <hbox>965 <property stdset="1">966 <name>margin</name>967 <number>11</number>968 </property>969 <property stdset="1">970 <name>spacing</name>971 <number>6</number>972 </property>973 <widget>974 <class>QLabel</class>975 <property stdset="1">976 <name>name</name>977 <cstring>XAxisLabel</cstring>978 </property>979 <property stdset="1">980 <name>text</name>981 <string>Axis :</string>982 </property>983 </widget>984 <widget>985 <class>QLineEdit</class>986 <property stdset="1">987 <name>name</name>988 <cstring>XAxisEdit</cstring>989 </property>990 <property stdset="1">991 <name>enabled</name>992 <bool>false</bool>993 </property>994 <property stdset="1">995 <name>maxLength</name>996 <number>10</number>997 </property>998 </widget>999 <spacer>1000 <property>1001 <name>name</name>1002 <cstring>Spacer2</cstring>1003 </property>1004 <property stdset="1">1005 <name>orientation</name>1006 <enum>Horizontal</enum>1007 </property>1008 <property stdset="1">1009 <name>sizeType</name>1010 <enum>Expanding</enum>1011 </property>1012 <property>1013 <name>sizeHint</name>1014 <size>1015 <width>20</width>1016 <height>20</height>1017 </size>1018 </property>1019 </spacer>1020 <widget>1021 <class>QLabel</class>1022 <property stdset="1">1023 <name>name</name>1024 <cstring>XSlopeLabel</cstring>1025 </property>1026 <property stdset="1">1027 <name>text</name>1028 <string>Slope :</string>1029 </property>1030 </widget>1031 <widget>1032 <class>QLineEdit</class>1033 <property stdset="1">1034 <name>name</name>1035 <cstring>XSlopeEdit</cstring>1036 </property>1037 <property stdset="1">1038 <name>enabled</name>1039 <bool>false</bool>1040 </property>1041 <property stdset="1">1042 <name>maxLength</name>1043 <number>10</number>1044 </property>1045 </widget>1046 </hbox>1047 </widget>1048 <widget>1049 <class>QGroupBox</class>1050 <property stdset="1">1051 <name>name</name>1052 <cstring>YMotorBox</cstring>1053 </property>1054 <property stdset="1">1055 <name>title</name>1056 <string>Y Motor</string>1057 </property>1058 <hbox>1059 <property stdset="1">1060 <name>margin</name>1061 <number>11</number>1062 </property>1063 <property stdset="1">1064 <name>spacing</name>1065 <number>6</number>1066 </property>1067 <widget>1068 <class>QLabel</class>1069 <property stdset="1">1070 <name>name</name>1071 <cstring>YAxisLabel</cstring>1072 </property>1073 <property stdset="1">1074 <name>text</name>1075 <string>Axis :</string>1076 </property>1077 </widget>1078 <widget>1079 <class>QLineEdit</class>1080 <property stdset="1">1081 <name>name</name>1082 <cstring>YAxisEdit</cstring>1083 </property>1084 <property stdset="1">1085 <name>enabled</name>1086 <bool>false</bool>1087 </property>1088 <property stdset="1">1089 <name>maxLength</name>1090 <number>10</number>1091 </property>1092 </widget>1093 <spacer>1094 <property>1095 <name>name</name>1096 <cstring>Spacer2_2</cstring>1097 </property>1098 <property stdset="1">1099 <name>orientation</name>1100 <enum>Horizontal</enum>1101 </property>1102 <property stdset="1">1103 <name>sizeType</name>1104 <enum>Expanding</enum>1105 </property>1106 <property>1107 <name>sizeHint</name>1108 <size>1109 <width>20</width>1110 <height>20</height>1111 </size>1112 </property>1113 </spacer>1114 <widget>1115 <class>QLabel</class>1116 <property stdset="1">1117 <name>name</name>1118 <cstring>YSlopeLabel</cstring>1119 </property>1120 <property stdset="1">1121 <name>text</name>1122 <string>Slope :</string>1123 </property>1124 </widget>1125 <widget>1126 <class>QLineEdit</class>1127 <property stdset="1">1128 <name>name</name>1129 <cstring>YSlopeEdit</cstring>1130 </property>1131 <property stdset="1">1132 <name>enabled</name>1133 <bool>false</bool>1134 </property>1135 <property stdset="1">1136 <name>maxLength</name>1137 <number>10</number>1138 </property>1139 </widget>1140 </hbox>1141 </widget>1142 <widget>1143 <class>QGroupBox</class>1144 <property stdset="1">1145 <name>name</name>1146 <cstring>ConversionGroup</cstring>1147 </property>1148 <property stdset="1">1149 <name>title</name>1150 <string>Conversion (Steps / Pixel)</string>1151 </property>1152 <hbox>1153 <property stdset="1">1154 <name>margin</name>1155 <number>11</number>1156 </property>1157 <property stdset="1">1158 <name>spacing</name>1159 <number>6</number>1160 </property>1161 <widget>1162 <class>QLabel</class>1163 <property stdset="1">1164 <name>name</name>1165 <cstring>XConvLabel</cstring>1166 </property>1167 <property stdset="1">1168 <name>text</name>1169 <string>X :</string>1170 </property>1171 </widget>1172 <widget>1173 <class>QLineEdit</class>1174 <property stdset="1">1175 <name>name</name>1176 <cstring>XConvEdit</cstring>1177 </property>1178 <property stdset="1">1179 <name>enabled</name>1180 <bool>false</bool>1181 </property>1182 <property stdset="1">1183 <name>maxLength</name>1184 <number>10</number>1185 </property>1186 </widget>1187 <spacer>1188 <property>1189 <name>name</name>1190 <cstring>Spacer2_4_2</cstring>1191 </property>1192 <property stdset="1">1193 <name>orientation</name>1194 <enum>Horizontal</enum>1195 </property>1196 <property stdset="1">1197 <name>sizeType</name>1198 <enum>Expanding</enum>1199 </property>1200 <property>1201 <name>sizeHint</name>1202 <size>1203 <width>20</width>1204 <height>20</height>1205 </size>1206 </property>1207 </spacer>1208 <widget>1209 <class>QLabel</class>1210 <property stdset="1">1211 <name>name</name>1212 <cstring>YConvLabel</cstring>1213 </property>1214 <property stdset="1">1215 <name>text</name>1216 <string>Y :</string>1217 </property>1218 </widget>1219 <widget>1220 <class>QLineEdit</class>1221 <property stdset="1">1222 <name>name</name>1223 <cstring>YConvEdit</cstring>1224 </property>1225 <property stdset="1">1226 <name>enabled</name>1227 <bool>false</bool>1228 </property>1229 <property stdset="1">1230 <name>maxLength</name>1231 <number>10</number>1232 </property>1233 </widget>1234 </hbox>1235 </widget>1236 </vbox>1237 </widget>1238 <widget>1239 <class>QGroupBox</class>1240 <property stdset="1">1241 <name>name</name>1242 <cstring>GlobalGroup</cstring>1243 </property>1244 <property stdset="1">1245 <name>title</name>1246 <string>Global Reference</string>1247 </property>1248 <vbox>1249 <property stdset="1">1250 <name>margin</name>1251 <number>11</number>1252 </property>1253 <property stdset="1">1254 <name>spacing</name>1255 <number>6</number>1256 </property>1257 <widget>1258 <class>QLayoutWidget</class>1259 <property stdset="1">1260 <name>name</name>1261 <cstring>Layout4</cstring>1262 </property>1263 <hbox>1264 <property stdset="1">1265 <name>margin</name>1266 <number>0</number>1267 </property>1268 <property stdset="1">1269 <name>spacing</name>1270 <number>6</number>1271 </property>1272 <widget>1273 <class>QLabel</class>1274 <property stdset="1">1275 <name>name</name>1276 <cstring>XSpotLabel_2</cstring>1277 </property>1278 <property stdset="1">1279 <name>text</name>1280 <string>X :</string>1281 </property>1282 </widget>1283 <widget>1284 <class>QLineEdit</class>1285 <property stdset="1">1286 <name>name</name>1287 <cstring>XGRefEdit</cstring>1288 </property>1289 <property stdset="1">1290 <name>enabled</name>1291 <bool>false</bool>1292 </property>1293 <property stdset="1">1294 <name>text</name>1295 <string>-1</string>1296 </property>1297 <property stdset="1">1298 <name>maxLength</name>1299 <number>3</number>1300 </property>1301 </widget>1302 <spacer>1303 <property>1304 <name>name</name>1305 <cstring>Spacer2_4_3</cstring>1306 </property>1307 <property stdset="1">1308 <name>orientation</name>1309 <enum>Horizontal</enum>1310 </property>1311 <property stdset="1">1312 <name>sizeType</name>1313 <enum>Expanding</enum>1314 </property>1315 <property>1316 <name>sizeHint</name>1317 <size>1318 <width>20</width>1319 <height>20</height>1320 </size>1321 </property>1322 </spacer>1323 <widget>1324 <class>QLabel</class>1325 <property stdset="1">1326 <name>name</name>1327 <cstring>YSpotLabel_2</cstring>1328 </property>1329 <property stdset="1">1330 <name>text</name>1331 <string>Y :</string>1332 </property>1333 </widget>1334 <widget>1335 <class>QLineEdit</class>1336 <property stdset="1">1337 <name>name</name>1338 <cstring>YGRefEdit</cstring>1339 </property>1340 <property stdset="1">1341 <name>enabled</name>1342 <bool>false</bool>1343 </property>1344 <property stdset="1">1345 <name>text</name>1346 <string>-1</string>1347 </property>1348 <property stdset="1">1349 <name>maxLength</name>1350 <number>3</number>1351 </property>1352 </widget>1353 </hbox>1354 </widget>1355 <widget>1356 <class>QLayoutWidget</class>1357 <property stdset="1">1358 <name>name</name>1359 <cstring>Layout5</cstring>1360 </property>1361 <hbox>1362 <property stdset="1">1363 <name>margin</name>1364 <number>0</number>1365 </property>1366 <property stdset="1">1367 <name>spacing</name>1368 <number>6</number>1369 </property>1370 <spacer>1371 <property>1372 <name>name</name>1373 <cstring>Spacer11_2</cstring>1374 </property>1375 <property stdset="1">1376 <name>orientation</name>1377 <enum>Horizontal</enum>1378 </property>1379 <property stdset="1">1380 <name>sizeType</name>1381 <enum>Expanding</enum>1382 </property>1383 <property>1384 <name>sizeHint</name>1385 <size>1386 <width>20</width>1387 <height>20</height>1388 </size>1389 </property>1390 </spacer>1391 <widget>1392 <class>QPushButton</class>1393 <property stdset="1">1394 <name>name</name>1395 <cstring>buttonGoto</cstring>1396 </property>1397 <property stdset="1">1398 <name>enabled</name>1399 <bool>false</bool>1400 </property>1401 <property stdset="1">1402 <name>text</name>1403 <string>Goto Reference</string>1404 </property>1405 </widget>1406 <spacer>1407 <property>1408 <name>name</name>1409 <cstring>Spacer12_2</cstring>1410 </property>1411 <property stdset="1">1412 <name>orientation</name>1413 <enum>Horizontal</enum>1414 </property>1415 <property stdset="1">1416 <name>sizeType</name>1417 <enum>Expanding</enum>1418 </property>1419 <property>1420 <name>sizeHint</name>1421 <size>1422 <width>20</width>1423 <height>20</height>1424 </size>1425 </property>1426 </spacer>1427 </hbox>1428 </widget>1429 </vbox>1430 </widget>1431 <spacer>1432 <property>1433 <name>name</name>1434 <cstring>Spacer11</cstring>1435 </property>1436 <property stdset="1">1437 <name>orientation</name>1438 <enum>Vertical</enum>1439 </property>1440 <property stdset="1">1441 <name>sizeType</name>1442 <enum>Expanding</enum>1443 </property>1444 <property>1445 <name>sizeHint</name>1446 <size>1447 <width>20</width>1448 <height>20</height>1449 </size>1450 </property>1451 </spacer>1452 </vbox>1453 </widget>1454 1468 </grid> 1455 1469 </widget>
Note:
See TracChangeset
for help on using the changeset viewer.