89 ui->est_abvShow->setRange(query.value(19).toDouble(), query.value(20).toDouble()); |
89 ui->est_abvShow->setRange(query.value(19).toDouble(), query.value(20).toDouble()); |
90 ui->est_abvShow->setPrecision(1); |
90 ui->est_abvShow->setPrecision(1); |
91 ui->est_abvShow->setMarkerTextIsValue(true); |
91 ui->est_abvShow->setMarkerTextIsValue(true); |
92 ui->est_abvShow->setValue(query.value(30).toDouble()); |
92 ui->est_abvShow->setValue(query.value(30).toDouble()); |
93 |
93 |
|
94 QColor color = Utils::ebc_to_color(query.value(31).toInt()); |
94 ui->est_colorEdit->setValue(query.value(31).toDouble()); |
95 ui->est_colorEdit->setValue(query.value(31).toDouble()); |
95 QColor color = Utils::ebc_to_color(query.value(31).toInt()); |
|
96 ui->est_colorEdit->setStyleSheet(Utils::ebc_to_style(query.value(31).toInt())); |
96 ui->est_colorEdit->setStyleSheet(Utils::ebc_to_style(query.value(31).toInt())); |
97 ui->est_colorGlass->setColor(color); |
|
98 ui->est_colorShow->setPrecision(0); |
97 ui->est_colorShow->setPrecision(0); |
99 ui->est_colorShow->setMarkerTextIsValue(false); |
98 ui->est_colorShow->setMarkerTextIsValue(true); |
100 ui->est_colorShow->setRange(query.value(15).toDouble(), query.value(16).toDouble()); |
99 ui->est_colorShow->setRange(query.value(15).toDouble(), query.value(16).toDouble()); |
101 ui->est_colorShow->setValue(query.value(31).toDouble()); |
100 ui->est_colorShow->setValue(query.value(31).toDouble()); |
102 |
101 |
103 ui->color_methodEdit->setCurrentIndex(query.value(32).toInt()); |
102 ui->color_methodEdit->setCurrentIndex(query.value(32).toInt()); |
104 |
103 |