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