DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dpageindicator_p.h
1
// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DPAGEINDICATOR_P_H
6
#define DPAGEINDICATOR_P_H
7
8
#include "dpageindicator.h"
9
#include <DObjectPrivate>
10
11
DWIDGET_BEGIN_NAMESPACE
12
13
class
DPageIndicatorPrivate
:
public
DTK_CORE_NAMESPACE::DObjectPrivate
14
{
15
D_DECLARE_PUBLIC(
DPageIndicator
)
16
17
public
:
18
DPageIndicatorPrivate
(
DPageIndicator
*q);
19
20
void
setPageCount(
const
int
count);
21
void
nextPage();
22
void
previousPage();
23
void
setCurrentPage(
const
int
index);
24
25
public
:
26
int
pointRadius = 5;
27
int
secondaryPointRadius = 3;
28
int
pointDistance = 12;
29
int
pageCount;
30
int
currentPage;
31
QColor pointColor;
32
QColor secondaryPointColor;
33
};
34
35
DWIDGET_END_NAMESPACE
36
37
#endif
// DPAGEINDICATOR_P_H
Dtk::Widget::DPageIndicatorPrivate
Definition
dpageindicator_p.h:14
Dtk::Widget::DPageIndicator
The DPageIndicator class provides indicator of which page is currently showing.
Definition
dpageindicator.h:17
src
widgets
private
dpageindicator_p.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享