DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dwatermarkhelper.h
浏览该文件的文档.
1
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DWATERMARKHELPER_H
6
#define DWATERMARKHELPER_H
7
#include "
dwatermarkwidget.h
"
8
9
#include <dtkwidget_global.h>
10
#include <DObject>
11
12
#include <QObject>
13
14
DTK_USE_NAMESPACE
15
DWIDGET_BEGIN_NAMESPACE
16
class
DWaterMarkHelperPrivate;
17
class
DWaterMarkHelper
:
public
QObject,
public
DTK_CORE_NAMESPACE::DObject
18
{
19
Q_OBJECT
20
public
:
21
static
DWaterMarkHelper
*instance();
22
void
registerWidget(QWidget *w);
23
24
WaterMarkData
data()
const
;
25
void
setData(
const
WaterMarkData
&data);
26
27
protected
:
28
explicit
DWaterMarkHelper
(QObject *parent =
nullptr
);
29
30
private
:
31
D_DECLARE_PRIVATE(
DWaterMarkHelper
)
32
};
33
34
DWIDGET_END_NAMESPACE
35
36
#endif
// DWATERMARKHELPER_H
Dtk::Widget::DWaterMarkHelper
Definition
dwatermarkhelper.h:18
Dtk::Widget::WaterMarkData
Watermark information structure parent
Definition
dwatermarkwidget.h:17
dwatermarkwidget.h
include
widgets
dwatermarkhelper.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享