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 =========================================================================*/ 00023 #ifndef __vtkKWWidgetWithSpinButtons_h 00024 #define __vtkKWWidgetWithSpinButtons_h 00025 00026 #include "vtkKWCompositeWidget.h" 00027 00028 class vtkKWApplication; 00029 class vtkKWSpinButtons; 00030 00031 class KWWIDGETS_EXPORT vtkKWWidgetWithSpinButtons : public vtkKWCompositeWidget 00032 { 00033 public: 00034 static vtkKWWidgetWithSpinButtons* New(); 00035 vtkTypeRevisionMacro(vtkKWWidgetWithSpinButtons, vtkKWCompositeWidget); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 virtual void Create(vtkKWApplication *app); 00040 00042 00043 vtkGetObjectMacro(SpinButtons, vtkKWSpinButtons); 00045 00048 virtual void SetBalloonHelpString(const char *str); 00049 00056 virtual void UpdateEnableState(); 00057 00059 00060 virtual void NextValueCallback() {}; 00061 virtual void PreviousValueCallback() {}; 00063 00064 protected: 00065 vtkKWWidgetWithSpinButtons(); 00066 ~vtkKWWidgetWithSpinButtons(); 00067 00069 virtual void Pack() {}; 00070 00072 vtkKWSpinButtons *SpinButtons; 00073 00074 private: 00075 00076 vtkKWWidgetWithSpinButtons(const vtkKWWidgetWithSpinButtons&); // Not implemented 00077 void operator=(const vtkKWWidgetWithSpinButtons&); // Not implemented 00078 }; 00079 00080 #endif