00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetWithSpinButtons.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 =========================================================================*/ 00036 #ifndef __vtkKWWidgetWithSpinButtons_h 00037 #define __vtkKWWidgetWithSpinButtons_h 00038 00039 #include "vtkKWCompositeWidget.h" 00040 00041 class vtkKWSpinButtons; 00042 00043 class KWWidgets_EXPORT vtkKWWidgetWithSpinButtons : public vtkKWCompositeWidget 00044 { 00045 // @cond section_public 00046 public: 00047 static vtkKWWidgetWithSpinButtons* New(); 00048 vtkTypeRevisionMacro(vtkKWWidgetWithSpinButtons, vtkKWCompositeWidget); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00052 00053 vtkGetObjectMacro(SpinButtons, vtkKWSpinButtons); 00055 00058 virtual void SetBalloonHelpString(const char *str); 00059 00066 virtual void UpdateEnableState(); 00067 00069 00070 virtual void NextValueCallback() {}; 00071 virtual void PreviousValueCallback() {}; 00073 00074 // @endcond 00075 // @cond section_protected 00076 protected: 00077 vtkKWWidgetWithSpinButtons(); 00078 ~vtkKWWidgetWithSpinButtons(); 00079 00081 virtual void CreateWidget(); 00082 00084 virtual void Pack() {}; 00085 00087 vtkKWSpinButtons *SpinButtons; 00088 00089 // @endcond 00090 // @cond section_private 00091 private: 00092 00093 vtkKWWidgetWithSpinButtons(const vtkKWWidgetWithSpinButtons&); // Not implemented 00094 void operator=(const vtkKWWidgetWithSpinButtons&); // Not implemented 00095 }; 00096 00097 #endif 00098 // @endcond
1.6.1