WelcomeModeLabel: Make usable in Designer as a normal 'styled' label.

Remove HTML-formatting and replace by properties set in constructor.
Use in forms.
This commit is contained in:
Friedemann Kleint
2010-04-15 16:01:18 +02:00
parent 3a9e75302f
commit ef926c6343
10 changed files with 97 additions and 118 deletions

View File

@@ -64,10 +64,7 @@ GettingStartedWelcomePageWidget::GettingStartedWelcomePageWidget(QWidget *parent
ui(new Ui::GettingStartedWelcomePageWidget)
{
ui->setupUi(this);
ui->tutorialsTitleLabel->setStyledText(tr("Tutorials"));
ui->demoTitleLabel->setStyledText(tr("Explore Qt Examples"));
ui->didYouKnowTextBrowser->viewport()->setAutoFillBackground(false);
ui->didYouKnowTitleLabel->setStyledText(tr("Did You Know?"));
connect(ui->tutorialTreeWidget, SIGNAL(activated(QString)), SLOT(slotOpenHelpPage(const QString&)));