[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Re: Tabs in QListBoxText
From: "Giovanni Bajo" <rasky () develer ! com>
Date: 2005-04-15 15:08:42
Message-ID: 0af901c541cd$02eaa380$bf03030a () trilan
[Download RAW message or body]
Jeffrey Barish <jeff_barish@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.
>>
>>
>> Ah well, even easier, QListView.header().hide().
>>
> YES!
>
> The function hide() does not appear in the documentation for 2.3.2, but
> it apparently does exist.
Not sure about 2.3.2, but in Qt 3.x hide() is inherited from QWidget.hide
(since QHeader is a QWidget).
BTW, I believe this kind of questions are better answered in the qt-interest
mailing list.
--
Giovanni Bajo
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic