DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dsuggestbutton.h
浏览该文件的文档.
1
// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DSUGGESTBUTTON_H
6
#define DSUGGESTBUTTON_H
7
8
#include <dtkwidget_global.h>
9
#include <DObject>
10
11
#include <QPushButton>
12
13
DWIDGET_BEGIN_NAMESPACE
14
15
class
LIBDTKWIDGETSHARED_EXPORT
DSuggestButton
:
public
QPushButton,
public
DTK_CORE_NAMESPACE::DObject
16
{
17
Q_OBJECT
18
19
public
:
20
explicit
DSuggestButton
(QWidget *parent =
nullptr
);
21
explicit
DSuggestButton
(
const
QString &text, QWidget *parent =
nullptr
);
22
23
protected
:
24
void
paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE;
25
};
26
27
DWIDGET_END_NAMESPACE
28
29
#endif
// DSUGGESTBUTTON_H
Dtk::Widget::DSuggestButton
这个控件提供了DTK中默认的建议按钮样式.点击按钮后会显示相应的建议信息
Definition
dsuggestbutton.h:16
include
widgets
dsuggestbutton.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享