@@ -78,9 +78,9 @@ QTableWidgetItem** DlgCheckError::addTableWidgetItem(const int i)
7878 QTableWidgetItem** items = new QTableWidgetItem*[6 ];
7979 items[0 ] = new QTableWidgetItem (QString (" %1" ).arg (i+1 ));
8080 items[1 ] = new QTableWidgetItem (" 0x0" );
81- items[2 ] = new QTableWidgetItem (" 0.000 ¡À 0.000" );
82- items[3 ] = new QTableWidgetItem (" 0.000 ¡À 0.000" );
83- items[4 ] = new QTableWidgetItem (" 0.000 ¡À 0.000" );
81+ items[2 ] = new QTableWidgetItem (QString::fromLocal8Bit ( " 0.000 ¡À 0.000" ) );
82+ items[3 ] = new QTableWidgetItem (QString::fromLocal8Bit ( " 0.000 ¡À 0.000" ) );
83+ items[4 ] = new QTableWidgetItem (QString::fromLocal8Bit ( " 0.000 ¡À 0.000" ) );
8484 items[5 ] = new QTableWidgetItem (" --" );
8585
8686 for (int ii=0 ; ii<5 ; ++ii) {
@@ -194,9 +194,9 @@ void DlgCheckError::calErr(const cameraScene *scene)
194194 projPts.clear ();
195195
196196 items[1 ]->setText (QString (" %1*%2" ).arg (nx).arg (ny));
197- items[2 ]->setText (QString (" %1 ¡À %2" ).arg (ux,5 ,' g' ,3 ,' 0' ).arg (dx,5 ,' g' ,3 ,' 0' ));
198- items[3 ]->setText (QString (" %1 ¡À %2" ).arg (uy,5 ,' g' ,3 ,' 0' ).arg (dy,5 ,' g' ,3 ,' 0' ));
199- items[4 ]->setText (QString (" %1 ¡À %2" ).arg (ud,5 ,' g' ,3 ,' 0' ).arg (dd,5 ,' g' ,3 ,' 0' ));
197+ items[2 ]->setText (QString::fromLocal8Bit (" %1 ¡À %2" ).arg (ux,5 ,' g' ,3 ,' 0' ).arg (dx,5 ,' g' ,3 ,' 0' ));
198+ items[3 ]->setText (QString::fromLocal8Bit (" %1 ¡À %2" ).arg (uy,5 ,' g' ,3 ,' 0' ).arg (dy,5 ,' g' ,3 ,' 0' ));
199+ items[4 ]->setText (QString::fromLocal8Bit (" %1 ¡À %2" ).arg (ud,5 ,' g' ,3 ,' 0' ).arg (dd,5 ,' g' ,3 ,' 0' ));
200200 }
201201 items[5 ]->setText (view->getFileName ());
202202 delete[] items;
@@ -206,9 +206,9 @@ void DlgCheckError::calErr(const cameraScene *scene)
206206 myMeanStdDev (totalErr,ux,uy,ud,dx,dy,dd);
207207 items[0 ]->setText (" Total" );
208208 items[1 ]->setText (QString (" %1" ).arg (totalErr.size ()));
209- items[2 ]->setText (QString (" %1 ¡À %2" ).arg (ux,5 ,' g' ,3 ,' 0' ).arg (dx,5 ,' g' ,3 ,' 0' ));
210- items[3 ]->setText (QString (" %1 ¡À %2" ).arg (uy,5 ,' g' ,3 ,' 0' ).arg (dy,5 ,' g' ,3 ,' 0' ));
211- items[4 ]->setText (QString (" %1 ¡À %2" ).arg (ud,5 ,' g' ,3 ,' 0' ).arg (dd,5 ,' g' ,3 ,' 0' ));
209+ items[2 ]->setText (QString::fromLocal8Bit (" %1 ¡À %2" ).arg (ux,5 ,' g' ,3 ,' 0' ).arg (dx,5 ,' g' ,3 ,' 0' ));
210+ items[3 ]->setText (QString::fromLocal8Bit (" %1 ¡À %2" ).arg (uy,5 ,' g' ,3 ,' 0' ).arg (dy,5 ,' g' ,3 ,' 0' ));
211+ items[4 ]->setText (QString::fromLocal8Bit (" %1 ¡À %2" ).arg (ud,5 ,' g' ,3 ,' 0' ).arg (dd,5 ,' g' ,3 ,' 0' ));
212212 totalErr.clear ();
213213 delete[] items;
214214}
0 commit comments