summaryrefslogtreecommitdiffstats
path: root/src/boxplotchart/boxwhiskers_p.h
diff options
context:
space:
mode:
authorMika Salmela <mika.salmela@digia.com>2013-06-12 14:19:40 +0300
committerMika Salmela <mika.salmela@digia.com>2013-06-12 14:22:09 +0300
commit3880b19e779569ff87dd5f6c1c77c32d63f40a3a (patch)
tree434f3bf74fcfdd643e6450063c2285f7374e274c /src/boxplotchart/boxwhiskers_p.h
parentfd6a3d4befc5991dc8add35acab1e593d84121c0 (diff)
Selectable outlines for box
Change-Id: Ic31fa26f914baaa6c26f52c73ca4328ec7523581 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/boxplotchart/boxwhiskers_p.h')
-rw-r--r--src/boxplotchart/boxwhiskers_p.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/boxplotchart/boxwhiskers_p.h b/src/boxplotchart/boxwhiskers_p.h
index 17b32c69..44bd1eb2 100644
--- a/src/boxplotchart/boxwhiskers_p.h
+++ b/src/boxplotchart/boxwhiskers_p.h
@@ -54,6 +54,7 @@ public:
void setBrush(const QBrush &brush);
void setPen(const QPen &pen);
void setLayout(const BoxWhiskersData &data);
+ void setBoxOutlined(const bool outlined) { m_boxOutlined = outlined; }
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
@@ -83,8 +84,15 @@ private:
bool m_validData;
QBrush m_brush;
QPen m_pen;
+ QPen m_medianPen;
+ QPen m_outlinePen;
+ bool m_boxOutlined;
BoxWhiskersData m_data;
QSizeF m_domainSize;
+ QRectF m_middleBox;
+ qreal m_geometryMedian;
+ qreal m_geometryLeft;
+ qreal m_geometryRight;
};
QTCOMMERCIALCHART_END_NAMESPACE