@@ -26,6 +26,7 QLegend::QLegend(QGraphicsItem *parent) | |||||
26 | ,mBackgroundBrush(Qt::darkGray) // TODO: from theme? |
|
26 | ,mBackgroundBrush(Qt::darkGray) // TODO: from theme? | |
27 | ,mMinimumSize(50,20) // TODO: magic numbers |
|
27 | ,mMinimumSize(50,20) // TODO: magic numbers | |
28 | { |
|
28 | { | |
|
29 | setVisible(false); | |||
29 | } |
|
30 | } | |
30 |
|
31 | |||
31 | void QLegend::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
|
32 | void QLegend::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
General Comments 0
You need to be logged in to leave comments.
Login now