a?adido nuevo widget que sustituye al combo box de las bibliotecas

This commit is contained in:
Luis Ángel San Martín
2013-06-15 22:09:40 +02:00
parent d41ce4925a
commit 9a22816679
12 changed files with 358 additions and 8 deletions

View File

@ -12,10 +12,13 @@ YACReaderSideBar::YACReaderSideBar(QWidget *parent) :
void YACReaderSideBar::paintEvent(QPaintEvent * event)
{
#ifdef Q_OS_MAC
QPainter painter(this);
QLinearGradient lG(0,0,0,height());
lG.setColorAt(0,QColor("#E8ECF1"));
lG.setColorAt(1,QColor("#D1D8E0"));
@ -24,6 +27,8 @@ void YACReaderSideBar::paintEvent(QPaintEvent * event)
QWidget::paintEvent(event);
#endif
//QPixmap shadow(":/images/side_bar/shadow.png");
//painter.drawPixmap(width()-shadow.width(),0,shadow.width(),height(),shadow);