KWWidgets
debian/tmp/usr/include/KWWidgets/vtkKWSimpleEntryDialog.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Module: $RCSfile: vtkKWSimpleEntryDialog.h,v $
4 
5  Copyright (c) Kitware, Inc.
6  All rights reserved.
7  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 // .NAME vtkKWSimpleEntryDialog - a message dialog with a single entry superclass
15 
16 #ifndef __vtkKWSimpleEntryDialog_h
17 #define __vtkKWSimpleEntryDialog_h
18 
19 #include "vtkKWMessageDialog.h"
20 
22 
24 {
25 public:
26  static vtkKWSimpleEntryDialog* New();
28  void PrintSelf(ostream& os, vtkIndent indent);
29 
30  // Description:
31  // Access to the entry
32  vtkGetObjectMacro(Entry, vtkKWEntryWithLabel);
33 
34  // Description:
35  // Invoke the dialog and display it in a modal manner.
36  // This method returns a zero if the dilaog was killed or
37  // canceled, nonzero otherwise.
38  virtual int Invoke();
39 
40 protected:
43 
44  // Description:
45  // Create the widget.
46  virtual void CreateWidget();
47 
49 
50  // Description:
51  // Pack.
52  virtual void Pack();
53 
54 private:
55  vtkKWSimpleEntryDialog(const vtkKWSimpleEntryDialog&); // Not implemented
56  void operator=(const vtkKWSimpleEntryDialog&); // Not implemented
57 };
58 
59 
60 #endif
61 
62 
63