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 =========================================================================*/ 00033 #ifndef __vtkKWCanvasWithScrollbars_h 00034 #define __vtkKWCanvasWithScrollbars_h 00035 00036 #include "vtkKWWidgetWithScrollbars.h" 00037 00038 class vtkKWScrollbar; 00039 class vtkKWCanvas; 00040 00041 class KWWidgets_EXPORT vtkKWCanvasWithScrollbars : public vtkKWWidgetWithScrollbars 00042 { 00043 public: 00044 static vtkKWCanvasWithScrollbars* New(); 00045 vtkTypeRevisionMacro(vtkKWCanvasWithScrollbars,vtkKWWidgetWithScrollbars); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 virtual vtkKWCanvas* GetWidget(); 00050 00057 virtual void UpdateEnableState(); 00058 00059 protected: 00060 vtkKWCanvasWithScrollbars(); 00061 ~vtkKWCanvasWithScrollbars(); 00062 00064 virtual void CreateWidget(); 00065 00067 vtkKWCanvas *Widget; 00068 00070 00073 virtual void CreateHorizontalScrollbar(); 00074 virtual void CreateVerticalScrollbar(); 00076 00078 virtual void Pack(); 00079 00080 private: 00081 vtkKWCanvasWithScrollbars(const vtkKWCanvasWithScrollbars&); // Not implemented 00082 void operator=(const vtkKWCanvasWithScrollbars&); // Not implemented 00083 }; 00084 00085 #endif
1.6.1