218 int maxErr, minErr, idx;
223 for (idx = 0; idx<
ui->TestList->count(); idx++) {
224 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
225 ui->TestList->item(idx)->setText(QString(
"Test %1: total error: %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole).toDouble()));
231 for (idx = 0; idx<
ui->TestList->count(); idx++) {
232 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
233 ui->TestList->item(idx)->setText(QString(
"Test %1: period (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+1).toDouble()));
239 for (idx = 0; idx<
ui->TestList->count(); idx++) {
240 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
241 ui->TestList->item(idx)->setText(QString(
"Test %1: a (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+2).toDouble()));
247 for (idx = 0; idx<
ui->TestList->count(); idx++) {
248 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
249 ui->TestList->item(idx)->setText(QString(
"Test %1: e (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+3).toDouble()));
255 for (idx = 0; idx<
ui->TestList->count(); idx++) {
256 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
257 ui->TestList->item(idx)->setText(QString(
"Test %1: h (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+4).toDouble()));
263 for (idx = 0; idx<
ui->TestList->count(); idx++) {
264 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
265 ui->TestList->item(idx)->setText(QString(
"Test %1: beta (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+7).toDouble()));
271 for (idx = 0; idx<
ui->TestList->count(); idx++) {
272 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
273 ui->TestList->item(idx)->setText(QString(
"Test %1: eta (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+8).toDouble()));
279 for (idx = 0; idx<
ui->TestList->count(); idx++) {
280 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
281 ui->TestList->item(idx)->setText(QString(
"Test %1: i (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+9).toDouble()));
287 for (idx = 0; idx<
ui->TestList->count(); idx++) {
288 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
289 ui->TestList->item(idx)->setText(QString(
"Test %1: raan (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+10).toDouble()));
295 for (idx = 0; idx<
ui->TestList->count(); idx++) {
296 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
297 ui->TestList->item(idx)->setText(QString(
"Test %1: ap (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+11).toDouble()));
303 for (idx = 0; idx<
ui->TestList->count(); idx++) {
304 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
305 ui->TestList->item(idx)->setText(QString(
"Test %1: alat (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+12).toDouble()));
311 for (idx = 0; idx<
ui->TestList->count(); idx++) {
312 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
313 ui->TestList->item(idx)->setText(QString(
"Test %1: ma (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+13).toDouble()));
319 for (idx = 0; idx<
ui->TestList->count(); idx++) {
320 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
321 ui->TestList->item(idx)->setText(QString(
"Test %1: ta (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+14).toDouble()));
327 for (idx = 0; idx<
ui->TestList->count(); idx++) {
328 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
329 ui->TestList->item(idx)->setText(QString(
"Test %1: ea (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+15).toDouble()));
335 for (idx = 0; idx<
ui->TestList->count(); idx++) {
336 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
337 ui->TestList->item(idx)->setText(QString(
"Test %1: mm (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+16).toDouble()));
344 for (idx = 0; idx<
ui->TestList->count(); idx++) {
345 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
346 ui->TestList->item(idx)->setText(QString(
"Test %1: fa (error): %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+17).toDouble()));
352 for (idx = 0; idx<
ui->TestList->count(); idx++) {
353 ui->TestList->item(idx)->setBackground(Qt::NoBrush);
354 ui->TestList->item(idx)->setText(QString(
"Test %1: total error: %2 %").arg(idx+1).arg(
ui->TestList->item(idx)->data(Qt::UserRole+
kepdelta_address+18).toDouble()));
358 ui->testsOverview->setText(QString(
"Max error in #%1 Min error in #%2").arg(maxErr+1).arg(minErr+1));
359 ui->TestList->item(maxErr)->setBackground(Qt::red);
360 ui->TestList->item(minErr)->setBackground(Qt::darkGreen);
int ea_maxErr
Definition: eci2kep_test.h:59
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
int alat_minErr
Definition: eci2kep_test.h:60
Definition: eci2kep_test.cpp:33
int e_minErr
Definition: eci2kep_test.h:60
int ta_minErr
Definition: eci2kep_test.h:60
int a_minErr
Definition: eci2kep_test.h:60
int kepdelta_address
Definition: eci2kep_test.cpp:34
int test_maxErr
Definition: eci2kep_test.h:59
int ta_maxErr
Definition: eci2kep_test.h:59
int period_maxErr
Definition: eci2kep_test.h:59
int raan_minErr
Definition: eci2kep_test.h:60
int ma_maxErr
Definition: eci2kep_test.h:59
int a_maxErr
Definition: eci2kep_test.h:59
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
int test_minErr
Definition: eci2kep_test.h:60
int ap_minErr
Definition: eci2kep_test.h:60
int fa_maxErr
Definition: eci2kep_test.h:59
int ap_maxErr
Definition: eci2kep_test.h:59
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
int ea_minErr
Definition: eci2kep_test.h:60
int i_minErr
Definition: eci2kep_test.h:60
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
int h_minErr
Definition: eci2kep_test.h:60
int eta_minErr
Definition: eci2kep_test.h:60
Definition: eci2kep_test.cpp:33
Definition: eci2kep_test.cpp:33
int period_minErr
Definition: eci2kep_test.h:60
int i_maxErr
Definition: eci2kep_test.h:59
Definition: eci2kep_test.cpp:33
int ma_minErr
Definition: eci2kep_test.h:60
Ui::eci2kep_test * ui
Definition: eci2kep_test.h:57
int e_maxErr
Definition: eci2kep_test.h:59
int beta_minErr
Definition: eci2kep_test.h:60
int mm_maxErr
Definition: eci2kep_test.h:59
int fa_minErr
Definition: eci2kep_test.h:60
int raan_maxErr
Definition: eci2kep_test.h:59
int eta_maxErr
Definition: eci2kep_test.h:59
int alat_maxErr
Definition: eci2kep_test.h:59
int beta_maxErr
Definition: eci2kep_test.h:59
int h_maxErr
Definition: eci2kep_test.h:59
Definition: eci2kep_test.cpp:33
int mm_minErr
Definition: eci2kep_test.h:60