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

Method initConnect

src/common/widget/variablechooser.cpp:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void VariableChooserPrivate::initConnect()
162{
163 connect(iconButton, &DIconButton::clicked, this, &VariableChooserPrivate::show);
164 connect(qobject_cast<QApplication *>(qApp), &QApplication::focusChanged,
165 this, &VariableChooserPrivate::updateCurrentEditor);
166 connect(searchEdit, &DSearchEdit::textChanged, this, &VariableChooserPrivate::updateFilter);
167 connect(treeView, &QTreeView::activated, this, &VariableChooserPrivate::handleItemActivated);
168 connect(treeView->selectionModel(), &QItemSelectionModel::currentChanged, this, &VariableChooserPrivate::updateDescription);
169}
170
171void VariableChooserPrivate::show()
172{

Callers 1

VariableChooserMethod · 0.45

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected