@@ -260,10 +260,10 QAbstractAxis::AxisType QDateTimeAxis::type() const | |||||
260 |
|
260 | |||
261 | QDateTimeAxisPrivate::QDateTimeAxisPrivate(QDateTimeAxis* q): |
|
261 | QDateTimeAxisPrivate::QDateTimeAxisPrivate(QDateTimeAxis* q): | |
262 | QAbstractAxisPrivate(q), |
|
262 | QAbstractAxisPrivate(q), | |
|
263 | m_min(QDateTime::fromMSecsSinceEpoch(0)), | |||
|
264 | m_max(QDateTime::fromMSecsSinceEpoch(0)), | |||
263 | m_tickCount(5) |
|
265 | m_tickCount(5) | |
264 | { |
|
266 | { | |
265 | m_min = QDateTime::fromMSecsSinceEpoch(0); |
|
|||
266 | m_max = QDateTime::fromMSecsSinceEpoch(0); |
|
|||
267 | m_format = "dd-MM-yyyy\nh:mm"; |
|
267 | m_format = "dd-MM-yyyy\nh:mm"; | |
268 | } |
|
268 | } | |
269 |
|
269 |
@@ -67,23 +67,19 private: | |||||
67 | class PieSliceData |
|
67 | class PieSliceData | |
68 | { |
|
68 | { | |
69 | public: |
|
69 | public: | |
70 | PieSliceData() |
|
70 | PieSliceData() : | |
|
71 | m_value(0), | |||
|
72 | m_isExploded(false), | |||
|
73 | m_explodeDistanceFactor(0.15), | |||
|
74 | m_isLabelVisible(false), | |||
|
75 | m_labelPosition(QPieSlice::LabelOutside), | |||
|
76 | m_labelArmLengthFactor(0.15), | |||
|
77 | m_percentage(0), | |||
|
78 | m_radius(0), | |||
|
79 | m_startAngle(0), | |||
|
80 | m_angleSpan(0), | |||
|
81 | m_holeRadius(0) | |||
71 | { |
|
82 | { | |
72 | m_value = 0; |
|
|||
73 |
|
||||
74 | m_isExploded = false; |
|
|||
75 | m_explodeDistanceFactor = 0.15; |
|
|||
76 |
|
||||
77 | m_isLabelVisible = false; |
|
|||
78 | m_labelPosition = QPieSlice::LabelOutside; |
|
|||
79 | m_labelArmLengthFactor = 0.15; |
|
|||
80 |
|
||||
81 | m_percentage = 0; |
|
|||
82 | m_radius = 0; |
|
|||
83 | m_startAngle = 0; |
|
|||
84 | m_angleSpan = 0; |
|
|||
85 |
|
||||
86 | m_holeRadius = 0; |
|
|||
87 | } |
|
83 | } | |
88 |
|
84 | |||
89 | bool operator!=(const PieSliceData &other) const |
|
85 | bool operator!=(const PieSliceData &other) const |
General Comments 0
You need to be logged in to leave comments.
Login now