Isis 3 Programmer Reference
GuiLog.h
1 #ifndef Isis_GuiLog_h
2 #define Isis_GuiLog_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <QTextEdit>
11 
12 namespace Isis {
18  class GuiLog : public QWidget {
19 
20  Q_OBJECT
21 
22  public:
23 
24  GuiLog(QWidget *parent = 0);
25  ~GuiLog();
26 
27  void Write(const QString &string);
28 
29  public slots:
30  void Clear();
31  void Save();
32 
33  private:
34  QTextEdit *p_textEdit;
35  };
36 };
37 
38 
39 
40 #endif
QWidget
Isis::GuiLog
Definition: GuiLog.h:18
Isis::GuiLog::Save
void Save()
Save the contents of the log widget to a file.
Definition: GuiLog.cpp:50
Isis::GuiLog::Write
void Write(const QString &string)
Add more information to the log widget.
Definition: GuiLog.cpp:38
Isis::GuiLog::GuiLog
GuiLog(QWidget *parent=0)
Constructor.
Definition: GuiLog.cpp:17
Isis::GuiLog::Clear
void Clear()
Clear the contents of the log widget.
Definition: GuiLog.cpp:43
Isis::GuiLog::~GuiLog
~GuiLog()
Destructor.
Definition: GuiLog.cpp:34
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16