Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

31 lines
486 B
C++

/*
SPDX-FileCopyrightText: 2013 Alexander Mezin <mezin.alexander@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef TESTBUTTON_H
#define TESTBUTTON_H
#include <QPushButton>
class TestButton : public QPushButton
{
Q_OBJECT
public:
explicit TestButton(QWidget *);
protected:
void mousePressEvent(QMouseEvent *) override;
private Q_SLOTS:
void resetText();
private:
QString m_originalText;
bool m_firstClick;
};
#endif // TESTBUTTON_H