Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Widgets/Templates/vtkKWCanvasWithScrollbars.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWWidgetWithScrollbarsSubclass.h.in,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00025 #ifndef __vtkKWCanvasWithScrollbars_h
00026 #define __vtkKWCanvasWithScrollbars_h
00027 
00028 #include "vtkKWWidgetWithScrollbars.h"
00029 
00030 class vtkKWScrollbar;
00031 class vtkKWCanvas;
00032 
00033 class KWWIDGETS_EXPORT vtkKWCanvasWithScrollbars : public vtkKWWidgetWithScrollbars
00034 {
00035 public:
00036   static vtkKWCanvasWithScrollbars* New();
00037   vtkTypeRevisionMacro(vtkKWCanvasWithScrollbars,vtkKWWidgetWithScrollbars);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00041   virtual void Create(vtkKWApplication *app);
00042 
00044   virtual vtkKWCanvas* GetWidget();
00045   
00052   virtual void UpdateEnableState();
00053 
00054 protected:
00055   vtkKWCanvasWithScrollbars();
00056   ~vtkKWCanvasWithScrollbars();
00057 
00059   vtkKWCanvas *Widget;
00060 
00062 
00065   virtual void CreateHorizontalScrollbar(vtkKWApplication *app);
00066   virtual void CreateVerticalScrollbar(vtkKWApplication *app);
00068 
00070   virtual void Pack();
00071 
00072 private:
00073   vtkKWCanvasWithScrollbars(const vtkKWCanvasWithScrollbars&); // Not implemented
00074   void operator=(const vtkKWCanvasWithScrollbars&); // Not implemented
00075 };
00076 
00077 #endif

Generated on Tue May 30 12:31:41 2006 for ParaView by doxygen 1.3.5