View Full Version : how to create a tree with check on branch?
richardander
8th January 2009, 10:45
Hi,
I am trying to design a tree ( or list view) with checks at each branch, as shown in the attached image file.
Could anyone help ?
thank you!
drhex
8th January 2009, 14:40
Have you looked at QTreeWidget ?
richardander
8th January 2009, 16:50
Yes, I did.
But there seems no such option to set it on.
Could you let me know which function/flag to enable the checkbox at branch?
Thank you!
spirit
8th January 2009, 16:57
see this method
void QTreeWidgetItem::setCheckState ( int column, Qt::CheckState state )
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.