MCPcopy Create free account
hub / github.com/KDE/labplot / insertColumnsLeft

Method insertColumnsLeft

src/frontend/spreadsheet/SpreadsheetView.cpp:2625–2639  ·  view source on GitHub ↗

! Insert multiple empty columns left to the firt selected column */

Source from the content-addressed store, hash-verified

2623 Insert multiple empty columns left to the firt selected column
2624*/
2625void SpreadsheetView::insertColumnsLeft() {
2626 bool ok = false;
2627 int count = QInputDialog::getInt(nullptr,
2628 i18n("Insert empty columns"),
2629 i18n("Enter the number of columns to insert"),
2630 1 /*value*/,
2631 1 /*min*/,
2632 1000 /*max*/,
2633 1 /*step*/,
2634 &ok);
2635 if (!ok)
2636 return;
2637
2638 insertColumnsLeft(count);
2639}
2640
2641/*!
2642 * private helper function doing the actual insertion of columns to the left

Callers

nothing calls this directly

Calls 1

insertColumnsMethod · 0.45

Tested by

no test coverage detected