Move style sheets into resource *.css files.
Even keep vendor style sheets there.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user