##// END OF EJS Templates
Fix labels, shades visible naming convention
Michal Klocek -
r365:884af9f4ef86
parent child
Show More
@@ -95,7 +95,7 void AxisItem::handleAxisUpdate(QChartAxis* axis)
95 95 setGridOpacity(0);
96 96 }
97 97
98 if(axis->isLabelsVisible())
98 if(axis->labelsVisible())
99 99 {
100 100 setLabelsOpacity(100);
101 101 }
@@ -103,7 +103,7 void AxisItem::handleAxisUpdate(QChartAxis* axis)
103 103 setLabelsOpacity(0);
104 104 }
105 105
106 if(axis->isShadesVisible()) {
106 if(axis->shadesVisible()) {
107 107 setShadesOpacity(axis->shadesOpacity());
108 108 }
109 109 else {
@@ -40,7 +40,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
40 40 */
41 41
42 42 /*!
43 \fn bool QChartAxis::isLabelsVisible() const
43 \fn bool QChartAxis::labelsVisible() const
44 44 \brief Returns if grid is visible
45 45 \sa setLabelsVisible()
46 46 */
@@ -70,7 +70,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
70 70 */
71 71
72 72 /*!
73 \fn bool QChartAxis::isShadesVisible() const
73 \fn bool QChartAxis::shadesVisible() const
74 74 \brief Returns if shades are visible.
75 75 \sa setShadesVisible()
76 76 */
@@ -28,7 +28,7 public:
28 28 QPen gridPen() const {return m_gridPen;}
29 29
30 30 //labels handling
31 bool isLabelsVisible() const { return m_labelsVisible;};
31 bool labelsVisible() const { return m_labelsVisible;};
32 32 void setLabelsVisible(bool visible);
33 33 void setLabelsPen(const QPen& pen);
34 34 QPen labelsPen() const { return m_labelsPen;}
@@ -40,7 +40,7 public:
40 40 int labelsAngle() const { return m_labelsAngle;};
41 41
42 42 //shades handling
43 bool isShadesVisible() const { return m_shadesVisible;};
43 bool shadesVisible() const { return m_shadesVisible;};
44 44 void setShadesVisible(bool visible);
45 45 void setShadesPen(const QPen& pen);
46 46 QPen shadesPen() const { return m_shadesPen;}
General Comments 0
You need to be logged in to leave comments. Login now