14 lines
397 B
C++
14 lines
397 B
C++
#include "authordialog.h"
|
|
#include "ui_authordialog.h"
|
|
|
|
AuthorDialog::AuthorDialog(QWidget *parent)
|
|
: QDialog(parent), ui(new Ui::AuthorDialog) {
|
|
ui->setupUi(this);
|
|
ui->retranslateUi(this);
|
|
auto txtb = ui->txtb;
|
|
txtb->setSearchPaths(QStringList({":/", ":/image"}));
|
|
txtb->setSource(QUrl("README.md"), QTextDocument::MarkdownResource);
|
|
}
|
|
|
|
AuthorDialog::~AuthorDialog() { delete ui; }
|