DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dalertcontrol_p.h
1
// SPDX-FileCopyrightText: 2020 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DALERTCONTROL_P_H
6
#define DALERTCONTROL_P_H
7
#include <DAlertControl>
8
#include <DObjectPrivate>
9
#include <QPointer>
10
#include <QTimer>
11
12
DWIDGET_BEGIN_NAMESPACE
13
14
class
DAlertControlPrivate
:
public
DTK_CORE_NAMESPACE::DObjectPrivate
15
{
16
Q_DECLARE_PUBLIC(
DAlertControl
)
17
public
:
18
DAlertControlPrivate
(
DAlertControl
*q);
19
20
void
updateTooltipPos();
21
22
private
:
23
bool
isAlert =
false
;
24
QPointer<DToolTip> tooltip;
25
QPointer<DFloatingWidget> frame;
26
QPointer<QWidget> follower;
27
QPointer<QWidget> target;
28
QColor alertColor;
29
Qt::Alignment alignment{Qt::AlignLeft};
30
QTimer timer;
31
};
32
33
DWIDGET_END_NAMESPACE
34
35
#endif
// DALERTCONTROL_P_H
Dtk::Widget::DAlertControlPrivate
Definition
dalertcontrol_p.h:15
Dtk::Widget::DAlertControl
此类是提供了应用程序的警告对话框, 符合Deepin风格
Definition
dalertcontrol.h:17
src
widgets
private
dalertcontrol_p.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享