mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
02103978ec
commit
b08b32af2c
2 changed files with 3 additions and 1 deletions
1
color.h
1
color.h
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue