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

Method clearSelectedRows

src/frontend/matrix/MatrixView.cpp:1006–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004}
1005
1006void MatrixView::clearSelectedRows() {
1007 int first = firstSelectedRow();
1008 int last = lastSelectedRow();
1009 if (first < 0)
1010 return;
1011
1012 WAIT_CURSOR;
1013 m_matrix->beginMacro(i18n("%1: clear selected rows(s)", m_matrix->name()));
1014 for (int i = first; i <= last; i++) {
1015 if (isRowSelected(i))
1016 m_matrix->clearRow(i);
1017 }
1018 m_matrix->endMacro();
1019 RESET_CURSOR;
1020}
1021
1022void MatrixView::changeZoom(QAction* action) {
1023 if (action == zoomInAction)

Callers

nothing calls this directly

Calls 4

beginMacroMethod · 0.80
clearRowMethod · 0.80
endMacroMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected