You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
384 B
24 lines
384 B
14 years ago
|
#ifndef UBDRAGGABLELABEL_H
|
||
|
#define UBDRAGGABLELABEL_H
|
||
|
|
||
|
#include <QLabel>
|
||
|
|
||
|
class UBDraggableLabel : public QLabel
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
UBDraggableLabel(QWidget *parent = 0);
|
||
|
~UBDraggableLabel();
|
||
|
void loadImage(QString imagePath);
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
|
||
|
protected:
|
||
|
QString mSourcePath;
|
||
|
void mousePressEvent(QMouseEvent *event);
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // UBDRAGGABLELABEL_H
|