vtkKWMenuButtonWithSpinButtons.h

Go to the documentation of this file.
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 =========================================================================*/
00035 #ifndef __vtkKWMenuButtonWithSpinButtons_h
00036 #define __vtkKWMenuButtonWithSpinButtons_h
00037 
00038 #include "vtkKWWidgetWithSpinButtons.h"
00039 
00040 class vtkKWMenuButton;
00041 
00042 class KWWidgets_EXPORT vtkKWMenuButtonWithSpinButtons : public vtkKWWidgetWithSpinButtons
00043 {
00044 public:
00045   static vtkKWMenuButtonWithSpinButtons* New();
00046   vtkTypeRevisionMacro(vtkKWMenuButtonWithSpinButtons, vtkKWWidgetWithSpinButtons);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00050   virtual vtkKWMenuButton* GetWidget();
00051   
00054   virtual void SetBalloonHelpString(const char *str);
00055 
00062   virtual void UpdateEnableState();
00063 
00065 
00066   virtual void NextValueCallback();
00067   virtual void PreviousValueCallback();
00069 
00070 protected:
00071   vtkKWMenuButtonWithSpinButtons();
00072   ~vtkKWMenuButtonWithSpinButtons();
00073 
00075   virtual void CreateWidget();
00076 
00078   virtual void Pack();
00079 
00081   vtkKWMenuButton *Widget;
00082 
00083 private:
00084 
00085   vtkKWMenuButtonWithSpinButtons(const vtkKWMenuButtonWithSpinButtons&); // Not implemented
00086   void operator=(const vtkKWMenuButtonWithSpinButtons&); // Not implemented
00087 };
00088 
00089 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:32:33 2010 for KWWidgets by  doxygen 1.6.1