GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4LogInfo.h
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
14#ifndef TGO4LOGINFO_H
15#define TGO4LOGINFO_H
16
17#include "QGo4Widget.h"
18#include "ui_TGo4LogInfo.h"
19
20#include <QDateTime>
21
22class TGo4LogInfo : public QGo4Widget, public Ui::TGo4LogInfo
23{
24 Q_OBJECT
25
26public:
27 TGo4LogInfo(QWidget *parent = nullptr, const char *name = nullptr);
28
29 void WorkWithInfo(TGo4Slot *slot);
30
31 void linkedObjectUpdated(const char *linkname, TObject *obj) override;
32
33 void AddMessage(const QDateTime& dt, int level, QString msg);
34
35public slots:
36
37 virtual void ClearLogInfo();
38
39 virtual void SaveLogInfo();
40
41};
42
43#endif
QGo4Widget(QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=Qt::Widget)
virtual void ClearLogInfo()
void WorkWithInfo(TGo4Slot *slot)
TGo4LogInfo(QWidget *parent=nullptr, const char *name=nullptr)
void linkedObjectUpdated(const char *linkname, TObject *obj) override
void AddMessage(const QDateTime &dt, int level, QString msg)
virtual void SaveLogInfo()