@@ -23,7 +23,6 void LegendScrollButton::mousePressEvent(QGraphicsSceneMouseEvent *event) | |||||
23 | m_ledgend->scrollButtonClicked(this); |
|
23 | m_ledgend->scrollButtonClicked(this); | |
24 | } |
|
24 | } | |
25 |
|
25 | |||
26 | #include "moc_legendscrollbutton_p.cpp" |
|
|||
27 |
|
26 | |||
28 | QTCOMMERCIALCHART_END_NAMESPACE |
|
27 | QTCOMMERCIALCHART_END_NAMESPACE | |
29 |
|
28 |
@@ -66,7 +66,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
66 | /*! |
|
66 | /*! | |
67 | Constructs the legend object and sets the parent to \a parent |
|
67 | Constructs the legend object and sets the parent to \a parent | |
68 | */ |
|
68 | */ | |
69 |
QLegend::QLegend(QChart *chart):QGraphicsWidget(chart |
|
69 | QLegend::QLegend(QChart *chart):QGraphicsWidget(chart), | |
70 | m_margin(5), |
|
70 | m_margin(5), | |
71 | m_pos(0,0), |
|
71 | m_pos(0,0), | |
72 | m_minimumSize(50,20), // TODO: magic numbers |
|
72 | m_minimumSize(50,20), // TODO: magic numbers |
General Comments 0
You need to be logged in to leave comments.
Login now