 sorry, I forgot to tell that,  I used that function... it always retuns the count of 1.
  sorry, I forgot to tell that,  I used that function... it always retuns the count of 1.
the list is in a multiple selection mode.
	
	- QList<QTreeWidgetItem *> selectedGrItems = ui.GroupsTreeWidget->selectedItems(); 
- int gcount = selectedGroupItems.count (); 
        QList<QTreeWidgetItem *> selectedGrItems = ui.GroupsTreeWidget->selectedItems();
int gcount = selectedGroupItems.count ();
To copy to clipboard, switch view to plain text mode 
  
and I used the following code to get the item text.
	
	
        QTreeWidgetItem it(selectedGrItems.at(0));
QString text = it.text(1);
To copy to clipboard, switch view to plain text mode 
  
but it is not getting the text
plz tell me how to get those items in a qstringlist ?
				
			
Bookmarks