SLOTs for changes triggered in ValueWidget ! called when the type of the values (none, x, y, (x,y) etc.) was changed. */
| 136 | called when the type of the values (none, x, y, (x,y) etc.) was changed. |
| 137 | */ |
| 138 | void ValueWidget::typeChanged(int index) { |
| 139 | this->updateWidgets(); |
| 140 | |
| 141 | CONDITIONAL_LOCK_RETURN; |
| 142 | |
| 143 | auto valuesType = Value::Type(index); |
| 144 | for (auto* value : m_values) |
| 145 | value->setType(valuesType); |
| 146 | } |
| 147 | |
| 148 | /*! |
| 149 | depending on the currently selected values column type (column mode) updates |
nothing calls this directly
no test coverage detected