############################################################################## ######################### Private slots #################################### ############################################################################## ! called when the current tab was changed. Propagates the selection of \c Spreadsheet or of a \c DatapickerImage object to \c Datapicker. */
| 105 | or of a \c DatapickerImage object to \c Datapicker. |
| 106 | */ |
| 107 | void DatapickerView::tabChanged(int index) { |
| 108 | if (m_initializing || index == -1) |
| 109 | return; |
| 110 | |
| 111 | m_datapicker->setChildSelectedInView(lastSelectedIndex, false); |
| 112 | m_datapicker->setChildSelectedInView(index, true); |
| 113 | lastSelectedIndex = index; |
| 114 | } |
| 115 | |
| 116 | void DatapickerView::tabMoved(int /*from*/, int /*to*/) { |
| 117 | // TODO: |
nothing calls this directly
no test coverage detected