Unsolved How to export ChildItem which are select from QTreeWidgetItem to another Table?
-
I am going to export childitem from QTreeWidgetItem to another Table?
for now i understood how to use enable Multi selection
I use this function
setSelectionMode(QAbstractItemView::MultiSelection)Next step I want to build a button event to export select items from my QTreeWidgetItem to another Table?
Do you know where I can get the reference for this function which could output select item name(string)
-
You're probably looking for QTreeWidgetItem::takeChildren() and QTreeWidget::takeTopLevelIem()
-
there are 5 children in TreeWidget and I use Ctrl button to select three of them.
Is it possible to get the index of this TreeWidget? -
I'm pretty sure you can find a corresponding signal here.