@@ -122,7 +122,7 public: | |||||
122 | m_labelBrush = QBrush(QRgb(0x404044)); |
|
122 | m_labelBrush = QBrush(QRgb(0x404044)); | |
123 | m_gridLinePen = QPen(QRgb(0xe2e2e2)); |
|
123 | m_gridLinePen = QPen(QRgb(0xe2e2e2)); | |
124 | m_gridLinePen.setWidth(1); |
|
124 | m_gridLinePen.setWidth(1); | |
125 |
m_minorGridLinePen = Q |
|
125 | m_minorGridLinePen = QPen(QRgb(0x404044)); | |
126 | m_minorGridLinePen.setWidth(1); |
|
126 | m_minorGridLinePen.setWidth(1); | |
127 | m_minorGridLinePen.setStyle(Qt::DashLine); |
|
127 | m_minorGridLinePen.setStyle(Qt::DashLine); | |
128 | m_backgroundShades = BackgroundShadesNone; |
|
128 | m_backgroundShades = BackgroundShadesNone; |
@@ -100,9 +100,8 DeclarativeCategoryAxis::AxisLabelsPosition DeclarativeCategoryAxis::labelsPosit | |||||
100 |
|
100 | |||
101 | void DeclarativeCategoryAxis::setLabelsPosition(AxisLabelsPosition position) |
|
101 | void DeclarativeCategoryAxis::setLabelsPosition(AxisLabelsPosition position) | |
102 | { |
|
102 | { | |
103 | QCategoryAxis::AxisLabelsPosition labelsPosition = (QCategoryAxis::AxisLabelsPosition) position; |
|
103 | if (position != m_labelsPosition) { | |
104 | if (labelsPosition != m_labelsPosition) { |
|
104 | QCategoryAxis::setLabelsPosition((QCategoryAxis::AxisLabelsPosition)position); | |
105 | QCategoryAxis::setLabelsPosition(labelsPosition); |
|
|||
106 | emit labelsPositionChanged(position); |
|
105 | emit labelsPositionChanged(position); | |
107 | } |
|
106 | } | |
108 | } |
|
107 | } |
General Comments 0
You need to be logged in to leave comments.
Login now