mirror of
https://github.com/YACReader/yacreader
synced 2025-07-29 10:25:14 -04:00
added YACReaderFoldersView and YACReaderReadingListsView classes
This commit is contained in:
@ -9,11 +9,6 @@ class YACReaderTreeView : public QTreeView
|
||||
public:
|
||||
explicit YACReaderTreeView(QWidget *parent = 0);
|
||||
|
||||
signals:
|
||||
//Drops
|
||||
void copyComicsToFolder(QList<QPair<QString,QString> >,QModelIndex);
|
||||
void moveComicsToFolder(QList<QPair<QString,QString> >,QModelIndex);
|
||||
|
||||
protected slots:
|
||||
//fix for drop auto expand
|
||||
void expandCurrent();
|
||||
@ -25,19 +20,10 @@ protected:
|
||||
void dragMoveEvent(QDragMoveEvent *event);
|
||||
void dropEvent(QDropEvent *event);
|
||||
|
||||
|
||||
//fix for drop auto expand
|
||||
QTimer expandTimer;
|
||||
QTimer t;
|
||||
QPoint expandPos;
|
||||
};
|
||||
|
||||
class YACReaderTreeViewItemDeletegate: public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderTreeViewItemDeletegate(QObject *parent = 0);
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
};
|
||||
|
||||
#endif // YACREADER_TREEVIEW_H
|
||||
|
Reference in New Issue
Block a user