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

Method AskForSettings

lib/queue/action-queue.cpp:240–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240bool ActionQueueSettingsDialog::AskForSettings(QWidget *parent,
241 ActionQueue &settings)
242{
243 ActionQueueSettingsDialog dialog(parent, settings);
244 dialog.setWindowTitle(obs_module_text("AdvSceneSwitcher.windowTitle"));
245 if (dialog.exec() != DialogCode::Accepted) {
246 return false;
247 }
248
249 settings._name = dialog._name->text().toStdString();
250 settings._runOnStartup = dialog._runOnStartup->isChecked();
251 settings._resolveVariablesOnAdd =
252 dialog._resolveVariablesOnAdd->isChecked();
253 return true;
254}
255
256void ActionQueueSettingsDialog::StartStopClicked()
257{

Callers

nothing calls this directly

Calls 2

obs_module_textFunction · 0.85
isCheckedMethod · 0.80

Tested by

no test coverage detected