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

Method insertRowsBelow

src/frontend/spreadsheet/SpreadsheetView.cpp:3376–3388  ·  view source on GitHub ↗

! Insert an empty row below the last selected row */

Source from the content-addressed store, hash-verified

3374 Insert an empty row below the last selected row
3375*/
3376void SpreadsheetView::insertRowsBelow() {
3377 bool ok = false;
3378 int count = QInputDialog::getInt(nullptr,
3379 i18n("Insert multiple rows"),
3380 i18n("Enter the number of rows to insert"),
3381 1 /*value*/,
3382 1 /*min*/,
3383 1000000 /*max*/,
3384 1 /*step*/,
3385 &ok);
3386 if (ok)
3387 insertRowsBelow(count);
3388}
3389
3390/*!
3391 * private helper function doing the actual insertion of rows below

Callers

nothing calls this directly

Calls 3

rowCountMethod · 0.45
appendRowsMethod · 0.45
insertRowsMethod · 0.45

Tested by

no test coverage detected