27 lines
555 B
C++
27 lines
555 B
C++
// SPDX-FileCopyrightText: 2015 - 2022 UnionTech Software Technology Co., Ltd.
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
#ifndef DWINDOWCLOSEBUTTON_H
|
|
#define DWINDOWCLOSEBUTTON_H
|
|
|
|
#include <DIconButton>
|
|
|
|
DWIDGET_BEGIN_NAMESPACE
|
|
|
|
class LIBDTKWIDGETSHARED_EXPORT DWindowCloseButton : public DIconButton
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
DWindowCloseButton(QWidget * parent = 0);
|
|
|
|
QSize sizeHint() const override;
|
|
|
|
protected:
|
|
void initStyleOption(DStyleOptionButton *option) const override;
|
|
};
|
|
|
|
DWIDGET_END_NAMESPACE
|
|
|
|
#endif // DWINDOWCLOSEBUTTON_H
|