00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWSimpleEntryDialog.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 =========================================================================*/ 00018 #ifndef __vtkKWSimpleEntryDialog_h 00019 #define __vtkKWSimpleEntryDialog_h 00020 00021 #include "vtkKWMessageDialog.h" 00022 00023 class vtkKWApplication; 00024 class vtkKWEntryWithLabel; 00025 00026 class KWWIDGETS_EXPORT vtkKWSimpleEntryDialog : public vtkKWMessageDialog 00027 { 00028 public: 00029 static vtkKWSimpleEntryDialog* New(); 00030 vtkTypeRevisionMacro(vtkKWSimpleEntryDialog, vtkKWMessageDialog); 00031 void PrintSelf(ostream& os, vtkIndent indent); 00032 00034 virtual void Create(vtkKWApplication *app); 00035 00037 00038 vtkGetObjectMacro(Entry, vtkKWEntryWithLabel); 00040 00044 virtual int Invoke(); 00045 00046 protected: 00047 vtkKWSimpleEntryDialog(); 00048 ~vtkKWSimpleEntryDialog(); 00049 00050 vtkKWEntryWithLabel *Entry; 00051 00052 private: 00053 vtkKWSimpleEntryDialog(const vtkKWSimpleEntryDialog&); // Not implemented 00054 void operator=(const vtkKWSimpleEntryDialog&); // Not implemented 00055 }; 00056 00057 00058 #endif 00059 00060 00061