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

dox/GUISupport/Qt/vtkQtTreeView.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkQtTreeView.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 -------------------------------------------------------------------------*/
00031 #ifndef __vtkQtTreeView_h
00032 #define __vtkQtTreeView_h
00033 
00034 #include "QVTKWin32Header.h"
00035 #include "vtkQtItemView.h"
00036 
00037 class QTreeView;
00038 class vtkQtTreeModelAdapter;
00039 
00040 class QVTK_EXPORT vtkQtTreeView : public vtkQtItemView
00041 {
00042 public:
00043   static vtkQtTreeView *New();
00044   vtkTypeRevisionMacro(vtkQtTreeView, vtkQtItemView);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046   
00048   virtual void SetItemView(QAbstractItemView*);
00049   
00051   virtual void SetItemModelAdapter(vtkQtAbstractModelAdapter* qma);
00052 
00053 protected:
00054   vtkQtTreeView();
00055   ~vtkQtTreeView();
00056 
00057 private:
00058   vtkQtTreeView(const vtkQtTreeView&);  // Not implemented.
00059   void operator=(const vtkQtTreeView&);  // Not implemented.
00060   
00061   QTreeView* TreeViewPtr;
00062   vtkQtTreeModelAdapter* TreeAdapterPtr;
00063   
00064   bool IOwnTreeView;
00065   bool IOwnTreeAdapter;
00066 };
00067 
00068 #endif

Generated by  doxygen 1.7.1