MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / setMainSubject

Method setMainSubject

gui/src/tutorialchapter.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58QWidget *TutorialChapter::getMainSubject() const { return mainSubject; }
59
60void TutorialChapter::setMainSubject(QWidget *newMainSubject)
61{
62 if(!subjects.contains(newMainSubject)) {
63 qWarning(CAT_TUTORIALCHAPTER) << "The new main subject is not part of the subject list.";
64 }
65 this->mainSubject = newMainSubject;
66}
67
68int TutorialChapter::getXOffset() const { return x_offset; }
69

Callers 2

buildMethod · 0.80
addChapterMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected