MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / HttpServersTable

Method HttpServersTable

plugins/http/http-server-tab.cpp:167–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 << obs_module_text("AdvSceneSwitcher.httpServerTab.status.header");
166
167HttpServersTable::HttpServersTable(QTabWidget *parent)
168 : ResourceTable(
169 parent,
170 obs_module_text("AdvSceneSwitcher.httpServerTab.help"),
171 obs_module_text(
172 "AdvSceneSwitcher.httpServerTab.addButton.tooltip"),
173 obs_module_text(
174 "AdvSceneSwitcher.httpServerTab.removeButton.tooltip"),
175 headers, openSettingsDialog)
176{
177 for (const auto &s : GetHttpServers()) {
178 auto server = std::static_pointer_cast<HttpServer>(s);
179 AddItemTableRow(Table(), getCellLabels(server.get()));
180 }
181 SetHelpVisible(GetHttpServers().empty());
182}
183
184static void setupTab(QTabWidget *tab)
185{

Callers

nothing calls this directly

Calls 6

obs_module_textFunction · 0.85
AddItemTableRowFunction · 0.85
TableFunction · 0.85
getCellLabelsFunction · 0.70
getMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected