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

Method insertRows

src/backend/matrix/Matrix.cpp:395–402  ·  view source on GitHub ↗

rows

Source from the content-addressed store, hash-verified

393
394// rows
395void Matrix::insertRows(int before, int count) {
396 Q_D(Matrix);
397 if (count < 1 || before < 0 || before > rowCount())
398 return;
399 WAIT_CURSOR;
400 exec(new MatrixInsertRowsCmd(d, before, count));
401 RESET_CURSOR;
402}
403
404void Matrix::appendRows(int count) {
405 insertRows(rowCount(), count);

Callers 12

insertEmptyRowsMethod · 0.45
pasteIntoSelectionMethod · 0.45
insertRowsAboveMethod · 0.45
insertRowsBelowMethod · 0.45
undoMethod · 0.45
redoMethod · 0.45
redoMethod · 0.45
appendColumnMethod · 0.45
testInsertRowMethod · 0.45
spreadsheetInsertRowsMethod · 0.45
testInsertRowsBeginMethod · 0.45

Calls 7

rowCountFunction · 0.85
insertMethod · 0.80
operator[]Method · 0.80
QStringClass · 0.50
QDateTimeClass · 0.50
columnCountMethod · 0.45
clearMethod · 0.45

Tested by 4

testInsertRowMethod · 0.36
spreadsheetInsertRowsMethod · 0.36
testInsertRowsBeginMethod · 0.36