00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWTkcon.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 =========================================================================*/ 00026 #ifndef __vtkKWTkcon_h 00027 #define __vtkKWTkcon_h 00028 00029 #include "vtkKWTclInteractor.h" 00030 00031 class vtkKWTkconInternals; 00032 00033 class KWWidgets_EXPORT vtkKWTkcon : public vtkKWTclInteractor 00034 { 00035 // @cond section_public 00036 public: 00037 static vtkKWTkcon* New(); 00038 vtkTypeRevisionMacro(vtkKWTkcon, vtkKWTclInteractor); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 virtual void AppendText(const char* text); 00043 00046 virtual void Focus(); 00047 00049 00060 virtual void SetFont(const char *font); 00061 virtual const char* GetFont(); 00063 00070 virtual void UpdateEnableState(); 00071 00072 // @endcond 00073 // @cond section_protected 00074 protected: 00075 vtkKWTkcon(); 00076 ~vtkKWTkcon(); 00077 00079 virtual void CreateWidget(); 00080 00081 // PIMPL Encapsulation for STL containers 00082 //BTX 00083 vtkKWTkconInternals *Internals; 00084 //ETX 00085 00086 // @endcond 00087 // @cond section_private 00088 private: 00089 vtkKWTkcon(const vtkKWTkcon&); // Not implemented 00090 void operator=(const vtkKWTkcon&); // Not implemented 00091 }; 00092 00093 #endif 00094 00095 // @endcond
1.6.1