21 #ifndef ITEMSDIALOGLIST_H
22 #define ITEMSDIALOGLIST_H
24 #ifndef DOXYGEN_NOTFOR_DEVEL
26 #include <tulip/tulipconf.h>
28 #include <QListWidget>
38 class TLP_QT_SCOPE ItemsListWidget :
public QListWidget {
44 ItemsListWidget(QWidget *parent = NULL,
const unsigned int maxListSize = 0);
48 bool addItemList(QString item);
50 void deleteItemList(QListWidgetItem *item);
54 void setMaxListSize(
const unsigned int maxListSize) {
55 this->maxListSize = maxListSize;
57 unsigned int getMaxListSize()
const {
63 void mousePressEvent(QMouseEvent *event);
64 void mouseMoveEvent(QMouseEvent *event);
65 void dragEnterEvent(QDragEnterEvent *event);
66 void dragMoveEvent(QDragMoveEvent *event);
67 void dropEvent(QDropEvent *event);
71 void beginDrag(QListWidgetItem *item);
72 void changeStatus(QListWidgetItem *item);
73 void dragMoveOrEnterEvent(QDragMoveEvent *event);
75 QHash<QString,itemInfo> hashDataBase;
76 unsigned int maxListSize;
81 #endif // DOXYGEN_NOTFOR_DEVEL