[PyKDE] Tabs in QListBoxText

Giovanni Bajo rasky at develer.com
Fri Apr 15 07:07:05 BST 2005

Jeffrey Barish <jeff_barish at earthlink.net> wrote:

> 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.


Giovanni Bajo

More information about the PyQt mailing list