diff options
Diffstat (limited to 'wizard')
-rw-r--r-- | wizard/welcome.cpp | 2 | ||||
-rw-r--r-- | wizard/welcome.ui | 15 |
2 files changed, 14 insertions, 3 deletions
diff --git a/wizard/welcome.cpp b/wizard/welcome.cpp index 56210e0..7cbb0d0 100644 --- a/wizard/welcome.cpp +++ b/wizard/welcome.cpp @@ -1,5 +1,6 @@ #include <QtGui> #include "welcome.h" +#include "config.h" #include "../listdelegate.h" #include "../listitem.h" @@ -9,6 +10,7 @@ wpWelcome::wpWelcome(QWidget *parent) : QWizardPage(parent) backend = Backend::instance(); connect(backend, SIGNAL(finishedCommand(QString)), this, SLOT(backendFinishedCommand(QString))); setComplete(false); + textBrowser->setSource(QString("%1/html/%2.html").arg(BACKEND_DIR).arg(tr("welcome"))); backend->exec("init_installer"); } diff --git a/wizard/welcome.ui b/wizard/welcome.ui index 6fbc95f..a8f6363 100644 --- a/wizard/welcome.ui +++ b/wizard/welcome.ui @@ -13,9 +13,18 @@ <property name="windowTitle"> <string>WizardPage</string> </property> - <property name="title"> - <string>Installer</string> - </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QTextBrowser" name="textBrowser"> + <property name="frameShape"> + <enum>QFrame::NoFrame</enum> + </property> + <property name="openExternalLinks"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> </widget> <resources/> <connections/> |