Shows (\c on=true) or hides (\c on=false) the column sparkline in the horizontal header
| 1168 | |
| 1169 | //! Shows (\c on=true) or hides (\c on=false) the column sparkline in the horizontal header |
| 1170 | void SpreadsheetView::showSparklines(bool on) { |
| 1171 | m_horizontalHeader->showSparklines(on); |
| 1172 | if (action_toggle_sparklines) { |
| 1173 | if (on) |
| 1174 | action_toggle_sparklines->setText(i18n("Hide Sparklines")); |
| 1175 | else |
| 1176 | action_toggle_sparklines->setText(i18n("Show Sparklines")); |
| 1177 | } |
| 1178 | } |
| 1179 | |
| 1180 | void SpreadsheetView::handleHeaderDataChanged(Qt::Orientation orientation, int first, int last) { |
| 1181 | if (orientation != Qt::Horizontal) |
no test coverage detected