MCPcopy Create free account
hub / github.com/LMMS/lmms / PluginDescList

Method PluginDescList

src/gui/PluginBrowser.cpp:89–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88
89PluginDescList::PluginDescList(QWidget *parent) :
90 QWidget(parent)
91{
92 QVBoxLayout* layout = new QVBoxLayout(this);
93
94 QList<Plugin::Descriptor*> descs = pluginFactory->descriptors(Plugin::Instrument);
95 std::sort(descs.begin(), descs.end(), pluginBefore);
96 for (const Plugin::Descriptor* desc : descs)
97 {
98 PluginDescWidget* p = new PluginDescWidget( *desc, this );
99 p->show();
100 layout->addWidget(p);
101 }
102
103 setLayout(layout);
104 layout->addStretch();
105}
106
107
108

Callers

nothing calls this directly

Calls 4

descriptorsMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected