From b54e368f16e8bd977fe57fcc738fc6804af076e4 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周一, 01 1月 2024 22:20:17 +0800 Subject: [PATCH] Update README --- src/core/qwkglobal.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/core/qwkglobal.h b/src/core/qwkglobal.h index 1d8be98..c659e0b 100644 --- a/src/core/qwkglobal.h +++ b/src/core/qwkglobal.h @@ -1,5 +1,10 @@ +// Copyright (C) 2023-2024 Stdware Collections +// SPDX-License-Identifier: Apache-2.0 + #ifndef QWKGLOBAL_H #define QWKGLOBAL_H + +#include <functional> #include <QtCore/QEvent> #include <QtGui/QtEvents> @@ -28,4 +33,10 @@ # define QWINDOWKIT_CONFIG(feature) ((1 / QWINDOWKIT_##feature) == 1) #endif +namespace QWK { + + using ScreenRectCallback = std::function<QRect(const QSize &)>; + +} + #endif // QWKGLOBAL_H -- Gitblit v1.9.1