| 62 | } |
| 63 | |
| 64 | void GradientDialog::Private::changedIndex(int index) |
| 65 | { |
| 66 | if (index >= 0) { |
| 67 | ui->stopPosition->setValue(m_gradient[index].first); |
| 68 | QColor stopColor = m_gradient[index].second; |
| 69 | redSlider->setValue(stopColor.red()); |
| 70 | greenSlider->setValue(stopColor.green()); |
| 71 | blueSlider->setValue(stopColor.blue()); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | void GradientDialog::Private::insertItem() |
| 76 | { |
nothing calls this directly
no outgoing calls
no test coverage detected