14 #include <QDialogButtonBox>
16 #include <QVBoxLayout>
17 #include "../backend/drivers/cswordmoduleinfo.h"
18 #include "../util/btconnect.h"
25 Qt::WindowFlags flags)
27 , m_moduleInfo(moduleInfo)
30 QVBoxLayout* vboxLayout =
new QVBoxLayout(
this);
34 m_textEdit->setTextInteractionFlags(Qt::TextSelectableByMouse);
37 m_buttons =
new QDialogButtonBox(QDialogButtonBox::Close, Qt::Horizontal,
this);
39 this, &BTAboutModuleDialog::reject);
45 this, &BTAboutModuleDialog::close);
const CSwordModuleInfo * m_moduleInfo
BTAboutModuleDialog(const CSwordModuleInfo *moduleInfo, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
QDialogButtonBox * m_buttons
QString aboutText() const
QString const & name() const
void prepareDialogBox(QDialogButtonBox *box)