From e999f3e22baf0a6ad255eafd312bd9fd57306505 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sat, 28 Oct 2023 06:15:51 -0500 Subject: [PATCH] Including comment about what Index and ID are for --- src/qml/presenter/MainWindow.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qml/presenter/MainWindow.qml b/src/qml/presenter/MainWindow.qml index 846d286..3e809f3 100644 --- a/src/qml/presenter/MainWindow.qml +++ b/src/qml/presenter/MainWindow.qml @@ -21,7 +21,10 @@ Controls.Page { property string currentText: presentation.text property int blurRadius: 0 - /* property var video */ + /* It's important to know that the INDEX is always the Index of the item + in the Vector in Rust code. So, we pass the index from library lists + around instead of here because getting the item requires us to use the + correct Index from the QAbstractListModel to get a QModelIndex.*/ property int dragItemIndex property string dragItemTitle: "" property string dragItemType: ""