00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetWithLabelSubclass.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 __vtkKWComboBoxWithLabel_h 00036 #define __vtkKWComboBoxWithLabel_h 00037 00038 #include "vtkKWWidgetWithLabel.h" 00039 00040 class vtkKWComboBox; 00041 00042 class KWWidgets_EXPORT vtkKWComboBoxWithLabel : public vtkKWWidgetWithLabel 00043 { 00044 public: 00045 static vtkKWComboBoxWithLabel* New(); 00046 vtkTypeRevisionMacro(vtkKWComboBoxWithLabel, vtkKWWidgetWithLabel); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00050 virtual vtkKWComboBox* GetWidget(); 00051 00053 00055 virtual void SetExpandWidget(int); 00056 vtkBooleanMacro(ExpandWidget, int); 00057 vtkGetMacro(ExpandWidget, int); 00059 00062 virtual void SetBalloonHelpString(const char *str); 00063 00070 virtual void UpdateEnableState(); 00071 00072 protected: 00073 vtkKWComboBoxWithLabel(); 00074 ~vtkKWComboBoxWithLabel(); 00075 00077 virtual void CreateWidget(); 00078 00080 int ExpandWidget; 00081 00083 virtual void Pack(); 00084 00086 vtkKWComboBox *Widget; 00087 00088 private: 00089 00090 vtkKWComboBoxWithLabel(const vtkKWComboBoxWithLabel&); // Not implemented 00091 void operator=(const vtkKWComboBoxWithLabel&); // Not implemented 00092 }; 00093 00094 #endif
1.6.1