29 setWindowModality(Qt::ApplicationModal);
30 setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
31 setWindowIcon(CResMgr::mainMenu::help::tipOfTheDay::icon());
34 QVBoxLayout * mainLayout =
new QVBoxLayout(
this);
38 mainLayout->addWidget(
m_iconLabel, 0, Qt::AlignHCenter);
44 mainLayout->addStretch();
46 m_buttonBox =
new QDialogButtonBox(Qt::Horizontal,
this);
49 QDialogButtonBox::AcceptRole);
52 QDialogButtonBox::RejectRole);
56 setLayout(mainLayout);
61 this, &BtWelcomeDialog::reject);
63 this, &BtWelcomeDialog::accept);