Created CFloatingTitleWidget

This commit is contained in:
Uwe Kindler
2017-02-07 23:51:29 +01:00
parent 7f5e393cfb
commit 0716020ab4
12 changed files with 553 additions and 204 deletions

View File

@@ -14,7 +14,8 @@ IconTitleWidget::IconTitleWidget(const QIcon& icon, const QString& title, QWidge
setLayout(l);
_iconLabel = new QLabel();
l->addWidget(_iconLabel);
_iconLabel->setAlignment(Qt::AlignVCenter);
l->addWidget(_iconLabel, Qt::AlignVCenter);
_titleLabel = new QLabel();
l->addWidget(_titleLabel, 1);