-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintrodbwizardpage.cpp
More file actions
25 lines (23 loc) · 1009 Bytes
/
Copy pathintrodbwizardpage.cpp
File metadata and controls
25 lines (23 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "introdbwizardpage.h"
IntroDbWizardPage::IntroDbWizardPage(QWidget *parent) :
QWizardPage(parent)
{
setupLayout();
setTitle(tr("Introduction"));
setPixmap(QWizard::WatermarkPixmap, QPixmap(":/images/watermark.png"));
}
void IntroDbWizardPage::setupLayout()
{
label = new QLabel(tr("Welcome! This wizard will help you setup your database\n"
"and adminstration privileges for %1 application.\n\n"
"This wizard will show up again only once your database has been\n "
"successfuly setup.\n\n"
"It is recommened that you close all other appplications \n"
"before setting up the database.\n\n"
"Click Next to continue.")
.arg(QCoreApplication::applicationName()));
label->setWordWrap(true);
QHBoxLayout *mainLayout = new QHBoxLayout;
mainLayout->addWidget(label);
setLayout(mainLayout);
}