MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / groupLayout

Method groupLayout

app/src/DataModel/ProjectModel.cpp:1148–1151  ·  view source on GitHub ↗

* @brief Returns the persisted layout for the given group ID. */

Source from the content-addressed store, hash-verified

1146 * @brief Returns the persisted layout for the given group ID.
1147 */
1148QJsonObject DataModel::ProjectModel::groupLayout(int groupId) const
1149{
1150 return m_widgetSettings.value(Keys::layoutKey(groupId)).toObject().value("data").toObject();
1151}
1152
1153/**
1154 * @brief Returns the persisted layout for the given group within a window scope.

Callers 2

setActiveGroupIdMethod · 0.80
registerWindowMethod · 0.80

Calls 2

layoutKeyFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected