Add Window
A non-Qt abstraction around QWindow
This commit is contained in:
32
src/qtcommon/Window_qt.h
Normal file
32
src/qtcommon/Window_qt.h
Normal 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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user