Changeset View
Changeset View
Standalone View
Standalone View
src/KChart/Cartesian/KChartAbstractCartesianDiagram.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 59 | #endif | |||
---|---|---|---|---|---|
82 | virtual KChart::CartesianAxisList axes() const; | 82 | virtual KChart::CartesianAxisList axes() const; | ||
83 | 83 | | |||
84 | /** | 84 | /** | ||
85 | * Triggers layouting of all coordinate planes on the current chart. | 85 | * Triggers layouting of all coordinate planes on the current chart. | ||
86 | * Normally you don't need to call this method. It's handled automatically for you. | 86 | * Normally you don't need to call this method. It's handled automatically for you. | ||
87 | */ | 87 | */ | ||
88 | virtual void layoutPlanes(); | 88 | virtual void layoutPlanes(); | ||
89 | /** \reimpl */ | 89 | /** \reimpl */ | ||
90 | void setCoordinatePlane( AbstractCoordinatePlane* plane ) Q_DECL_OVERRIDE; | 90 | void setCoordinatePlane( AbstractCoordinatePlane* plane ) override; | ||
91 | 91 | | |||
92 | /** | 92 | /** | ||
93 | * Makes this diagram use another diagram \a diagram as reference diagram with relative offset | 93 | * Makes this diagram use another diagram \a diagram as reference diagram with relative offset | ||
94 | * \a offset. | 94 | * \a offset. | ||
95 | * To share cartesian axes between different diagrams there might be cases when you need that. | 95 | * To share cartesian axes between different diagrams there might be cases when you need that. | ||
96 | * Normally you don't. | 96 | * Normally you don't. | ||
97 | * \sa examples/SharedAbscissa | 97 | * \sa examples/SharedAbscissa | ||
98 | */ | 98 | */ | ||
99 | virtual void setReferenceDiagram( AbstractCartesianDiagram* diagram, const QPointF& offset = QPointF() ); | 99 | virtual void setReferenceDiagram( AbstractCartesianDiagram* diagram, const QPointF& offset = QPointF() ); | ||
100 | /** | 100 | /** | ||
101 | * @return this diagram's reference diagram | 101 | * @return this diagram's reference diagram | ||
102 | * \sa setReferenceDiagram | 102 | * \sa setReferenceDiagram | ||
103 | */ | 103 | */ | ||
104 | virtual AbstractCartesianDiagram* referenceDiagram() const; | 104 | virtual AbstractCartesianDiagram* referenceDiagram() const; | ||
105 | /** | 105 | /** | ||
106 | * @return the relative offset of this diagram's reference diagram | 106 | * @return the relative offset of this diagram's reference diagram | ||
107 | * \sa setReferenceDiagram | 107 | * \sa setReferenceDiagram | ||
108 | */ | 108 | */ | ||
109 | virtual QPointF referenceDiagramOffset() const; | 109 | virtual QPointF referenceDiagramOffset() const; | ||
110 | 110 | | |||
111 | /* reimpl */ | 111 | /* reimpl */ | ||
112 | void setModel( QAbstractItemModel* model ) Q_DECL_OVERRIDE; | 112 | void setModel( QAbstractItemModel* model ) override; | ||
113 | /* reimpl */ | 113 | /* reimpl */ | ||
114 | void setRootIndex( const QModelIndex& index ) Q_DECL_OVERRIDE; | 114 | void setRootIndex( const QModelIndex& index ) override; | ||
115 | /* reimpl */ | 115 | /* reimpl */ | ||
116 | void setAttributesModel( AttributesModel* model ) Q_DECL_OVERRIDE; | 116 | void setAttributesModel( AttributesModel* model ) override; | ||
117 | 117 | | |||
118 | protected Q_SLOTS: | 118 | protected Q_SLOTS: | ||
119 | void connectAttributesModel( AttributesModel* ); | 119 | void connectAttributesModel( AttributesModel* ); | ||
120 | 120 | | |||
121 | protected: | 121 | protected: | ||
122 | /** @return the 3D item depth of the model index \a index */ | 122 | /** @return the 3D item depth of the model index \a index */ | ||
123 | virtual qreal threeDItemDepth( const QModelIndex& index ) const = 0; | 123 | virtual qreal threeDItemDepth( const QModelIndex& index ) const = 0; | ||
124 | /** @return the 3D item depth of the data set \a column */ | 124 | /** @return the 3D item depth of the data set \a column */ | ||
125 | virtual qreal threeDItemDepth( int column ) const = 0; | 125 | virtual qreal threeDItemDepth( int column ) const = 0; | ||
126 | }; | 126 | }; | ||
127 | } | 127 | } | ||
128 | 128 | | |||
129 | #endif | 129 | #endif |