Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
scrollarea.h
Go to the documentation of this file.
1 #ifndef SCROLLAREA_H
2 #define SCROLLAREA_H
3 
4 #include <QObject>
5 #include <QScrollArea>
6 
7 class ScrollArea : public QScrollArea {
8  Q_OBJECT
9 
10 public:
11  explicit ScrollArea( QWidget *parent = 0 );
12 
13 signals:
14  void item( const QString &text );
15 
16 protected:
17  virtual void dragEnterEvent( QDragEnterEvent *event ) override;
18  virtual void dragMoveEvent( QDragMoveEvent *event ) override;
19  virtual void dragLeaveEvent( QDragLeaveEvent *event ) override;
20  virtual void dropEvent( QDropEvent *event ) override;
21 };
22 
23 #endif /* SCROLLAREA_H */
virtual void dropEvent(QDropEvent *event) override
Definition: scrollarea.cpp:25
void item(const QString &text)
virtual void dragLeaveEvent(QDragLeaveEvent *event) override
Definition: scrollarea.cpp:20
virtual void dragMoveEvent(QDragMoveEvent *event) override
Definition: scrollarea.cpp:15
virtual void dragEnterEvent(QDragEnterEvent *event) override
Definition: scrollarea.cpp:10
ScrollArea(QWidget *parent=0)
Definition: scrollarea.cpp:7