mirror of
https://github.com/YACReader/yacreader
synced 2025-08-18 12:15:25 -04:00
a?adido nuevo widget que sustituye al combo box de las bibliotecas
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user