############################# matrix related slots ###########################
| 870 | |
| 871 | // ############################# matrix related slots ########################### |
| 872 | void MatrixView::switchView(QAction* action) { |
| 873 | if (action == action_data_view) |
| 874 | m_stackedWidget->setCurrentIndex(0); |
| 875 | else { |
| 876 | if (m_imageIsDirty) |
| 877 | this->updateImage(); |
| 878 | |
| 879 | m_stackedWidget->setCurrentIndex(1); |
| 880 | } |
| 881 | } |
| 882 | |
| 883 | void MatrixView::matrixDataChanged() { |
| 884 | m_imageIsDirty = true; |
nothing calls this directly
no test coverage detected