Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does TreeItem associate data? #2

Open
mirro187187 opened this issue Jul 31, 2020 · 1 comment
Open

How does TreeItem associate data? #2

mirro187187 opened this issue Jul 31, 2020 · 1 comment

Comments

@mirro187187
Copy link

mirro187187 commented Jul 31, 2020

TreeItem add a attribute in TreeItem.js ?

@mirro187187 mirro187187 changed the title How does ItemTree associate a data? How does TreeItem associate a data? Jul 31, 2020
@mirro187187 mirro187187 changed the title How does TreeItem associate a data? How does TreeItem associate data? Jul 31, 2020
@peihaowang
Copy link
Owner

Thanks for the issue!
Adding your attributes to TreeItem.js would be painless, although we are already considering adding an API analogous to QTreeWidgetItem::setData.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants