VTK
vtkQtChartHelpFormatter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtChartHelpFormatter.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 _vtkQtChartHelpFormatter_h
25 #define _vtkQtChartHelpFormatter_h
26 
27 #include "vtkQtChartExport.h"
28 #include <QString> // needed for return type
29 
30 class QStringList;
31 
32 
37 class VTKQTCHART_EXPORT vtkQtChartHelpFormatter
38 {
39 public:
41 
45  vtkQtChartHelpFormatter(const QString &format);
47 
52  const QString &getFormat() const {return this->Format;}
53 
57  void setFormat(const QString &format) {this->Format = format;}
58 
70  QString getHelpText(const QString &series, const QStringList &data) const;
71 
72 private:
73  QString Format;
74 };
75 
76 #endif