00001 /*========================================================================= 00002 00003 Module: vtkKWSmallCounterLabel.h,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 =========================================================================*/ 00021 #ifndef __vtkKWSmallCounterLabel_h 00022 #define __vtkKWSmallCounterLabel_h 00023 00024 #include "vtkKWLabel.h" 00025 00026 class KWWidgets_EXPORT vtkKWSmallCounterLabel : public vtkKWLabel 00027 { 00028 // @cond section_public 00029 public: 00030 static vtkKWSmallCounterLabel* New(); 00031 vtkTypeRevisionMacro(vtkKWSmallCounterLabel,vtkKWLabel); 00032 void PrintSelf(ostream& os, vtkIndent indent); 00033 00035 00037 virtual void SetValue(unsigned int v); 00038 vtkGetMacro(Value, unsigned int); 00040 00042 virtual void Place(); 00043 00044 00045 // @endcond 00046 // @cond section_protected 00047 protected: 00048 vtkKWSmallCounterLabel(); 00049 ~vtkKWSmallCounterLabel(); 00050 00052 virtual void CreateWidget(); 00053 00055 virtual void UpdateIcon(); 00056 00057 unsigned int Value; 00058 vtkKWWidget *OriginalParent; 00059 00060 // @endcond 00061 // @cond section_private 00062 private: 00063 vtkKWSmallCounterLabel(const vtkKWSmallCounterLabel&); // Not implemented 00064 void operator=(const vtkKWSmallCounterLabel&); // Not implemented 00065 }; 00066 00067 00068 #endif 00069 // @endcond
1.6.1