DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dlistview_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 DLISTVIEW_P_H
6
#define DLISTVIEW_P_H
7
8
#include <DListView>
9
10
#include <DObjectPrivate>
11
12
DWIDGET_BEGIN_NAMESPACE
13
14
class
DBoxWidget;
15
class
DListViewPrivate
:
public
DTK_CORE_NAMESPACE::DObjectPrivate
16
{
17
DListViewPrivate
(
DListView
*qq);
18
~DListViewPrivate
();
19
20
void
init();
21
22
void
onOrientationChanged();
23
24
DBoxWidget
*headerLayout =
nullptr
;
25
DBoxWidget
*footerLayout =
nullptr
;
26
27
QList<QWidget*> headerList;
28
QList<QWidget*> footerList;
29
30
#if(QT_VERSION < 0x050500)
31
int
left = 0, top = 0, right = 0, bottom = 0;
// viewport margin
32
#endif
33
34
D_DECLARE_PUBLIC(
DListView
)
35
};
36
37
DWIDGET_END_NAMESPACE
38
39
#endif
// DLISTVIEW_P_H
40
Dtk::Widget::DBoxWidget
DBoxWidget提供了一个自适应子控件大小的Widget
Definition
dboxwidget.h:19
Dtk::Widget::DListViewPrivate
Definition
dlistview_p.h:16
Dtk::Widget::DListView
DListView 一个用于展示一列数据的控件.
Definition
dlistview.h:35
src
widgets
private
dlistview_p.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享