KWWidgets
debian/tmp/usr/include/KWWidgets/vtkKWLogDialog.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Module: $RCSfile: vtkKWLogDialog.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 vtkKWLogDialog - a log dialog.
15 // .SECTION Description
16 // This widget can be used to display various types of records/events in the
17 // form of a multicolumn log. Each record is timestamped automatically, and
19 // description.
20 // This dialog is a standalone toplevel, but uses a vtkKWLogWidget internally.
21 // The vtkKWLogWidget class can be inserted in any widget hierarchy.
22 // .SECTION Thanks
23 // This work is part of the National Alliance for Medical Image
24 // Computing (NAMIC), funded by the National Institutes of Health
25 // through the NIH Roadmap for Medical Research, Grant U54 EB005149.
26 // Information on the National Centers for Biomedical Computing
27 // can be obtained from http://nihroadmap.nih.gov/bioinformatics.
28 // .SECTION See Also
29 // vtkKWLogWidget
30 
31 #ifndef __vtkKWLogDialog_h
32 #define __vtkKWLogDialog_h
33 
34 #include "vtkKWMessageDialog.h"
35 
36 class vtkKWApplication;
37 class vtkKWLogWidget;
38 class vtkKWPushButton;
39 
41 {
42 public:
43  static vtkKWLogDialog* New();
44  vtkTypeRevisionMacro(vtkKWLogDialog,vtkKWMessageDialog);
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
47  // Description:
48  // Get the internal log widget so that its API will be exposed directly
49  vtkGetObjectMacro(LogWidget, vtkKWLogWidget);
50 
51 protected:
53  ~vtkKWLogDialog();
54 
55  // Description:
56  // Create the widget.
57  virtual void CreateWidget();
58 
59  // Description:
60  // Member variables
62 
63 private:
64  vtkKWLogDialog(const vtkKWLogDialog&); // Not implemented
65  void operator=(const vtkKWLogDialog&); // Not implemented
66 };
67 
68 #endif