DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dwindowoptionbutton.h
浏览该文件的文档.
1// SPDX-FileCopyrightText: 2015 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DWINDOWOPTIONBUTTON_H
6#define DWINDOWOPTIONBUTTON_H
7
8#include <DIconButton>
9
10DWIDGET_BEGIN_NAMESPACE
11
12class LIBDTKWIDGETSHARED_EXPORT DWindowOptionButton : public DIconButton
13{
14 Q_OBJECT
15public:
16 DWindowOptionButton(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 // DWINDOWOPTIONBUTTON_H
按钮的图标
Definition diconbutton.h:24
Dtk 样式统一的按钮样式配置.
Definition dstyleoption.h:58
DWindowOptionButton 类是 DTK 窗口统一的菜单按钮控件
Definition dwindowoptionbutton.h:13