alexandernst
19th July 2009, 20:18
Hi all, I have this in pygtk:
self._model = gtk.TreeStore(gtk.gdk.Pixbuf, object, str, str, bool)
...
self._model.append(None, [None, None, gid, gid, False])
I want to convert this code to pyqt4. I'm using a QStandardItemModel.
self._model = QStandardItemModel(self)
...
self._model.appendRow(????????????????)
Is there something similar to gtk.TreeStore in pyqt4?
Thanks
self._model = gtk.TreeStore(gtk.gdk.Pixbuf, object, str, str, bool)
...
self._model.append(None, [None, None, gid, gid, False])
I want to convert this code to pyqt4. I'm using a QStandardItemModel.
self._model = QStandardItemModel(self)
...
self._model.appendRow(????????????????)
Is there something similar to gtk.TreeStore in pyqt4?
Thanks