qtreewidgetitem
PyQt QTreeWidget 'expanded' signal not being caught
I just started maintaining a set of embedded Python plugins for a Qt application. I\'m also new to both PyQt and Python, so bear with me.[详细]
2023-04-01 22:27 分类:问答QTreeWidget : disable a line but not the subtree
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.[详细]
2023-01-20 04:48 分类:问答Is there a way to detect when all child items within a QTreeWidgetItem have been marked 'hidden'?
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[详细]
2023-01-09 09:58 分类:问答Making only one column of a QTreeWidgetItem editable
I have a QTreeWidgetItem with two columns of data, is there any way to make only the second column editable? When I do the following:[详细]
2022-12-29 14:31 分类:问答QTreeWidget insertTopLevelItem - index given not accurately displayed in Tree?
I am unable to properly insert a QTreeWidgetItem at a specific index, in this case I am removing all QTreeWidgetItems from the tree, doing a custom sort on their Date Objects and then inserting them b[详细]
2022-12-25 03:57 分类:问答Individual QTreeWidgetItem indentation
Is it possible to have individual indentation of items in a QTreeWidget? In specific, I have have a column containing both text,开发者_开发知识库 icon and for some of them a CheckBox. The items witho[详细]
2022-12-21 15:26 分类:问答stable sorting QTreeWidgetItems in QTreeWidget?
I have a list of QTreeWidgetItems (with children) in a QTreeWidget. I do not use a model for my data.[详细]
2022-12-20 16:45 分类:问答