| 177 | } |
| 178 | |
| 179 | static 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 | |
| 193 | static void updateVariableStatus(QTableWidget *table) |
| 194 | { |
no test coverage detected