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

Function getCellLabels

lib/variables/variable-tab.cpp:179–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179static QStringList getCellLabels(Variable *variable, bool addName = true)
180{
181 assert(variable);
182
183 auto result = QStringList();
184 if (addName) {
185 result << QString::fromStdString(variable->Name());
186 }
187 result << QString::fromStdString(variable->Value(false))
188 << formatSaveActionText(variable) << formatLastUsedText(variable)
189 << formatLastChangedText(variable);
190 return result;
191}
192
193static void updateVariableStatus(QTableWidget *table)
194{

Callers 2

updateVariableStatusFunction · 0.70
VariableTableMethod · 0.70

Calls 5

formatSaveActionTextFunction · 0.85
formatLastUsedTextFunction · 0.85
formatLastChangedTextFunction · 0.85
NameMethod · 0.45
ValueMethod · 0.45

Tested by

no test coverage detected