PDA

View Full Version : QListWidget like in KDE settingsdialog



Lykurg
28th January 2007, 10:31
Hi,

I am trying to design a QListWidget like it appears in the KDE settingsdialogs. (a) Text under the icon and (b) both h-centered and (c) the selection mask fills the whole width (+around the icon).

Howto get one of (a), (b) or (c) I know, but I fail to get all three together.


Thanks,
Lykurg

wysota
28th January 2007, 11:09
The easiest way is to reimplement the delegate. Otherwise it's hard to position the text and icon correctly - believe me, I tried :)

Lykurg
30th January 2007, 12:50
The easiest way is to reimplement the delegate.
Well, then I will try to do so. Thanks