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])
self._model = gtk.TreeStore(gtk.gdk.Pixbuf, object, str, str, bool)
...
self._model.append(None, [None, None, gid, gid, False])
To copy to clipboard, switch view to plain text mode
I want to convert this code to pyqt4. I'm using a QStandardItemModel.
...
self._model.appendRow(????????????????)
self._model = QStandardItemModel(self)
...
self._model.appendRow(????????????????)
To copy to clipboard, switch view to plain text mode
Is there something similar to gtk.TreeStore in pyqt4?
Thanks
Bookmarks