00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWTclInteractor.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 =========================================================================*/ 00020 #ifndef __vtkKWTclInteractor_h 00021 #define __vtkKWTclInteractor_h 00022 00023 #include "vtkKWTopLevel.h" 00024 00025 class vtkKWFrame; 00026 class vtkKWPushButton; 00027 class vtkKWEntry; 00028 class vtkKWLabel; 00029 class vtkKWTextWithScrollbars; 00030 00031 class KWWidgets_EXPORT vtkKWTclInteractor : public vtkKWTopLevel 00032 { 00033 // @cond section_public 00034 public: 00035 static vtkKWTclInteractor* New(); 00036 vtkTypeRevisionMacro(vtkKWTclInteractor, vtkKWTopLevel); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00042 virtual void AppendText(const char* text); 00043 00050 virtual void UpdateEnableState(); 00051 00053 00064 virtual void SetFont(const char *font); 00065 virtual const char* GetFont(); 00067 00069 00070 virtual void EvaluateCallback(); 00071 virtual void DownCallback(); 00072 virtual void UpCallback(); 00074 00075 // @endcond 00076 // @cond section_protected 00077 protected: 00078 vtkKWTclInteractor(); 00079 ~vtkKWTclInteractor(); 00080 00082 virtual void CreateWidget(); 00083 00084 vtkKWFrame *ButtonFrame; 00085 vtkKWPushButton *DismissButton; 00086 vtkKWFrame *CommandFrame; 00087 vtkKWLabel *CommandLabel; 00088 vtkKWEntry *CommandEntry; 00089 vtkKWTextWithScrollbars *DisplayText; 00090 00091 int TagNumber; 00092 int CommandIndex; 00093 00094 // @endcond 00095 // @cond section_private 00096 private: 00097 vtkKWTclInteractor(const vtkKWTclInteractor&); // Not implemented 00098 void operator=(const vtkKWTclInteractor&); // Not implemented 00099 }; 00100 00101 #endif 00102 00103 // @endcond
1.6.1