Presenting different type of visualizations in the same tree
-
Hi and welcome to the forums.
Yes possible to insert widgets but it will become heavy to scroll and redraw pretty fast on anything besides a powerful pc.
A normal design would to use the tree as a navigator and some nodes would then show extra data next to the Tree.Do you need to in place edit those tables ? If not you can render the Table to an image and show that inline.
That would allow having far more items. To edit you would open a dialog and recreate this image after edit. -
Hi and welcome to the forums.
Yes possible to insert widgets but it will become heavy to scroll and redraw pretty fast on anything besides a powerful pc.
A normal design would to use the tree as a navigator and some nodes would then show extra data next to the Tree.Do you need to in place edit those tables ? If not you can render the Table to an image and show that inline.
That would allow having far more items. To edit you would open a dialog and recreate this image after edit.@mrjj Thanks for the quick response!
I need sorting and filtering options in the tables. Your suggestion to view the tables next to the tree, is it as a response to selected data ? (the user will click the button on a specific value in the tree and then a table will pop? is that what you meant?)If you have other idea on how to present multiple visualization data together instead of treeview, will be glad to hear.
-
@mrjj Thanks for the quick response!
I need sorting and filtering options in the tables. Your suggestion to view the tables next to the tree, is it as a response to selected data ? (the user will click the button on a specific value in the tree and then a table will pop? is that what you meant?)If you have other idea on how to present multiple visualization data together instead of treeview, will be glad to hear.
@MaySH
Hi
Yes almost, i don't mean anything to pop as such, simply show in an area next to tree.
So when Tree selection changes, you check model if data is a table (should be viewed as table) and then show the table next to the Tree.
This of cause won't work if you need to show multiple tables at the same time.-If you have other idea on how to present multiple visualization data together instead of treeview, will be glad to hear.
Depends on if you need random level of children (deep tree) or just Top Level with children.
If only top level, then something like the QToolBox widget can be used. -
@MaySH
Hi
Yes almost, i don't mean anything to pop as such, simply show in an area next to tree.
So when Tree selection changes, you check model if data is a table (should be viewed as table) and then show the table next to the Tree.
This of cause won't work if you need to show multiple tables at the same time.-If you have other idea on how to present multiple visualization data together instead of treeview, will be glad to hear.
Depends on if you need random level of children (deep tree) or just Top Level with children.
If only top level, then something like the QToolBox widget can be used. -
@mrjj Your suggestion sounds good, I will try it! which feature should I used to make it happen? ( I'm pretty new in QT)
@MaySH
Hi
Well for the area where the table will be shown for some of the nodes I would
use a QStacked widget with 2 pages so I can have one with the table, and a blank one to show
for nodes that dont show a table. That is often easier than show / hide stuff when the tree is clicked.