DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dfloatingmessage_p.h
1// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DFLOATINGMESSAGE_P_H
6#define DFLOATINGMESSAGE_P_H
7
8#include <DFloatingMessage>
9#include "dfloatingwidget_p.h"
10
11QT_BEGIN_NAMESPACE
12class QTimer;
13class QWidget;
14class QHBoxLayout;
15class DIconButton;
16class QLabel;
17class MessageLabel;
18QT_END_NAMESPACE
19
20DWIDGET_BEGIN_NAMESPACE
21
23{
24public:
27
28 void init();
29
30 QTimer *timer = nullptr;
31 QWidget *widget = nullptr;
32 QHBoxLayout *hBoxLayout = nullptr;
33 DIconButton *iconButton = nullptr;
34 MessageLabel *labMessage = nullptr;
35 QWidget *content = nullptr;
36 DIconButton *closeButton = nullptr;
37 DFloatingMessage::MessageType notifyType = DFloatingMessage::MessageType::TransientType;
38
39 D_DECLARE_PUBLIC(DFloatingMessage)
40};
41
42DWIDGET_END_NAMESPACE
43
44#endif // DFLOATINGMESSAGE_P_H
Definition dfloatingmessage_p.h:23
一个浮动消息的类.
Definition dfloatingmessage.h:18
Definition dfloatingwidget_p.h:19
按钮的图标
Definition diconbutton.h:24
Definition dfloatingmessage.cpp:17