Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Widgets/vtkKWDialog.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWDialog.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 =========================================================================*/
00022 #ifndef __vtkKWDialog_h
00023 #define __vtkKWDialog_h
00024 
00025 #include "vtkKWTopLevel.h"
00026 
00027 class KWWIDGETS_EXPORT vtkKWDialog : public vtkKWTopLevel
00028 {
00029 public:
00030   static vtkKWDialog* New();
00031   vtkTypeRevisionMacro(vtkKWDialog,vtkKWTopLevel);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033 
00035   virtual void Create(vtkKWApplication *app);
00036 
00041   virtual int Invoke();
00042 
00045   virtual void Display();
00046 
00048   virtual void Cancel();
00049 
00051   virtual void OK();
00052 
00055   int GetStatus() { return this->Done; };
00056 
00058   vtkKWWidget* GetFrame() { return this; }
00059 
00061 
00062   vtkSetClampMacro(Beep, int, 0, 1);
00063   vtkBooleanMacro(Beep, int);
00064   vtkGetMacro(Beep, int);
00066 
00068 
00069   vtkSetMacro(BeepType, int);
00070   vtkGetMacro(BeepType, int);
00072 
00074 
00079   virtual int PreInvoke();
00080   virtual void PostInvoke();
00081   virtual int IsUserDoneWithDialog();
00083 
00084 protected:
00085 
00086   vtkKWDialog();
00087   ~vtkKWDialog() {};
00088 
00089   int Done;
00090   int Beep;
00091   int BeepType;
00092 
00093 private:
00094   vtkKWDialog(const vtkKWDialog&); // Not implemented
00095   void operator=(const vtkKWDialog&); // Not Implemented
00096 };
00097 
00098 #endif

Generated on Tue May 30 12:31:42 2006 for ParaView by doxygen 1.3.5