VTK
vtkQtChartBasicSeriesOptionsModel.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtChartBasicSeriesOptionsModel.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
20 #ifndef __vtkQtChartBasicSeriesOptionsModel_h
21 #define __vtkQtChartBasicSeriesOptionsModel_h
22 
24 
31 class VTKQTCHART_EXPORT vtkQtChartBasicSeriesOptionsModel :
33 {
34  Q_OBJECT
35 public:
37 
44  QObject* parent=0);
46 
50  vtkQtChartSeriesModel* getSeriesModel() const;
51 
54  virtual int getNumberOfOptions() const;
55 
61  virtual vtkQtChartSeriesOptions* getOptions(int series) const;
62 
68  virtual int getOptionsIndex(vtkQtChartSeriesOptions *options) const;
69 
70 public slots:
72  virtual void reset();
73 
74 protected slots:
75  virtual void insertSeriesOptions(int first, int last);
76  virtual void removeSeriesOptions(int first, int last);
77 
78 protected:
80  QList<vtkQtChartSeriesOptions*> Options;
82 
83 private:
85  void operator=(const vtkQtChartBasicSeriesOptionsModel&); // Not implemented.
86 };
87 
88 #endif
89 
90