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

dox/GUISupport/Qt/vtkQtView.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkQtView.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 -------------------------------------------------------------------------*/
00030 #ifndef __vtkQtView_h
00031 #define __vtkQtView_h
00032 
00033 #include "QVTKWin32Header.h"
00034 #include "vtkView.h"
00035 
00036 class QWidget;
00037 
00038 class QVTK_EXPORT vtkQtView : public vtkView
00039 {
00040 public:
00041   static vtkQtView *New();
00042   vtkTypeRevisionMacro(vtkQtView, vtkView);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044       
00046 
00049   virtual void SetWidget(QWidget*);
00050   virtual QWidget* GetWidget();
00052   
00053 protected:
00054   vtkQtView();
00055   ~vtkQtView();
00056 
00057 private:
00058   vtkQtView(const vtkQtView&);  // Not implemented.
00059   void operator=(const vtkQtView&);  // Not implemented.
00060   
00062   QWidget *Widget;
00063 };
00064 
00065 #endif

Generated by  doxygen 1.7.1