Add Window

A non-Qt abstraction around QWindow
This commit is contained in:
Sergio Martins
2022-04-08 11:38:41 +01:00
parent 8cfb10ef10
commit 5a8f176860
5 changed files with 106 additions and 0 deletions

32
src/qtcommon/Window_qt.h Normal file
View File

@@ -0,0 +1,32 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2022 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.
*/
#pragma once
#include "Window.h"
#include <QPointer>
class QWindow;
namespace KDDockWidgets {
class Window_qt : public Window
{
public:
explicit Window_qt(QWindow *);
~Window_qt();
private:
QPointer<QWindow> m_window;
};
}