| 1234567891011121314151617 |
- #include "custqlabel.h"
- CustQLabel::CustQLabel(QWidget *parent, Qt::WindowFlags f) : QLabel(parent,f)
- {
- }
- CustQLabel::CustQLabel(const QString &text, QWidget *parent, Qt::WindowFlags f)
- :QLabel(text, parent, f){
- }
- void CustQLabel::mouseReleaseEvent(QMouseEvent *event)
- {
- Q_UNUSED(event);
- emit clicked();
- }
|