Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit 528f0223 authored by Julien Wintz's avatar Julien Wintz
Browse files

No more gradient in widgets tag view list delegates.

parent 59d7c63b
...@@ -217,12 +217,7 @@ void dtkWidgetsTagCloudListLightDelegate::paint(QPainter *painter, const QStyleO ...@@ -217,12 +217,7 @@ void dtkWidgetsTagCloudListLightDelegate::paint(QPainter *painter, const QStyleO
if (!item) if (!item)
return; return;
QLinearGradient gradiant(option.rect.left(), option.rect.top(), option.rect.left(), option.rect.bottom()); painter->fillRect(option.rect, QColor(220, 220, 220));
gradiant.setColorAt(0.0, QColor(247, 247, 247));
gradiant.setColorAt(0.3, QColor(240, 240, 240));
gradiant.setColorAt(1.0, QColor(220, 220, 220));
painter->fillRect(option.rect, gradiant);
painter->setPen(Qt::white); painter->setPen(Qt::white);
painter->drawLine(option.rect.topLeft() + QPoint(0, 1), option.rect.topRight() + QPoint(0, 1)); painter->drawLine(option.rect.topLeft() + QPoint(0, 1), option.rect.topRight() + QPoint(0, 1));
...@@ -287,13 +282,7 @@ void dtkWidgetsTagCloudListDarkDelegate::paint(QPainter *painter, const QStyleOp ...@@ -287,13 +282,7 @@ void dtkWidgetsTagCloudListDarkDelegate::paint(QPainter *painter, const QStyleOp
if (!item) if (!item)
return; return;
QLinearGradient gradiant(option.rect.left(), option.rect.top(), option.rect.left(), option.rect.bottom()); painter->fillRect(option.rect, QColor(020, 020, 020));
gradiant.setColorAt(0.0, QColor(047, 047, 047));
gradiant.setColorAt(0.3, QColor(040, 040, 040));
gradiant.setColorAt(1.0, QColor(020, 020, 020));
painter->fillRect(option.rect, gradiant);
painter->setPen(QColor(055, 055, 055)); painter->setPen(QColor(055, 055, 055));
painter->drawLine(option.rect.topLeft() + QPoint(0, 1), option.rect.topRight() + QPoint(0, 1)); painter->drawLine(option.rect.topLeft() + QPoint(0, 1), option.rect.topRight() + QPoint(0, 1));
...@@ -358,7 +347,6 @@ void dtkWidgetsTagCloudListDoomDelegate::paint(QPainter *painter, const QStyleOp ...@@ -358,7 +347,6 @@ void dtkWidgetsTagCloudListDoomDelegate::paint(QPainter *painter, const QStyleOp
return; return;
painter->fillRect(option.rect, QColor("#282C34")); painter->fillRect(option.rect, QColor("#282C34"));
painter->setPen(QColor(055, 055, 055)); painter->setPen(QColor(055, 055, 055));
painter->drawLine(option.rect.topLeft() + QPoint(0, 1), option.rect.topRight() + QPoint(0, 1)); painter->drawLine(option.rect.topLeft() + QPoint(0, 1), option.rect.topRight() + QPoint(0, 1));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment