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

Method insertRowsAbove

src/frontend/spreadsheet/SpreadsheetView.cpp:3340–3352  ·  view source on GitHub ↗

! Insert multiple empty rows above(=before) the first selected row */

Source from the content-addressed store, hash-verified

3338 Insert multiple empty rows above(=before) the first selected row
3339*/
3340void SpreadsheetView::insertRowsAbove() {
3341 bool ok = false;
3342 int count = QInputDialog::getInt(nullptr,
3343 i18n("Insert multiple rows"),
3344 i18n("Enter the number of rows to insert"),
3345 1 /*value*/,
3346 1 /*min*/,
3347 1000000 /*max*/,
3348 1 /*step*/,
3349 &ok);
3350 if (ok)
3351 insertRowsAbove(count);
3352}
3353
3354/*!
3355 * private helper function doing the actual insertion of rows above

Callers

nothing calls this directly

Calls 1

insertRowsMethod · 0.45

Tested by

no test coverage detected