45 lines
866 B
C++
45 lines
866 B
C++
/*
|
|
This file is part of KDDockWidgets.
|
|
|
|
SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
|
Author: Sérgio Martins <sergio.martins@kdab.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
|
|
|
|
Contact KDAB at <info@kdab.com> for commercial licensing options.
|
|
*/
|
|
|
|
#ifndef KD_MDILAYOUT_QTWIDGETS_H
|
|
#define KD_MDILAYOUT_QTWIDGETS_H
|
|
|
|
#pragma once
|
|
|
|
#include "kddockwidgets/docks_export.h"
|
|
#include "kddockwidgets/KDDockWidgets.h"
|
|
#include "kddockwidgets/qtwidgets/views/View.h"
|
|
|
|
namespace KDDockWidgets {
|
|
|
|
namespace Core {
|
|
class MDILayout;
|
|
}
|
|
|
|
namespace QtWidgets {
|
|
|
|
class DOCKS_EXPORT MDILayout : public QtWidgets::View<QWidget>
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit MDILayout(Core::MDILayout *controller, Core::View *parent);
|
|
~MDILayout();
|
|
|
|
private:
|
|
Core::MDILayout *const m_controller;
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|