VTK
vtkQtSeriesFilterLineEdit.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtSeriesFilterLineEdit.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 _vtkQtSeriesFilterLineEdit_h
25 #define _vtkQtSeriesFilterLineEdit_h
26 
27 #include "vtkQtChartExport.h"
28 
29 #include <QLineEdit>
30 
32 
36 class VTKQTCHART_EXPORT vtkQtSeriesFilterLineEdit : public QLineEdit
37 {
38  Q_OBJECT
39 
40 public:
41  vtkQtSeriesFilterLineEdit(QWidget* parent = 0);
42  virtual ~vtkQtSeriesFilterLineEdit();
43 
44  void setLayer(vtkQtChartSeriesLayer* layer);
45  vtkQtChartSeriesLayer* getLayer();
46 
47 private slots:
48  void filterSeries(const QString& text);
49 
50 private:
51  vtkQtChartSeriesLayer* Layer;
52 };
53 
54 #endif
The vtkQtSeriesFilterLineEdit class is used to filter series in a chart.
The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart series model...