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