DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dtabletwindowoptionbutton.h
1// SPDX-FileCopyrightText: 2020 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DTABLETWINDOWOPTIONBUTTON_H
6#define DTABLETWINDOWOPTIONBUTTON_H
7
8#include <DIconButton>
9
10DWIDGET_BEGIN_NAMESPACE
11
12class LIBDTKWIDGETSHARED_EXPORT DTabletWindowOptionButton : public DIconButton
13{
14 Q_OBJECT
15public:
16 DTabletWindowOptionButton(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 // DTABLETWINDOWOPTIONBUTTON_H
按钮的图标
Definition diconbutton.h:24
Dtk 样式统一的按钮样式配置.
Definition dstyleoption.h:58
The DTabletWindowOptionButton class is used as the unified tablet window option button.
Definition dtabletwindowoptionbutton.h:13