MCPcopy Create free account
hub / github.com/Robotips/uConfig / updateOldProjects

Method updateOldProjects

src/uconfig_gui/uconfigmainwindow.cpp:264–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264void UConfigMainWindow::updateOldProjects()
265{
266 for (int i=0; i<_project->oldProjects().size(); i++)
267 {
268 QString path = _project->oldProjects()[i];
269 _oldProjectsActions[i]->setVisible(true);
270 _oldProjectsActions[i]->setData(path);
271 _oldProjectsActions[i]->setText(QString("&%1. %2").arg(i+1).arg(path));
272 _oldProjectsActions[i]->setStatusTip(tr("Open recent project '")+path+"'");
273 }
274}
275
276void UConfigMainWindow::createToolbarsMenus()
277{

Callers

nothing calls this directly

Calls 5

oldProjectsMethod · 0.80
setVisibleMethod · 0.80
setTextMethod · 0.80
sizeMethod · 0.45
setDataMethod · 0.45

Tested by

no test coverage detected