Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
label.h
Go to the documentation of this file.
1 #ifndef LABEL_H
2 #define LABEL_H
3 
4 #include <QLabel>
5 
6 class Label : public QLabel {
7  Q_OBJECT
8 
9 public:
10  explicit Label( QString filePath, QWidget *parent = 0 );
11  QString filePath;
12  QPixmap m_pixmap;
13 
14 signals:
15  void changeImage( const QString & );
16  void Image( const QPixmap &, const QString & );
17 
18 protected:
19  void mousePressEvent( QMouseEvent* );
20 };
21 
22 #endif /* LABEL_H */
void mousePressEvent(QMouseEvent *)
Definition: label.cpp:9
QPixmap m_pixmap
Definition: label.h:12
void changeImage(const QString &)
void Image(const QPixmap &, const QString &)
Label(QString filePath, QWidget *parent=0)
Definition: label.cpp:5
QString filePath
Definition: label.h:11
Definition: label.h:6