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

Method showComments

src/frontend/spreadsheet/SpreadsheetView.cpp:1159–1167  ·  view source on GitHub ↗

Shows (\c on=true) or hides (\c on=false) the column comments in the horizontal header

Source from the content-addressed store, hash-verified

1157
1158//! Shows (\c on=true) or hides (\c on=false) the column comments in the horizontal header
1159void SpreadsheetView::showComments(bool on) {
1160 m_horizontalHeader->showComments(on);
1161 if (action_toggle_comments) {
1162 if (on)
1163 action_toggle_comments->setText(i18n("Hide Comments"));
1164 else
1165 action_toggle_comments->setText(i18n("Show Comments"));
1166 }
1167}
1168
1169//! Shows (\c on=true) or hides (\c on=false) the column sparkline in the horizontal header
1170void SpreadsheetView::showSparklines(bool on) {

Callers 6

loadMethod · 0.45
loadConfigMethod · 0.45
initMethod · 0.45
toggleCommentsMethod · 0.45
checkSpreadsheetMenuMethod · 0.45
updateCommentsHeaderMethod · 0.45

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected