Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
thumbnail.hpp
Go to the documentation of this file.
1 #ifndef LABEL_HPP
2 #define LABEL_HPP
3 
4 #include "guiimage.h"
5 
6 #include <QFrame>
7 
8 class Thumbnail : public QFrame {
9  Q_OBJECT
10 public:
11  explicit Thumbnail( GuiImage *image, int number, int size, QWidget *parent = 0 );
12 
13  int imageNumber( ) const;
14  void setImageNumber( int imageNumber );
15 
16 signals:
17  void changeImage( int index );
18 
19 public slots:
20 
21 protected:
22  void mousePressEvent( QMouseEvent* );
24 };
25 
26 #endif /* LABEL_HPP */
void changeImage(int index)
The GuiImage class is a bridge to the Bial::Image data structure to the QImage data structure...
Definition: guiimage.h:20
void mousePressEvent(QMouseEvent *)
Definition: thumbnail.cpp:45
static size_t size
Definition: enough.c:173
void setImageNumber(int imageNumber)
Definition: thumbnail.cpp:54
Thumbnail(GuiImage *image, int number, int size, QWidget *parent=0)
Definition: thumbnail.cpp:7
int m_imageNumber
Definition: thumbnail.hpp:23
int imageNumber() const
Definition: thumbnail.cpp:50