Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_plot_dict.h
- Timestamp:
- Nov 3, 2026, 10:53:35 AM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/BNC/qwt/qwt_plot_dict.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_plot_dict.h
r8127 r11158 1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*-*****************************1 /****************************************************************************** 2 2 * Qwt Widget Library 3 3 * Copyright (C) 1997 Josef Wilgen … … 8 8 *****************************************************************************/ 9 9 10 /*! \file !*/11 10 #ifndef QWT_PLOT_DICT 12 11 #define QWT_PLOT_DICT … … 14 13 #include "qwt_global.h" 15 14 #include "qwt_plot_item.h" 15 16 16 #include <qlist.h> 17 17 18 /// \var typedef QList< QwtPlotItem *> QwtPlotItemList 19 /// \brief See QT 4.x assistant documentation for QList 20 typedef QList<QwtPlotItem *> QwtPlotItemList; 21 typedef QList<QwtPlotItem *>::ConstIterator QwtPlotItemIterator; 18 typedef QList< QwtPlotItem* > QwtPlotItemList; 19 typedef QList< QwtPlotItem* >::ConstIterator QwtPlotItemIterator; 22 20 23 21 /*! 24 \brief A dictionary for plot items 22 \brief A dictionary for plot items 25 23 26 QwtPlotDict organizes plot items in increasing z-order. 27 If autoDelete() is enabled, all attached items will be deleted 28 in the destructor of the dictionary. 29 QwtPlotDict can be used to get access to all QwtPlotItem items - or all 30 items of a specific type - that are currently on the plot. 24 QwtPlotDict organizes plot items in increasing z-order. 25 If autoDelete() is enabled, all attached items will be deleted 26 in the destructor of the dictionary. 27 QwtPlotDict can be used to get access to all QwtPlotItem items - or all 28 items of a specific type - that are currently on the plot. 31 29 32 \sa QwtPlotItem::attach(), QwtPlotItem::detach(), QwtPlotItem::z() 33 */ 30 \sa QwtPlotItem::attach(), QwtPlotItem::detach(), QwtPlotItem::z() 31 */ 34 32 class QWT_EXPORT QwtPlotDict 35 33 { 36 public: 34 public: 37 35 explicit QwtPlotDict(); 38 36 virtual ~QwtPlotDict(); … … 47 45 bool autoDelete = true ); 48 46 49 protected: 50 void insertItem( QwtPlotItem * );51 void removeItem( QwtPlotItem * );47 protected: 48 void insertItem( QwtPlotItem* ); 49 void removeItem( QwtPlotItem* ); 52 50 53 private: 51 private: 54 52 class PrivateData; 55 PrivateData *d_data;53 PrivateData* m_data; 56 54 }; 57 55
Note:
See TracChangeset
for help on using the changeset viewer.
