00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetSetSubclass.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 =========================================================================*/ 00038 #ifndef __vtkKWScaleSet_h 00039 #define __vtkKWScaleSet_h 00040 00041 #include "vtkKWWidgetSet.h" 00042 00043 class vtkKWScale; 00044 00045 class KWWidgets_EXPORT vtkKWScaleSet : public vtkKWWidgetSet 00046 { 00047 public: 00048 static vtkKWScaleSet* New(); 00049 vtkTypeRevisionMacro(vtkKWScaleSet,vtkKWWidgetSet); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00054 virtual vtkKWScale* AddWidget(int id); 00055 00059 virtual vtkKWScale* InsertWidget(int id, int pos); 00060 00063 virtual vtkKWScale* GetWidget(int id); 00064 00065 protected: 00066 vtkKWScaleSet() {}; 00067 ~vtkKWScaleSet() {}; 00068 00069 // Helper methods 00070 00071 virtual vtkKWWidget* AllocateAndCreateWidget(); 00072 00073 private: 00074 vtkKWScaleSet(const vtkKWScaleSet&); // Not implemented 00075 void operator=(const vtkKWScaleSet&); // Not implemented 00076 }; 00077 00078 #endif
1.6.1