All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OutputWindow.h
Go to the documentation of this file.
1 /* Copyright (C) 2011-20011 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of TerraLib Code Editor - A widget component for scripting with TerraLib Platform.
4 
5  TerraLib Code Editor is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib Code Editor is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with TerraLib Code Editor. See COPYING. If not, write to
17  Gilberto Ribeiro de Queiroz at <gribeiro@dpi.inpe.br>.
18  */
19 
20 /*!
21  \file OutputWindow.h
22 
23  \brief A widget to output the script execution.
24 */
25 
26 #ifndef __TERRALIB_CODE_EDITOR_CORE_INTERNAL_OUTPUTWINDOW_H
27 #define __TERRALIB_CODE_EDITOR_CORE_INTERNAL_OUTPUTWINDOW_H
28 
29 // TerraLib Code Editor
30 #include "Config.h"
31 
32 // Qt
33 #include <QtGui/QDockWidget>
34 
35 // Forward declaration
36 class QTextEdit;
37 
38 namespace tce
39 {
40  /*!
41  \class OutputWindow
42 
43  \brief A widget to output the script execution.
44  */
45  class TCECOREEXPORT OutputWindow : public QDockWidget
46  {
47  Q_OBJECT
48 
49  public:
50 
51  OutputWindow(QWidget* parent = 0);
52 
53  ~OutputWindow();
54 
55  const QTextEdit* getText() const;
56 
57  QTextEdit* getText();
58 
59  private:
60 
61  QTextEdit* m_txt;
62 
63  };
64 
65 } // end namespace tce
66 
67 #endif // __TERRALIB_CODE_EDITOR_CORE_INTERNAL_OUTPUTWINDOW_H
68 
QTextEdit * m_txt
Definition: OutputWindow.h:61
A widget to output the script execution.
Definition: OutputWindow.h:45