MCPcopy Create free account
hub / github.com/clementgallet/libTAS / factorInputColumn

Method factorInputColumn

src/program/ui/InputEditorView.cpp:704–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704void 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
719void InputEditorView::lockInputColumn(bool checked)
720{

Callers

nothing calls this directly

Calls 2

columnFactorMethod · 0.80
columnCountMethod · 0.45

Tested by

no test coverage detected