I've a piece of code in which I've added two sub-items to a QTreeWidget parent item. The sub-items are set to be "editable". I'm facing two problems ...
I've a piece of code in which I've added two sub-items to a QTreeWidget parent item. The sub-items are set to be "editable". I'm facing two problems ...
I am designing a major interface but had a problem on how to add a QTableWidget into a QTreeWidget but as a QTreeWidgetItem. In order to save everyone ...
I want these TreeWidget Arrows to align with the top of the TreeWidgetItem. I've got a QtWidgets.QTreeWidget(), and have created a custom QtWidgets ...
I am making a QtreeWidget with item editable,but the problem is with the Item Editor or QAbstractItemDelegate(might be called like this,not sure).I am ...
I have a QListWidget that contains filenames. Right-clicking on an item brings up a menu which contains a Rename... item. Clicking on Rename... lets t ...
I've made a QTreeWidget that has a number of rows, each row with a text item, and a checkbox. How do I get the text, when the checkbox is toggled? I k ...
By default if a cell is edited in a QTreeWidget, the editor changes its width based on length of text. Is it possible to set the editor´s width to f ...
NOTE: it turned out that the problem was not due to the implementation of QStyledItemDelegate, but it was the fact that in the constructor of MyTreeWi ...
I am trying to insert a new child item at the top of the group of items. The index value does not seem to be honored and the item goes to the end of t ...
I subclassed a QTreeWidget in order to reimplement the protected functionalities of drag and drop in order to drag drop parents and children of a QTre ...
I successfully managed to show a QIcon on the TopLevelItem. But the problem comes when to add the icon on the children, how do I do that? Below a sni ...
I am trying to programmatically "drop" an item onto a QTableWidget using QTableWidget::dropMimeData(). I know which item I want to drop and I know t ...
I have a QTreeWidget where I want each row to be like this widget: I know how to create the widget itself, how to create a basic QTreeWidgetItem b ...
I've the following custom QTreeWidgetItem that I use in my QTreeWidget: Basically I need to use two types of items: a federate one that's a leaf, ...
I would like to find the most top-level parent item of a QTreeWidgetItem, no matter how many levels deep it is in the tree. Problem with using item.p ...
I have MainWindow with a qTreeWidget. To add elements to this widget I've implemented this functions: It works as expected. Now I want to highlight ...
My app is written with PyQt5. I have a QTreeWidget with some elements: I want to add and remove checkboxes to child elements dynamically. I managed ...
What I want is to create a sidebar with qt with QTreeView that branches are put at right side of items. Like AdminLTE sidebar: https://adminlte.io/the ...
In QtCreator I added a Tree Widget with two columns to my canvas. This created the XML as follows:- <widget class="QTreeWidget" name="postgresTre ...
I need to add color animation to QTreeWidgetItem, but in my code, it raise some error, can anyone help me? The code sample is here: class TreeWigetI ...