17 #include <QHelpEngineCore>
20 setAllowedAreas(Qt::RightDockWidgetArea);
21 setFeatures(DockWidgetClosable);
24 QTextEdit *changes =
new QTextEdit(
this);
25 changes->setReadOnly(
true);
32 QString content(
"No content to display");
33 auto links =
help->linksForIdentifier(
"changes");
35 content =
help->fileData(links.begin().value());
37 edit->setText(content);
40 if (
settings.showChanges() &&
settings.changesLength() != content.length()) {
42 settings.setChangesLength(content.length());