Top "Qabstractitemmodel" questions

QAbstractItemModel is a class in the Qt framework.

How to access ListView's current item from qml

I have an application that stores and edits notes. The list of notes is displayed in a listview like this: …

qt qml qt5 qabstractitemmodel
QTreeView with custom items

I'm writing my first Qt application with PySide and am having some trouble creating a custom tree view. I'd like …

python pyside qtreeview qabstractitemmodel
Insert and delete rows in QTreeView

Good day, I Have base model inherited from QAbstractItemModel, and some background threads which notify this model from time to …

c++ qt qtreeview qabstractitemmodel
Get and set the active row in QTreeview programmatically (PyQt)

Is there a way to get and change the active row in a QTreeView (not QTreeWidget)? By active, I mean …

python qt pyqt qtreeview qabstractitemmodel
To set widgets on children items on QTreeView

Thanks to this thread, I'm able to add widgets to 2nd or later column of QAbstractItemView (in my example QTreeView) …

qt4 pyqt qtreeview qabstractitemmodel
QTreeView & QAbstractItemModel & insertRow

I'm trying to implement QAbstractItemModel for QTreeView. I have problem with inserting rows. I noticed that if I insert at …

qt insertion qtreeview qabstractitemmodel
Qt : setData method in a QAbstractItemModel

I'm new to model view and I have been following this tutorial while checking the documentation at the same time …

python qt qtgui qabstractitemmodel qabstractlistmodel
Basic concept of Qt model/view and QTableView

I want to create a software that will browse some database tables and users will be able to edit these …

qt model-view-controller qtableview qabstractitemmodel
HowTo combine QAbstractTableModel and QItemDelegate to one working source?

I have a QTableView defines in UI file. Here is the figure: I'd like to make month change (where the …

qt qt4 qitemdelegate qabstractitemmodel
Qt QAbstractItemModel - item removal crashes

I'm writing an application using Qt classes where I have a hierarchical structure and I need to display it in …

c++ qt qabstractitemmodel