Move style sheets into resource *.css files.

Even keep vendor style sheets there.
This commit is contained in:
mfreiholz
2016-02-15 14:25:12 +01:00
parent 3ec2d9d8f6
commit 91e0f62f3e
5 changed files with 120 additions and 62 deletions

View File

@@ -16,9 +16,9 @@ IconTitleWidget::IconTitleWidget(const QIcon& icon, const QString& title, QWidge
// Icon label
if (icon.isNull())
{
// QLabel* titleIcon = new QLabel();
// titleIcon->setPixmap(style()->standardIcon(QStyle::SP_MessageBoxInformation).pixmap(16, 16));
// l->addWidget(titleIcon);
QLabel* titleIcon = new QLabel();
titleIcon->setPixmap(style()->standardIcon(QStyle::SP_MessageBoxInformation).pixmap(16, 16));
l->addWidget(titleIcon);
}
else
{
@@ -33,4 +33,4 @@ IconTitleWidget::IconTitleWidget(const QIcon& icon, const QString& title, QWidge
titleFont.setBold(true);
titleText->setFont(titleFont);
l->addWidget(titleText, 1);
}
}