From d32695843d4c3fa888b3d26bf20a9126029020b0 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 7 Jan 2019 13:28:46 +0100 Subject: Fix drop to downloads tab. Fix DownloadView to be QtreeView in QCreator. --- src/mainwindow.ui | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'src/mainwindow.ui') diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 547faaa9..4f5400dd 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1303,7 +1303,7 @@ p, li { white-space: pre-wrap; } - + 320 @@ -1322,19 +1322,25 @@ p, li { white-space: pre-wrap; } This is a list of mods you downloaded from Nexus. Double click one to install it. You can also drag an archive into here. - - true + + QAbstractItemView::NoEditTriggers + + + QAbstractItemView::DropOnly - + + Qt::MoveAction + + true - + 0 - + false - + true @@ -1655,7 +1661,7 @@ Right now this has very limited functionality DownloadListWidget - QWidget + QTreeView
downloadlistwidget.h
-- cgit v1.3.1 From ea3df2e9bdb02f44f17acc2f389fb6280d0dc98b Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 12 Jan 2019 14:35:09 +0100 Subject: Some more drag and drop related changes, still no fix though. --- src/mainwindow.ui | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/mainwindow.ui') diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 4f5400dd..83b99486 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1322,11 +1322,14 @@ p, li { white-space: pre-wrap; } This is a list of mods you downloaded from Nexus. Double click one to install it. You can also drag an archive into here. - - QAbstractItemView::NoEditTriggers + + Qt::ScrollBarAlwaysOn + + + true - QAbstractItemView::DropOnly + QAbstractItemView::DragDrop Qt::MoveAction @@ -1334,6 +1337,9 @@ p, li { white-space: pre-wrap; } true + + QAbstractItemView::ScrollPerPixel + 0 -- cgit v1.3.1