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

Method PopulateWidgets

plugins/scripting/macro-segment-script-inline.cpp:138–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void MacroSegmentScriptInlineEdit::PopulateWidgets()
139{
140 populateLanguageSelection(_language);
141 populateScriptTypeSelection(_scriptType);
142
143 if (!_entryData) {
144 return;
145 }
146
147 _scriptType->setCurrentIndex(
148 _scriptType->findData(_entryData->GetType()));
149 _language->setCurrentIndex(
150 _language->findData(_entryData->GetLanguage()));
151 _script->setPlainText(_entryData->GetScript());
152 _path->SetPath(_entryData->GetPath());
153}
154
155void MacroSegmentScriptInlineEdit::SetupWidgetConnections()
156{

Callers

nothing calls this directly

Calls 8

setPlainTextMethod · 0.80
GetScriptMethod · 0.80
GetTypeMethod · 0.45
GetLanguageMethod · 0.45
SetPathMethod · 0.45
GetPathMethod · 0.45

Tested by

no test coverage detected