summaryrefslogtreecommitdiffstats
path: root/labb4/qresetbutton.h
blob: 4b15e6fe31f758b8aea21398bc78f36254aa079b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * TDDD86 Robots
 * This file contains the declaration of the QResetButton class.
 * See qresetbutton.cpp for implementation of each member.
 */

#ifndef QRESETBUTTON_H
#define QRESETBUTTON_H

#include <QLabel>

class QResetButton : public QLabel
{
    Q_OBJECT
public:
    QResetButton( QWidget* parent = 0);

signals:
    void clicked();

public slots:

protected:
    void mousePressEvent(QMouseEvent* event);

};

#endif // QRESETBUTTON_H