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

dox/GUISupport/Qt/vtkQtListView.h

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

Generated by  doxygen 1.7.1