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

Method selectionChanged

src/frontend/datasources/MatioOptionsWidget.cpp:63–71  ·  view source on GitHub ↗

! updates the selected var name of a Matio file when the table widget item is selected */

Source from the content-addressed store, hash-verified

61 updates the selected var name of a Matio file when the table widget item is selected
62*/
63void MatioOptionsWidget::selectionChanged() {
64 DEBUG(Q_FUNC_INFO)
65 // QDEBUG(Q_FUNC_INFO << ", SELECTED ITEMS =" << ui.twContent->selectedItems());
66
67 if (ui.twContent->selectedItems().isEmpty())
68 return;
69
70 m_fileWidget->refreshPreview();
71}
72
73/*!
74 return list of selected Matio variable names

Callers

nothing calls this directly

Calls 3

selectedItemsMethod · 0.80
isEmptyMethod · 0.45
refreshPreviewMethod · 0.45

Tested by

no test coverage detected