DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dwindowclosebutton.h
1// SPDX-FileCopyrightText: 2015 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DWINDOWCLOSEBUTTON_H
6#define DWINDOWCLOSEBUTTON_H
7
8#include <DIconButton>
9
10DWIDGET_BEGIN_NAMESPACE
11
12class LIBDTKWIDGETSHARED_EXPORT DWindowCloseButton : public DIconButton
13{
14 Q_OBJECT
15public:
16 DWindowCloseButton(QWidget * parent = 0);
17
18 QSize sizeHint() const override;
19
20protected:
21 void initStyleOption(DStyleOptionButton *option) const override;
22};
23
24DWIDGET_END_NAMESPACE
25
26#endif // DWINDOWCLOSEBUTTON_H
按钮的图标
Definition diconbutton.h:24
Dtk 样式统一的按钮样式配置.
Definition dstyleoption.h:58
The DWindowCloseButton class is used as the unified window close button.
Definition dwindowclosebutton.h:13