forzada la carga de portadas en el directorio ra?z de las bibliotecas

This commit is contained in:
Luis Ángel San Martín
2013-05-05 12:53:55 +02:00
parent 9465a83309
commit 81b9370f65
2 changed files with 10 additions and 3 deletions

View File

@ -10,7 +10,10 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
{
setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
setStyleSheet("{color:FFFFFF;}");
QPalette p(palette());
p.setColor(QPalette::Background, Qt::white);
setAutoFillBackground(true);
setPalette(p);
QPixmap icon(":/images/noLibrariesIcon.png");
QLabel * iconLabel = new QLabel();
@ -30,6 +33,8 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
QVBoxLayout * layout = new QVBoxLayout(this);
QHBoxLayout * buttonLayout = new QHBoxLayout();
//QHBoxLayout * topLayout = new QHBoxLayout();
//QVBoxLayout * textLayout = new QVBoxLayout();
layout->setAlignment(Qt::AlignHCenter);