DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dflowlayout_p.h
1
// SPDX-FileCopyrightText: 2015 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DFLOWLAYOUT_P_H
6
#define DFLOWLAYOUT_P_H
7
8
#include <dflowlayout.h>
9
10
#include <DObjectPrivate>
11
12
class
QLayoutItem;
13
14
DWIDGET_BEGIN_NAMESPACE
15
16
class
DFlowLayoutPrivate
:
public
DTK_CORE_NAMESPACE::DObjectPrivate
17
{
18
DFlowLayoutPrivate
(
DFlowLayout
*qq);
19
20
QSize doLayout(
const
QRect &rect,
bool
testOnly)
const
;
21
22
QList<QLayoutItem*> itemList;
23
int
horizontalSpacing = 0;
24
int
verticalSpacing = 0;
25
mutable
QSize sizeHint;
26
DFlowLayout::Flow flow = DFlowLayout::Flow::LeftToRight;
27
28
D_DECLARE_PUBLIC(
DFlowLayout
)
29
};
30
31
DWIDGET_END_NAMESPACE
32
33
#endif
// DFLOWLAYOUT_P_H
34
Dtk::Widget::DFlowLayoutPrivate
Definition
dflowlayout_p.h:17
Dtk::Widget::DFlowLayout
DFlowLayout 类提供了一个简便的流布局.
Definition
dflowlayout.h:20
src
widgets
private
dflowlayout_p.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享