cambiados los tama?os de las toolbars

intento de corregir las notificaciones en MacOSX
This commit is contained in:
Luis Ángel San Martín
2013-05-05 14:31:33 +02:00
parent 81b9370f65
commit aa088334c3
3 changed files with 10 additions and 2 deletions

View File

@ -8,6 +8,7 @@
NotificationsLabelWidget::NotificationsLabelWidget(QWidget * parent)
:QWidget(parent)
{
setAttribute(Qt::WA_LayoutUsesWidgetRect,true);
effect = new QGraphicsOpacityEffect(this);
effect->setOpacity(1.0);
@ -33,10 +34,12 @@ NotificationsLabelWidget::NotificationsLabelWidget(QWidget * parent)
QPixmap p(":/images/notificationsLabel.png");
imgLabel->resize(p.size());
imgLabel->setPixmap(p);
imgLabel->setAttribute(Qt::WA_LayoutUsesWidgetRect,true);
textLabel = new QLabel(this);
textLabel->setAlignment(Qt::AlignVCenter|Qt::AlignHCenter);
textLabel->setStyleSheet("QLabel { color : white; font-size:24px; }");
textLabel->setAttribute(Qt::WA_LayoutUsesWidgetRect,true);
textLabel->setGeometry(imgLabel->geometry());