diff options
| author | Jeremy Rimpo <jrim@rimpo.org> | 2017-11-30 16:37:14 -0600 |
|---|---|---|
| committer | Jeremy Rimpo <jrim@rimpo.org> | 2017-11-30 16:37:14 -0600 |
| commit | d7bc542b3d1a96a546d48850e61d3ecdc953c4cc (patch) | |
| tree | 8a02758752b525a32876a687ae207962b7e5be9a /src/pluginlistview.h | |
| parent | 977d562976a06b9d98e08197d28dfca7cb3d229e (diff) | |
Implement mod/plugin highlighting when pair is selected
Diffstat (limited to 'src/pluginlistview.h')
| -rw-r--r-- | src/pluginlistview.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/pluginlistview.h b/src/pluginlistview.h new file mode 100644 index 00000000..bdd4ee61 --- /dev/null +++ b/src/pluginlistview.h @@ -0,0 +1,24 @@ +#ifndef PLUGINLISTVIEW_H +#define PLUGINLISTVIEW_H + +#include <QTreeView> +#include <QDragEnterEvent> +#include "viewmarkingscrollbar.h" + +class PluginListView : public QTreeView +{ + Q_OBJECT +public: + explicit PluginListView(QWidget *parent = 0); + virtual void dragEnterEvent(QDragEnterEvent *event); + virtual void setModel(QAbstractItemModel *model); +signals: + void dropModeUpdate(bool dropOnRows); + + public slots: +private: + + ViewMarkingScrollBar *m_Scrollbar; +}; + +#endif // PLUGINLISTVIEW_H |
