Jump to content

a little suggestion with WidgetListBox and WidgetTreeBox


photo

Recommended Posts

In future, unigine might integrate qt for better interface, We know that all qt's items widgets(list, tree widgets) have a function called setItemData, it use QVarient as it's argument, and it can store any type of data with a list/tree items.

 

Unigine don't have a data type like QVarient or boost::any, but it will be much more usefule if WidgetListBox and WidgetTreeBox can have an additional int data stored with item, just a easy modify. I've attached the patch.

 

itemdata.rar

 

With this modification, We can easily make a better Validator which can delete some selected unused files

Link to comment
×
×
  • Create New...