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

Method currentGroupIsPainter

app/src/DataModel/ProjectEditor.cpp:1046–1049  ·  view source on GitHub ↗

* @brief Returns true when the selected group is a painter widget. */

Source from the content-addressed store, hash-verified

1044 * @brief Returns true when the selected group is a painter widget.
1045 */
1046bool DataModel::ProjectEditor::currentGroupIsPainter() const
1047{
1048 return m_selectedGroup.widget == QLatin1String("painter");
1049}
1050
1051/**
1052 * @brief Returns the current group's ID, or -1 when no group is selected.

Callers 3

PainterCodeEditorMethod · 0.80
commitMethod · 0.80
selectTemplateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected