YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
stdoutwindow.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6#ifndef STDOUTWINDOW_H
7#define STDOUTWINDOW_H
8
9#include <QWidget>
10#include <yarp/conf/compiler.h>
11
12namespace Ui {
13class StdoutWindow;
14}
15
16class StdoutWindow : public QWidget
17{
18 Q_OBJECT
19
20public:
21 explicit StdoutWindow(int id, QString title, QWidget *parent = 0);
23
24 int getId();
25 void addMessage(QString text);
26
27protected:
28 void closeEvent(QCloseEvent * event) override;
29
30private:
31 Ui::StdoutWindow *ui;
32 int id;
33
34
35
36signals:
37 void closeStdOut(int);
38 void internalAddMessage(QString msg);
39
40public slots:
41 void onInternalAddMessage(QString msg);
42};
43
44#endif // STDOUTWINDOW_H
void onInternalAddMessage(QString msg)
void addMessage(QString text)
void closeStdOut(int)
void closeEvent(QCloseEvent *event) override
void internalAddMessage(QString msg)
Definition aboutdlg.h:11