MCPcopy Create free account
hub / github.com/KDAB/GammaRay / createWidget

Method createWidget

ui/proxytooluifactory.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40QWidget *ProxyToolUiFactory::createWidget(QWidget *parentWidget)
41{
42 loadPlugin();
43 ToolUiFactory *fac = factory();
44 if (!fac)
45 return new QLabel(tr("Plugin '%1' could not be loaded.").arg(pluginInfo().path()), parentWidget);
46 Q_ASSERT(fac);
47 return fac->createWidget(parentWidget);
48}
49
50void ProxyToolUiFactory::initUi()
51{

Callers 2

createWidgetsMethod · 0.45
widgetForIndexMethod · 0.45

Calls 1

pathMethod · 0.80

Tested by

no test coverage detected