DP-TreeView Issue - selectionMode \"Multi\" - doesn\'t drop multi

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
5 posts • Page 1 of 1
vince2e
Posts:39
Joined: Tue Aug 02, 2016 4:19 pm

DP-TreeView Issue - selectionMode \"Multi\" - doesn\'t drop multi

Post by vince2e »

Hey there,

I'm having an issue with the DP-TreeView Object. I'm trying to use the Drag n Drop feature for multiple DPEs, but when I Drag n Drop the batch of selected DPEs into a text field or multiLine Text Edit it only drops a single DPE (it's the DPE that was selected first).

Also there is a method called selectedItem, which allows the user to grab the first item selected, but what about multiple DPEs? Is there another method or can selectedItem return a Dyn_String?

Thanks. Image
Attachments
Screen_Shot_2018_03_22_at_2.png

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: DP-TreeView Issue - selectionMode \"Multi\" - doesn\'t drop multi

Post by mkoller »

It's currently not implemented to drag or get multiple selected items. The DpTreeView was mainly implemented for use in the Para panel, where we also have no multi-selection

vince2e
Posts:39
Joined: Tue Aug 02, 2016 4:19 pm

Re: DP-TreeView Issue - selectionMode \"Multi\" - doesn\'t drop multi

Post by vince2e »

Thanks Martin,

Total Bummer though :/


A system that can handle hundreds of thousands of tags (maybe millions?), but doesn't have multi-select is a bit perplexing. I was hoping to speed up development time, by creating common config templates and quickly applying them to multiple DPEs. (master DPs are too restrictive and MassPara is prone to operator error, kind of feels like GE iFix) I may still work on this, but instead of selecting by drag and drop, I'll select by filtered DP querys or dpName.

Just for curiosity, what is the point of multiSelect in the dpTreeView object? I don't see how highlighting multiple items is useful if I can't extra those items...

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: DP-TreeView Issue - selectionMode \"Multi\" - doesn\'t drop multi

Post by mkoller »

First off, I added this as a request to our feature list. It was not implemented since there was no need up till now. As said, para does not use it, and this was effectively the reason for this widget.
To your question why it then has the selectionMode property: this widget, like others, is implemented in a generic way (like our ewos) and the widget is queried about all its properties dynamically.
Since the widget is based on the Qt class QTreeWidget which has all these properties, the DpTreeView shows them too (in this particular case it would have been better to hide this property, since it's unused)

vince2e
Posts:39
Joined: Tue Aug 02, 2016 4:19 pm

Re: DP-TreeView Issue - selectionMode \"Multi\" - doesn\'t drop multi

Post by vince2e »

Thanks for making the request!

5 posts • Page 1 of 1