summaryrefslogtreecommitdiffstats
path: root/torrentdisplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'torrentdisplay.h')
-rw-r--r--torrentdisplay.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/torrentdisplay.h b/torrentdisplay.h
new file mode 100644
index 0000000..6305335
--- /dev/null
+++ b/torrentdisplay.h
@@ -0,0 +1,27 @@
+#ifndef TORRENTDISPLAY_H
+#define TORRENTDISPLAY_H
+
+#include <QDialog>
+
+class QLineEdit;
+class QStandardItemModel;
+class QTreeView;
+
+class TorrentDisplay : public QDialog {
+ Q_OBJECT
+ public:
+ explicit TorrentDisplay(QWidget *parent = 0, Qt::WindowFlags f = 0);
+ void setData(const QList<QVariant> data);
+
+ private:
+ QLineEdit *mCreated;
+ QLineEdit *mCreatedBy;
+ QLineEdit *mEncoding;
+ QLineEdit *mPieceLength;
+ QStandardItemModel *mFileModel;
+ QTreeView *mFileView;
+ QStandardItemModel *mAnnounceModel;
+ QTreeView *mAnnounceView;
+};
+
+#endif // TORRENTDISPLAY_H