DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dfloatingwidget_p.h
1// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DFLOATINGWIDGET_P_H
6#define DFLOATINGWIDGET_P_H
7
8#include <DFloatingWidget>
9
10#include <DObjectPrivate>
11
12QT_BEGIN_NAMESPACE
13class QHBoxLayout;
14QT_END_NAMESPACE
15
16DWIDGET_BEGIN_NAMESPACE
17
18class DFloatingWidgetPrivate : public DTK_CORE_NAMESPACE::DObjectPrivate
19{
20public:
23
24 void init();
25 void adjustPalette();
26
27 QHBoxLayout *layout = nullptr;
28 DBlurEffectWidget *background = nullptr;
29 int framRadius {-1};
30
31 D_DECLARE_PUBLIC(DFloatingWidget)
32};
33
34DWIDGET_END_NAMESPACE
35
36#endif // DFLOATINGWIDGET_P_H
用于实现主窗口或控件背景的实时模糊效果.
Definition dblureffectwidget.h:17
Definition dfloatingwidget_p.h:19
Definition dfloatingwidget.h:19