Changeset 8127 in ntrip for trunk/BNC/qwtpolar/qwt_polar_itemdict.cpp
- Timestamp:
- May 10, 2017, 3:20:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwtpolar/qwt_polar_itemdict.cpp
r4272 r8127 110 110 111 111 /*! 112 Attach/Detacha plot item112 Insert a plot item 113 113 114 Attached items will be deleted in the destructor, 115 if auto deletion is enabled (default). Manually detached 116 items are not deleted. 114 \param item PlotItem 115 \sa removeItem() 116 */ 117 void QwtPolarItemDict::insertItem( QwtPolarItem *item ) 118 { 119 d_data->itemList.insertItem( item ); 120 } 117 121 118 \param item Plot item to attach/detach 119 \ on If true attach, else detach theitem122 /*! 123 Remove a plot item 120 124 121 \sa setAutoDelete, ~QwtPolarItemDict 122 */ 123 void QwtPolarItemDict::attachItem( QwtPolarItem *item, bool on ) 125 \param item PlotItem 126 \sa insertItem() 127 */ 128 void QwtPolarItemDict::removeItem( QwtPolarItem *item ) 124 129 { 125 if ( on ) 126 d_data->itemList.insertItem( item ); 127 else 128 d_data->itemList.removeItem( item ); 130 d_data->itemList.removeItem( item ); 129 131 } 130 132
Note:
See TracChangeset
for help on using the changeset viewer.