DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
dquickdciiconimage_p_p.h
1// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DQUICKDCIICONIMAGE_P_P_H
6#define DQUICKDCIICONIMAGE_P_P_H
7
8#include "dquickiconimage_p.h"
9#include "dqmlglobalobject_p.h"
10#include "dquickdciiconimage_p.h"
11#include "dquickiconimage_p_p.h"
12
13#include <dobject_p.h>
14#include <DDciIconPalette>
15
16DQUICK_BEGIN_NAMESPACE
17class DQuickDciIconImageItemPrivate;
19{
20 Q_DECLARE_PUBLIC(DQuickIconImage)
21
22public:
24 void maybeUpdateUrl();
25 QUrlQuery getUrlQuery();
26
27private:
28 DQuickDciIconImagePrivate *parentPriv;
29};
30
31class DQuickDciIconImagePrivate : public DCORE_NAMESPACE::DObjectPrivate
32{
33 Q_DECLARE_PUBLIC(DQuickDciIconImage)
34
35public:
37 void layout();
38 void updateImageSourceUrl();
39
40 DDciIconPalette palette;
41 DQuickIconImage *imageItem;
42 DQMLGlobalObject::ControlState mode = DQMLGlobalObject::NormalState;
43 DGuiApplicationHelper::ColorType theme = DGuiApplicationHelper::ColorType::LightType;
44 bool fallbackToQIcon = true;
45};
46
47DQUICK_END_NAMESPACE
48#endif // DQUICKDCIICONIMAGE_P_P_H
Definition dquickdciiconimage_p_p.h:19
Definition dquickdciiconimage_p_p.h:32
Definition dquickdciiconimage_p.h:23
Definition dquickiconimage_p_p.h:20
Definition dquickiconimage_p.h:23