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

Method setDockHeaderList

src/plugins/core/uicontroller/controller.cpp:593–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593void Controller::setDockHeaderList(const QString &dockName, const QList<QAction *> &actions)
594{
595 if (!d->allWidgets.contains(dockName)) {
596 qWarning() << "No widget named: " << dockName;
597 return;
598 }
599
600 auto &info = d->allWidgets[dockName];
601 info.headerName = "";
602 info.headerList = actions;
603
604 if (info.created)
605 d->mainWindow->setDockHeaderList(dockName, actions);
606}
607
608void Controller::addNavigationItem(AbstractAction *action, quint8 priority)
609{

Callers 3

createDockWidgetMethod · 0.45
showRightspaceMethod · 0.45
showWorkspaceMethod · 0.45

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected