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

Method setCurrentIndex

src/frontend/datasources/ImportDialog.cpp:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void ImportDialog::setCurrentIndex(const QModelIndex& index) {
126 QDEBUG(Q_FUNC_INFO << ", index =" << index);
127 cbAddTo->setCurrentModelIndex(index);
128 QDEBUG(Q_FUNC_INFO << ", cbAddTo->currentModelIndex() =" << cbAddTo->currentModelIndex());
129 checkOkButton();
130}
131
132void ImportDialog::currentModelIndexChanged(const QModelIndex& index) {
133 auto aspect = static_cast<AbstractAspect*>(index.internalPointer());

Callers 15

restoreDefaultsMethod · 0.45
loadSettingsMethod · 0.45
importFileDialogMethod · 0.45
importSqlDialogMethod · 0.45
setCurrentAspectMethod · 0.45
aspectAddedMethod · 0.45
navigateToMethod · 0.45
loadMethod · 0.45
updatePenStylesMethod · 0.45
updateBrushStylesMethod · 0.45
PlotTemplateDialogMethod · 0.45

Calls 2

setCurrentModelIndexMethod · 0.80
currentModelIndexMethod · 0.80

Tested by 1