12 #ifndef BIOBRICKLISTVIEW_H
13 #define BIOBRICKLISTVIEW_H
15 #include <QListWidget>
16 #include <QStringList>
18 #include <QDragEnterEvent>
19 #include <QDragMoveEvent>
21 #include <QMouseEvent>
23 #include <QDragLeaveEvent>
42 void infoActived(QString);
76 QStringList m_biobrickNames;
77 QPoint m_mouseStartPositon;
83 #endif // BIOBRICKLISTVIEW_H
void addBioBrick(const QString &info)
add a BioBrick to the list
Definition: biobricklistview.cpp:108
void keyPressEvent(QKeyEvent *event)
process the key event
Definition: biobricklistview.cpp:79
void mouseMoveEvent(QMouseEvent *e)
process mouse move event
Definition: biobricklistview.cpp:50
void dropEvent(QDropEvent *event)
process the drop event
Definition: biobricklistview.cpp:99
BioBrickListView class, which is the container for BioBrick This class is a customed class...
Definition: biobricklistview.h:31
BioBrickListView(QWidget *parent=0)
Construction function.
Definition: biobricklistview.cpp:22
void dragEnterEvent(QDragEnterEvent *event)
proecss drag enter event
Definition: biobricklistview.cpp:83
void mousePressEvent(QMouseEvent *event)
process the moust press event
Definition: biobricklistview.cpp:32
void dragMoveEvent(QDragMoveEvent *e)
process drag move event
Definition: biobricklistview.cpp:91
void cleanList()
Clean all the BioBrick in the list.
Definition: biobricklistview.cpp:133