[PyKDE] Tabs in QListBoxText

Jeffrey Barish jeff_barish at earthlink.net
Fri Apr 15 05:27:15 BST 2005


I have a statement:

QListBoxText(clb, '%s:\t%s' % (key, thing[key]))

The tab does not appear (it's a space).  Do I have to set tab stops, or
is there no way to use tabs in listboxes?

What I really want is for the keys and things to line up vertically.  A
QListView could do that with 2 columns, but I don't want the column
headers.  Any suggestions appreciated.
-- 
Jeffrey Barish




More information about the PyQt mailing list