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

Method addRows

src/backend/matrix/Matrix.cpp:555–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555void Matrix::addRows() {
556#ifndef SDK
557 Q_D(Matrix);
558 if (!m_view)
559 return;
560 WAIT_CURSOR;
561 int count = m_view->selectedRowCount(false);
562 beginMacro(i18np("%1: add %2 row", "%1: add %2 rows", name(), count));
563 exec(new MatrixInsertRowsCmd(d, rowCount(), count));
564 endMacro();
565 RESET_CURSOR;
566#endif
567}
568
569void Matrix::addColumns() {
570#ifndef SDK

Callers

nothing calls this directly

Calls 2

rowCountFunction · 0.85
selectedRowCountMethod · 0.45

Tested by

no test coverage detected