MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / HelpWindow

Method HelpWindow

helpwindow.cpp:7–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5HelpWindow* HelpWindow::self = nullptr;
6
7HelpWindow::HelpWindow(QWidget *parent) :
8 QDialog(parent),
9 ui(new Ui::HelpWindow)
10{
11 ui->setupUi(this);
12 setWindowFlags(Qt::Window);
13
14 m_helpEngine = new QHelpEngineCore(QApplication::applicationDirPath() +"/SavvyCAN.qhc", this);
15 if (!m_helpEngine->setupData()) {
16 delete m_helpEngine;
17 m_helpEngine = nullptr;
18 qDebug() << "Could not load help file!";
19 }
20
21 readSettings();
22}
23
24HelpWindow::~HelpWindow()
25{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected