dtkmultimedia
DTK Multimedia module
载入中...
搜索中...
未找到
dscreenshot.h
浏览该文件的文档.
1
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DSCREENSHOT_H
6
#define DSCREENSHOT_H
7
8
#include <QObject>
9
#include <dtkmultimedia.h>
10
11
DMULTIMEDIA_BEGIN_NAMESPACE
12
class
DScreenShotPrivate;
13
class
DScreenShot
:
public
QObject
14
{
15
Q_OBJECT
16
Q_DECLARE_PRIVATE(
DScreenShot
)
17
public
:
18
explicit
DScreenShot
(QObject *parent =
nullptr
);
19
~DScreenShot
();
20
21
QPixmap
fullScreenShot
();
22
23
QPixmap
screenShot
(
const
QPoint point,
const
QSize size);
24
25
protected
:
26
QScopedPointer<DScreenShotPrivate> d_ptr;
27
};
28
DMULTIMEDIA_END_NAMESPACE
29
#endif
// DSCREENSHOT_H
Dtk::Multimedia::DScreenShot
DScreenShot类提供截图相关接口.
Definition
dscreenshot.h:14
Dtk::Multimedia::DScreenShot::fullScreenShot
QPixmap fullScreenShot()
获取全屏截图.
Dtk::Multimedia::DScreenShot::screenShot
QPixmap screenShot(const QPoint point, const QSize size)
获取指定位置区域截图.
include
dtkmultimediawidgets
dscreenshot.h
文档生成时间:2024-07-22-08:02 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享