2020-02-02 18:13:27 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the QtHPConnect distribution (https://github.com/Indy970/QtHPConnect.git).
|
|
|
|
* Copyright (c) 2020 Ian Gebbie.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, version 3 or later.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2020-02-07 19:50:36 +01:00
|
|
|
#ifndef HP_MDILOGWINDOW_H
|
|
|
|
#define HP_MDILOGWINDOW_H
|
2019-02-10 14:32:15 +01:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QWidget>
|
2019-02-10 14:43:00 +01:00
|
|
|
#include <QMdiSubWindow>
|
2020-02-07 19:50:36 +01:00
|
|
|
#include "hp_mdiwindow.h"
|
2019-02-10 14:32:15 +01:00
|
|
|
|
2019-02-10 14:43:00 +01:00
|
|
|
#include "texteditor.h"
|
|
|
|
|
2020-02-07 19:50:36 +01:00
|
|
|
class hp_MdiLogWindow: public hp_MdiWindow
|
2019-02-10 14:32:15 +01:00
|
|
|
{
|
2019-02-10 14:43:00 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
QTextEdit * textEdit;
|
|
|
|
|
2019-02-10 14:32:15 +01:00
|
|
|
public:
|
2020-02-07 19:50:36 +01:00
|
|
|
hp_MdiLogWindow(QWidget * parent);
|
2019-02-10 14:43:00 +01:00
|
|
|
void setup();
|
|
|
|
QTextEdit * getEditor();
|
|
|
|
void show();
|
2020-02-07 19:50:36 +01:00
|
|
|
~hp_MdiLogWindow();
|
2019-02-10 14:43:00 +01:00
|
|
|
|
2019-02-10 14:32:15 +01:00
|
|
|
};
|
|
|
|
|
2020-02-07 19:50:36 +01:00
|
|
|
#endif // HP_MDILOGWINDOW_H
|