4#include <QMdiSubWindow>
11 : QMdiSubWindow(parent)
13 setAttribute(Qt::WA_DeleteOnClose);
14 setWindowIcon(QIcon(
" "));
23 QMdiSubWindow::closeEvent(event);
36 size.setHeight(parentWidget()->size().height() / 2);
37 size.setWidth(parentWidget()->size().width() / 2);
#define cds_debug(fmt,...)
Definition log.h:13
#define cds_error(fmt,...)
Definition log.h:21
virtual void closeEvent(QCloseEvent *event) override
Definition subwindow.h:17
SubWindow(QWidget *parent)
Definition subwindow.h:10
virtual QSize minimumSizeHint() const override
Definition subwindow.h:26
virtual QSize sizeHint() const override
Definition subwindow.h:31