Top "Qabstractitemmodel" questions

QAbstractItemModel is a class in the Qt framework.

QAbstractItemModel and QTreeView

I need working examples (c++) of show own data model in QtreeView.

c++ qt qtreeview qabstractitemmodel
HowTo find Subitem in QAbstractItemModel and QTreeView class?

Question: how to find sub item, in a QTreeView loaded QAbstractItemModel model with model->match() method? Problem: model->…

qt qt4 qabstractitemmodel
How to implement QML ListModel like get method for an QAbstractListModel derived model

I want to use an QAbstractListModel derived model in QML. Binding the model to views already works great. The next …

qt qml qt-quick qtquick2 qabstractitemmodel
When to emit dataChanged from a QAbstractItemModel

In Qt, I have a model subclassing QAbstractItemModel - it's a tree displayed in a QTreeView. The model supports various …

qt qtreeview qabstractitemmodel
How to update QAbstractItemModel view when a Data is updated

I use the Qt example for QAbstractItemModel and I try to update an Item to a given index. I tried …

qt qml qt-quick qabstractitemmodel
How to use Model for QCombobox

I want to use QCombobox as a the Combobox of Swing in Java. So i need to use Model for …

c++ qt qt4 qcombobox qabstractitemmodel
Remove rows from QAbstractListModel

I have a custom model which derives from QAbstractListModel which is exposed to QML. I need to support operations to …

qt qml qtquick2 qabstractitemmodel qabstractlistmodel
how set QCheckBox in QAbstractItemModel?

I have a model class TreeModel : public QAbstractItemModel which I populate with instances of my TreeItem excluding column==1. In column 1 …

c++ qt checkbox qtreeview qabstractitemmodel
Qt - QTreeView and custom model with checkbox columns

I wanted to have a tree view which shows the item name, the item description, and two related Boolean values …

qt checkbox qtreeview qabstractitemmodel
What is a role in a QTreeWidgetItem?

I have a QTreeWidget with several Columns, I add QTreeWidgetItems to it. I try to make the second column contain …

qt model-view-controller pyqt qabstractitemmodel