DtkWidget 5.6.0.2
DTK Widget module
ddrawer_p.h
1// SPDX-FileCopyrightText: 2019 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DDRAWER_P_H
6#define DDRAWER_P_H
7
8#include <DDrawer>
9#include "dframe_p.h"
10
11QT_BEGIN_NAMESPACE
12class QBoxLayout;
13class QVBoxLayout;
15QT_END_NAMESPACE
16
17DWIDGET_BEGIN_NAMESPACE
18
19class DBoxWidget;
20class ContentBox;
22{
23public:
26
27 void init();
28
29 QWidget *m_header = nullptr;
30 QWidget *m_content = nullptr;
31 DBoxWidget *m_boxWidget = nullptr;
32 QVBoxLayout *m_headerLayout = nullptr;
33 QBoxLayout *m_contentLayout = nullptr;
34 ContentBox *m_contentLoader = nullptr;
35 DHorizontalLine * m_hSeparator = nullptr;
36 DHorizontalLine *m_bottom_separator = nullptr;
37 QPropertyAnimation *m_animation = nullptr;
38 bool m_expand = false;
39 bool m_reservedPadding[7];
40
41 D_DECLARE_PUBLIC(DDrawer)
42};
43
44DWIDGET_END_NAMESPACE
45
46#endif // DDRAWER_P_H
Definition: ddrawer.cpp:15
The DBoxWidget class provides widget born with QBoxLayout set.
Definition: dboxwidget.h:19
Definition: ddrawer_p.h:22
一个美观的可展开的控件.
Definition: ddrawer.h:13
Definition: dframe_p.h:17
Definition: dframe.h:36