added custom drag to comic table view, drops are accepted in lists view

This commit is contained in:
Luis Ángel San Martín
2014-12-03 12:28:22 +01:00
parent 4531e31d05
commit e2e908302e
5 changed files with 33 additions and 16 deletions

View File

@ -10,6 +10,10 @@ class YACReaderReadingListsView : public YACReaderTreeView
Q_OBJECT
public:
explicit YACReaderReadingListsView(QWidget * parent = 0);
protected:
//Drop to import
void dragEnterEvent(QDragEnterEvent *event);
};
class YACReaderReadingListsViewItemDeletegate: public QStyledItemDelegate