DtkWidget 5.6.0.2
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
11DWIDGET_BEGIN_NAMESPACE
12
13class DPageIndicatorPrivate : public DTK_CORE_NAMESPACE::DObjectPrivate
14{
15 D_DECLARE_PUBLIC(DPageIndicator)
16
17public:
19
20 void setPageCount(const int count);
21 void nextPage();
22 void previousPage();
23 void setCurrentPage(const int index);
24
25public:
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
35DWIDGET_END_NAMESPACE
36
37#endif // DPAGEINDICATOR_P_H
Definition: dpageindicator_p.h:14
The DPageIndicator class provides indicator of which page is currently showing.
Definition: dpageindicator.h:17