QtHPConnect/include/hp_mdiwindow.h
2020-02-08 18:51:52 +02:00

47 lines
1.1 KiB
C++

/*
* 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/>.
*/
#ifndef HP_MDIWINDOW_H
#define HP_MDIWINDOW_H
#include <QObject>
#include <QWidget>
#include <QMdiSubWindow>
class hp_MdiWindow: public QMdiSubWindow
{
Q_OBJECT
protected:
public:
hp_MdiWindow(QWidget * parent);
void setup();
virtual bool save();
virtual bool saveAs();
void show();
~hp_MdiWindow();
private slots:
void eventSave();
};
#endif // HP_MDIWINDOW_H