| 702 | } |
| 703 | |
| 704 | void InputEditorView::factorInputColumn() |
| 705 | { |
| 706 | if (contextSection < InputEditorModel::COLUMN_SPECIAL_SIZE) |
| 707 | return; |
| 708 | if (contextSection == inputEditorModel->columnCount() - 1) |
| 709 | return; |
| 710 | |
| 711 | bool ok; |
| 712 | double factor = QInputDialog::getDouble(this, tr("Multiply values by a factor"), tr("Factor: "), 1.0, 0, 100.0, 4, &ok); |
| 713 | |
| 714 | if (ok) { |
| 715 | inputEditorModel->columnFactor(contextSection, factor); |
| 716 | } |
| 717 | } |
| 718 | |
| 719 | void InputEditorView::lockInputColumn(bool checked) |
| 720 | { |
nothing calls this directly
no test coverage detected