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

Method addColumns

src/backend/matrix/Matrix.cpp:569–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569void Matrix::addColumns() {
570#ifndef SDK
571 Q_D(Matrix);
572 if (!m_view)
573 return;
574 WAIT_CURSOR;
575 int count = m_view->selectedRowCount(false);
576 beginMacro(i18np("%1: add %2 column", "%1: add %2 columns", name(), count));
577 exec(new MatrixInsertColumnsCmd(d, columnCount(), count));
578 endMacro();
579 RESET_CURSOR;
580#endif
581}
582
583void Matrix::setCoordinates(double x1, double x2, double y1, double y2) {
584 Q_D(Matrix);

Callers

nothing calls this directly

Calls 2

columnCountFunction · 0.85
selectedRowCountMethod · 0.45

Tested by

no test coverage detected