I am building a script that takes a path and gets the folders. Then appends those folder names as items to another item that I am calling "Root". I am ...
I am building a script that takes a path and gets the folders. Then appends those folder names as items to another item that I am calling "Root". I am ...
I am attempting to add a folder icon for the folder items in my directory, along with the icons for the associated file type. QTreeView Where folde ...
Implemented Tree using QStandardItemModel.. like below So now Im unable to do search operation, using that QFilterProxyModel im able to search only ...
Using QStandardItemModel in a QTreeView, itemChanged signals are not triggered (for example on rename). If I recall correctly this was functioning in ...
I have a custom QTreeView and I fill it with custom QStandardItems. The model is a classic QStandardItemModel. I would like to have the possibility t ...
I have QStandardItemModel with own QSortFilterProxyModel to filter hidden entry in QTableView. when I select entry from this view below signal is emit ...
I'm building a GUI using PySide2 (Qt5) with a custom treeview widget (MyTreeView, inherited from QTreeView). The model is a QStandardItemModel object ...
i'm new to C++ and Qt and can't seem to find the right solution for this. I want to create a QTreeView using a QStandardItemModel. I have a list of fi ...
I've got a QTreeView populated by a QStandardItemModel with the TreeView set up so it only allows internal Drag and Drop (InternalMove). I am trying t ...
I have a QStandardItemModel being displayed in two QTreeViews. The first TreeView uses the standard QStyledItemDelegate without any alterations and sh ...
I am using a QStandardItemModel with a QTreeView to display custom Items. The items come in three different types FILTER_TYPE, MODIFIER_TYPE and GROUP ...
I have a simple task but am struggling with the proper way to implement it: I want one shared QStandardItemModel containing a tree structure to be ...
In a QTableView instance, rows are variable, the row count are not fixed most of the time. In a moment, if the row count is lower than the display cou ...
So I'm using a slightly custom QSortFilterProxyModel (just implemented the filterAcceptsRows) in order to filter elements from a QStandardItemModel. C ...
I am facing strange thing with dynamically adding items to my QStandardItemModel and showing them with QTableView. If the time between events is long ...
I am stuck on how to remove a selected row from the QLineEdit (list1). I understand that by using QStandardModel I can use removeRow() to remove a row ...
I tried to use the cities-standarditem of the Qt exemple and adapt it to my exemple. I have a strange result: Here is my User class: and i have de ...
I'm creating an application where I need to make a checklist with a list given to me from another class. The user will check the checkboxes next to th ...
As indicated in the following code, when you drag-drop an item (subclassed from QStandardItem with a clone() method) you get a QStandardItem and not a ...
In order to create a test case for a drag and drop bug in the QTreeView widget I tried to simulate a drag and drop mouse movement behavior. I basica ...