[Qt-interest] Not able to customize QColumnView to requirement

Parta lists4pghanghas at gmail.com
Tue May 25 13:08:12 CEST 2010


Hi

I was writing a menu navigation widget whose requirements are a lot
like QColumnView.
But when It comes to customizing QColumnView, I am running into
troubles that seem to have no
solution (not in my mind atleast).

I dont want any scroll bars in any of my columns. I was able to solve
that partially by implementing my own
createColumn()
and initializeColumn().
But then it creates a view for leafnodes also that is all in the
private class and so is animation.
It doesn't look like I can do anything about them. So finally to my
naive qt mind, it looks like I will have to
do my own subclass of QAbstractItemView (stealing a lot of ideas and
code from columnview though).


Does anyone have any idea that I can reuse most of QColumnView and
still avoid the above mentioned problem.

PS: In general I have seen that there are a lot of widgets in qt but
there is little customization available except some through QStyle.
QGraphicsItems give you a lot of flexibility over what you can do with
them but there are very few stock items that you can reuse.

--
Regards,
Parta



More information about the Qt-interest-old mailing list