CVS import UI: mark the column names in blue as well

And make the bubbles slightly larger.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-01-07 13:00:16 -08:00
parent 02103978ec
commit b08b32af2c
2 changed files with 3 additions and 1 deletions

View file

@ -51,6 +51,7 @@
#define ROYALBLUE2 QColor::fromRgbF(0.2, 0.2, 0.9, 1)
#define ROYALBLUE2_LOW_TRANS QColor::fromRgbF(0.2, 0.2, 0.9, 0.75)
#define AIR_BLUE QColor::fromRgbF(0.25, 0.75, 1.0, 1)
#define AIR_BLUE_TRANS QColor::fromRgbF(0.25, 0.75, 1.0, 0.5)
// Yellows / BROWNS
#define SPRINGWOOD1 QColor::fromRgbF(0.95, 0.95, 0.9, 1)

View file

@ -501,7 +501,8 @@ void TagDragDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opt
{
painter->save();
painter->setRenderHints(QPainter::Antialiasing);
painter->drawRoundedRect(option.rect.adjusted(4,4,-4,-4), 5, 5);
painter->setBrush(QBrush(AIR_BLUE_TRANS));
painter->drawRoundedRect(option.rect.adjusted(2,2,-2,-2), 5, 5);
painter->restore();
QStyledItemDelegate::paint(painter, option, index);
}