Changeset 8127 in ntrip for trunk/BNC/qwtpolar/qwt_polar_item.h
- Timestamp:
- May 10, 2017, 3:20:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwtpolar/qwt_polar_item.h
r4272 r8127 12 12 #include "qwt_polar_global.h" 13 13 #include <qwt_text.h> 14 #include <qwt_legend_itemmanager.h> 14 #include <qwt_legend_data.h> 15 #include <qwt_graphic.h> 15 16 #include <qwt_interval.h> 16 17 … … 34 35 types of items. 35 36 */ 36 class QWT_POLAR_EXPORT QwtPolarItem : public QwtLegendItemManager37 class QWT_POLAR_EXPORT QwtPolarItem 37 38 { 38 39 public: … … 103 104 104 105 void attach( QwtPolarPlot *plot ); 105 106 /*! 107 \brief This method detaches a QwtPolarItem from any QwtPolarPlot it 108 has been associated with. 109 110 detach() is equivalent to calling attach( NULL ) 111 \sa attach( QwtPolarPlot* plot ) 112 */ 113 void detach() { attach( NULL ); } 106 void detach(); 114 107 115 108 QwtPolarPlot *plot() const; … … 127 120 bool testRenderHint( RenderHint ) const; 128 121 122 void setRenderThreadCount( uint numThreads ); 123 uint renderThreadCount() const; 124 129 125 double z() const; 130 126 void setZ( double z ); … … 136 132 137 133 virtual void itemChanged(); 134 virtual void legendChanged(); 138 135 139 136 /*! … … 154 151 virtual QwtInterval boundingInterval( int scaleId ) const; 155 152 156 virtual QWidget *legendItem() const;157 158 virtual void updateLegend( QwtLegend * ) const;159 153 virtual void updateScaleDiv( const QwtScaleDiv &, 160 154 const QwtScaleDiv &, const QwtInterval & ); 161 155 162 156 virtual int marginHint() const; 157 158 void setLegendIconSize( const QSize & ); 159 QSize legendIconSize() const; 160 161 virtual QList<QwtLegendData> legendData() const; 162 virtual QwtGraphic legendIcon( int index, const QSizeF & ) const; 163 163 164 164 private: … … 174 174 Q_DECLARE_OPERATORS_FOR_FLAGS( QwtPolarItem::RenderHints ) 175 175 176 Q_DECLARE_METATYPE( QwtPolarItem * ) 177 176 178 #endif
Note:
See TracChangeset
for help on using the changeset viewer.