qwt_plot_dict.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Qwt Widget Library
3  * Copyright (C) 1997 Josef Wilgen
4  * Copyright (C) 2002 Uwe Rathmann
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the Qwt License, Version 1.0
8  *****************************************************************************/
9 
10 #ifndef QWT_PLOT_DICT
11 #define QWT_PLOT_DICT
12 
13 #include "qwt_global.h"
14 #include "qwt_plot_item.h"
15 
16 #include <qlist.h>
17 
20 
33 {
34  public:
35  explicit QwtPlotDict();
36  virtual ~QwtPlotDict();
37 
38  void setAutoDelete( bool );
39  bool autoDelete() const;
40 
41  const QwtPlotItemList& itemList() const;
42  QwtPlotItemList itemList( int rtti ) const;
43 
44  void detachItems( int rtti = QwtPlotItem::Rtti_PlotItem,
45  bool autoDelete = true );
46 
47  protected:
48  void insertItem( QwtPlotItem* );
49  void removeItem( QwtPlotItem* );
50 
51  private:
52  class PrivateData;
54 };
55 
56 #endif
QwtPlotDict
A dictionary for plot items.
Definition: qwt_plot_dict.h:32
qwt_global.h
QList< QwtPlotItem * >
QwtPlotItemList
QList< QwtPlotItem * > QwtPlotItemList
Definition: qwt_plot_dict.h:18
QwtPlotItem::Rtti_PlotItem
@ Rtti_PlotItem
Unspecific value, that can be used, when it doesn't matter.
Definition: qwt_plot_item.h:78
QwtPlotItem
Base class for items on the plot canvas.
Definition: qwt_plot_item.h:66
QwtPlotDict::PrivateData
Definition: qwt_plot_dict.cpp:13
QwtPlotItemIterator
QList< QwtPlotItem * >::ConstIterator QwtPlotItemIterator
Definition: qwt_plot_dict.h:19
QWT_EXPORT
#define QWT_EXPORT
Definition: qwt_global.h:38
qwt_plot_item.h
QwtPlotDict::m_data
PrivateData * m_data
Definition: qwt_plot_dict.h:52


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45