first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef __CLICKLABEL__
|
||||
#define __CLICKLABEL__
|
||||
|
||||
#include <QLabel>
|
||||
|
||||
class ClickLabel:public QLabel{
|
||||
Q_OBJECT
|
||||
|
||||
signals:
|
||||
void pressed(void);
|
||||
public:
|
||||
ClickLabel(QWidget *parent=0): QLabel(parent){
|
||||
}
|
||||
|
||||
protected:
|
||||
void mousePressEvent( QMouseEvent* );
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user