00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetWithSpinButtonsSubclass.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 =========================================================================*/ 00027 #ifndef __vtkKWMenuButtonWithSpinButtons_h 00028 #define __vtkKWMenuButtonWithSpinButtons_h 00029 00030 #include "vtkKWWidgetWithSpinButtons.h" 00031 00032 class vtkKWApplication; 00033 class vtkKWMenuButton; 00034 00035 class KWWIDGETS_EXPORT vtkKWMenuButtonWithSpinButtons : public vtkKWWidgetWithSpinButtons 00036 { 00037 public: 00038 static vtkKWMenuButtonWithSpinButtons* New(); 00039 vtkTypeRevisionMacro(vtkKWMenuButtonWithSpinButtons, vtkKWWidgetWithSpinButtons); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 virtual void Create(vtkKWApplication *app); 00044 00046 virtual vtkKWMenuButton* GetWidget(); 00047 00050 virtual void SetBalloonHelpString(const char *str); 00051 00058 virtual void UpdateEnableState(); 00059 00061 00062 virtual void NextValueCallback(); 00063 virtual void PreviousValueCallback(); 00065 00066 protected: 00067 vtkKWMenuButtonWithSpinButtons(); 00068 ~vtkKWMenuButtonWithSpinButtons(); 00069 00071 virtual void Pack(); 00072 00074 vtkKWMenuButton *Widget; 00075 00076 private: 00077 00078 vtkKWMenuButtonWithSpinButtons(const vtkKWMenuButtonWithSpinButtons&); // Not implemented 00079 void operator=(const vtkKWMenuButtonWithSpinButtons&); // Not implemented 00080 }; 00081 00082 #endif