From 32243b83a02e479e772d7d6fd94ddc35fd7d6880 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 23 Jun 2010 21:48:11 +0200 Subject: Start making FilesView work Introduced filestreewidget, just like seriestreewidget. The connection is still missing, though. --- filestreewidget.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 filestreewidget.h (limited to 'filestreewidget.h') diff --git a/filestreewidget.h b/filestreewidget.h new file mode 100644 index 0000000..fd06f30 --- /dev/null +++ b/filestreewidget.h @@ -0,0 +1,34 @@ +/* + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version + 2 of the License, or (at your option) any later version. +*/ + +#ifndef FILESTREEWIDGET_H +#define FILESTREEWIDGET_H + +#include +#include + +class FilesTreeView; +class FilesTreeModel; + +class FilesTreeWidget : public QWidget { + Q_OBJECT + public: + explicit FilesTreeWidget(QWidget *parent = 0); + FilesTreeView *filesTree() { return mView; } + + private: + FilesTreeView *mView; + FilesTreeModel *mModel; +}; + +class FilesTreeView : public QTreeView { + Q_OBJECT + public: + explicit FilesTreeView(QWidget *parent = 0); +}; + +#endif -- cgit v1.2.3-70-g09d2