VTK
vtkQtChartStyleSize.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtChartStyleSize.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 
23 
24 #ifndef _vtkQtChartStyleSize_h
25 #define _vtkQtChartStyleSize_h
26 
27 
28 #include "vtkQtChartExport.h"
29 #include <QObject>
30 #include <QSizeF> // needed for return type
31 
32 
37 class VTKQTCHART_EXPORT vtkQtChartStyleSize : public QObject
38 {
39  Q_OBJECT
40 
41 public:
45  vtkQtChartStyleSize(QObject *parent=0);
46  virtual ~vtkQtChartStyleSize() {}
47 
53  virtual QSizeF getStyleSize(int index) const = 0;
54 
55 private:
57  vtkQtChartStyleSize &operator=(const vtkQtChartStyleSize &);
58 };
59 
60 #endif
The vtkQtChartStyleSize class is the interface for series size options.