| 2294 | else color.v_right = v; |
| 2295 | } |
| 2296 | { |
| 2297 | QString v = ui.color_bottom_edit->text(); |
| 2298 | if (v.isEmpty()); |
| 2299 | else if (QiVar::isInteger(v.toStdString())) color.rect.bottom = QiRange::Restricted(v.toInt(), QiColor::range_rect); |
| 2300 | else color.v_bottom = v; |
| 2301 | } |
| 2302 | color.rgbe.set( |
| 2303 | QiRange::Restricted(ui.color_red_edit->text().toInt(), QiColor::range_rgb), |
| 2304 | QiRange::Restricted(ui.color_green_edit->text().toInt(), QiColor::range_rgb), |
| 2305 | QiRange::Restricted(ui.color_blue_edit->text().toInt(), QiColor::range_rgb), |
| 2306 | ui.color_sim_edit->text().isEmpty() ? 10 : QiRange::Restricted(ui.color_sim_edit->text().toInt(), QiColor::range_rgb) |
nothing calls this directly
no test coverage detected