I have a QTreeWidget with what I thought all the proper settings setup in order to be able to reorder items by dragging them around. It can work, at times, but more often than not I drag an item into
I\'m populating a branch of a QTreeWidget and then setting the expanded attribute on the parent of the branch to true. The itemExp开发者_StackOverflow社区anded signal fires in response, which is not w
Create a new widget, show it, and hide it behind another application. Is there a way to find out if the widget is visible to the user?
Here is what I\'m trying to do (all parents and children must have a close button on the right, in the future, only the hovered item will be able to show the **close ** button):
Does anyone know if its possible to select multiple items on a QTreeWidget and how to go about enabling the multiple selection?
I am trying to implement a custom QListWidget to handle with custom data. I already found out how to display custom widgets in a QListWidget.
Could anyone help me understand the following behaviou开发者_如何学JAVAr?If I run this PyQt script I can generate a simple window with a QTreeView with multiple child items:
My application is crashing with a BAD_ACCESS when quitting and when clearing the QTreeWidget. This is how I\'m populating the first level of the tree:
I use a QTreeWidget that shows a file listing so that a user can copy files to a directory. I want to disallow the user to copy the files to the same directory.
Is there a preferred way to detect when all of a QTreeWidgetItem\'s children are marked as hidden?Currently, I\'m iterating over all of them every time any of them are hid开发者_StackOverflow中文版den