MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / select

Method select

src/plugins/codeeditor/symbol/symbolview.cpp:126–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void SymbolViewPrivate::select(const QModelIndex &index)
127{
128 if (!index.isValid())
129 return;
130
131 view->setCurrentIndex(index);
132 view->scrollTo(index, QTreeView::PositionAtCenter);
133}
134
135SymbolView::SymbolView(ClickMode mode, QWidget *parent)
136 : DFrame(parent),

Callers 9

reloadHistoryMethod · 0.80
updateGraphViewMethod · 0.80
appendCustomTextMethod · 0.80
showPropertyPanelMethod · 0.80
contextMenuEventMethod · 0.80
changeUnderCursorMethod · 0.80
curmbItemClickedMethod · 0.80
selectSymbolMethod · 0.80

Calls 6

scrollToMethod · 0.80
indexFromItemMethod · 0.80
isValidMethod · 0.45
setCurrentIndexMethod · 0.45
indexMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected