[PyKDE] Newbie: Unable to populate Tree Widget with pyqt4

Johannes Graumann johannes_graumann at web.de
Wed Oct 4 14:50:17 BST 2006


Hello,

I have a program that goes something like this

#!/usr/bin/python

from PyQt4 import uic, QtGui
import sys

Application = QtGui.QApplication(sys.argv)

UI = uic.loadUi("ElNotes_GUI.ui")

#UI.RepositoryTree.insertTopLevelItem(...)

UI.show()

Application.exec_()

This showes me the interface I put together with qt4-designer. But despite multiple hours of web search and countless attempts based on code snippets found, I do not manage to populate a tree widget called 'UI.RepositoryTree' ... Can some kind soul please tell me how to go about that?

Thanks, Joh
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222




More information about the PyQt mailing list