diff options
Diffstat (limited to 'helppage.cpp')
| -rw-r--r-- | helppage.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/helppage.cpp b/helppage.cpp new file mode 100644 index 0000000..144b044 --- /dev/null +++ b/helppage.cpp @@ -0,0 +1,17 @@ +#include "helppage.h" + +HelpPage::HelpPage(const QString path, QWidget *parent) : + QWidget(parent) +{ + + QTextBrowser* browser = new QTextBrowser(); + QVBoxLayout* mainLayout = new QVBoxLayout(); + mainLayout->setSpacing(0); + mainLayout->addWidget(browser); + mainLayout->setContentsMargins(0,0,0,0); + setLayout(mainLayout); + //setAttribute(Qt::WA_DeleteOnClose); + browser->setSource(path); + browser->setFocus(); + +} |
