[PyKDE] Removing column header from QListView

Andrew Bushnell awb at fluent.com
Thu Mar 4 18:36:00 GMT 2004


self.ContactList.header().hide()

after adding you single column

So in essence, you are adding a column and then hiding the header..

Hope this helps.


Maciej Paszta wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'd like to remove header row from QListView, so that no header will be shown.
> I can't do this, I've tried:
> (contactList = QListView)
> self.setContactList.addColumn(None, 0)
> but still a gray bar is shown. Is there anyway to remove this?
> By the way, check http://cobra.eu.org/?node=project&project=qtJabby
> With me friends I'm writing a QT based Jabber client, it's still in early
> stages of development but all comments/suggestions are kindly welcomed ;)
> - -- 
> Maciek "paszczi" Paszta .::. paszczi at go2.pl .::. JID:macp at chrome.pl
> gg: 2810043 .::. Linux User #304533 .::. BLUG Member #0247
> fingerprint: A484 C4D8 9CC7 2DA3 2F92  E68A 9056 D5CC F22E 4C89
> PGP:pgp.mit.edu .::. MPlayerPL Team : mplayerpl.emdej.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.9.5 (GNU/Linux)
> 
> iD8DBQFAR2ffkFbVzPIuTIkRAto3AJ0cfwEQIFOw7aVVw4ODMiqSw+DX8QCfbAQ0
> ZdYdxgnR+J3gZdrCFwjuqlM=
> =8bbu
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
> 

-- 
************************************
Andrew Bushnell
Senior Development Engineer
Fluent Inc.
10 Cavendish Court
Centerra Resource Park
Lebanon, NH  03766
awb at fluent.com
Phone: 603-643-2600, ext. 757
Fax: 603-643-1721
www.fluent.com
************************************




More information about the PyQt mailing list