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

Method insertColumnsRight

src/frontend/spreadsheet/SpreadsheetView.cpp:2663–2677  ·  view source on GitHub ↗

! Insert multiple empty columns right to the last selected column */

Source from the content-addressed store, hash-verified

2661 Insert multiple empty columns right to the last selected column
2662*/
2663void SpreadsheetView::insertColumnsRight() {
2664 bool ok = false;
2665 int count = QInputDialog::getInt(nullptr,
2666 i18n("Insert empty columns"),
2667 i18n("Enter the number of columns to insert"),
2668 1 /*value*/,
2669 1 /*min*/,
2670 1000 /*max*/,
2671 1 /*step*/,
2672 &ok);
2673 if (!ok)
2674 return;
2675
2676 insertColumnsRight(count);
2677}
2678
2679/*!
2680 * private helper function doing the actual insertion of columns to the right

Calls 3

columnCountMethod · 0.45
appendColumnsMethod · 0.45
insertColumnsMethod · 0.45

Tested by 1