• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/GUISupport/Qt/Chart/vtkQtChartSeriesOptions.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkQtChartSeriesOptions.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00020 
00023 
00024 #ifndef _vtkQtChartSeriesOptions_h
00025 #define _vtkQtChartSeriesOptions_h
00026 
00027 #include "vtkQtChartExport.h"
00028 #include <QObject>
00029 
00030 class vtkQtChartStyleGenerator;
00031 class QBrush;
00032 class QPen;
00033 
00034 
00039 class VTKQTCHART_EXPORT vtkQtChartSeriesOptions : public QObject
00040 {
00041   Q_OBJECT
00042 
00043 public:
00047   vtkQtChartSeriesOptions(QObject *parent=0);
00048   vtkQtChartSeriesOptions(const vtkQtChartSeriesOptions &other);
00049   virtual ~vtkQtChartSeriesOptions();
00050 
00051   vtkQtChartSeriesOptions &operator=(const vtkQtChartSeriesOptions &other);
00052 
00057   int getStyle() const {return this->Style;}
00058 
00067   virtual void setStyle(int style, vtkQtChartStyleGenerator *generator);
00068 
00073   bool isVisible() const {return this->Visible;}
00074 
00078   void setVisible(bool visible);
00079 
00084   const QPen &getPen() const;
00085 
00089   void setPen(const QPen &pen);
00090 
00095   const QBrush &getBrush() const;
00096 
00100   void setBrush(const QBrush &brush);
00101 
00102 signals:
00106   void visibilityChanged(bool visible);
00107 
00111   void penChanged(const QPen &pen);
00112 
00116   void brushChanged(const QBrush &brush);
00117 
00118 private:
00119   QPen *Pen;     
00120   QBrush *Brush; 
00121   int Style;     
00122   bool Visible;  
00123 };
00124 
00125 #endif
00126 

Generated by  doxygen 1.7.1