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