25 lines
411 B
C++
25 lines
411 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2023 Unisoc (Shanghai) Technologies Co., Ltd.
|
|
*
|
|
* SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0
|
|
*/
|
|
|
|
#ifndef BUTTON_H
|
|
#define BUTTON_H
|
|
|
|
#include <QToolButton>
|
|
|
|
//! [0]
|
|
class Button : public QToolButton
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Button(const QString &text, QWidget *parent = 0);
|
|
|
|
QSize sizeHint() const override;
|
|
};
|
|
//! [0]
|
|
|
|
#endif
|