/** imagelabel.h - A clickable label
 *
 * bsAniPic - http://www.buckosoft.com/bsAniPic/
 *
 * Copyright(c) BuckoSoft, 2017.
 * Released under GNU GPL v3 https://www.gnu.org/licenses/gpl-3.0.en.html
 */

#ifndef IMAGELABEL_H
#define IMAGELABEL_H

#include <QLabel>
#include <QPoint>


class ImageLabel : public QLabel
{
    Q_OBJECT
public:
    explicit ImageLabel(QWidget *parent = 0);
    virtual ~ImageLabel();

protected:
    void mousePressEvent(QMouseEvent *event);

signals:
    void clicked(Qt::MouseButtons buttons, QPoint pos);

public slots:
};

#endif // IMAGELABEL_H
