PDA

View Full Version : Span QItemDelegate over multiple rows in view



supergillis
17th November 2010, 15:34
Hello

I want to make an agenda widget (like Google Agenda). I'm trying to make it with model/view architecture.

When, for example, every row represents 30 minutes and you have an appointment of two hours, how can you make an item delegate that spans the four rows?

I've checked QxtScheduleView, etc. but I don't really understand how they manage to make it work :p.

Should I use QGraphicsScene, etc. instead?

Thanks in advance,
Gillis

newbie43
14th January 2011, 04:40
Ive tried QxtScheduleView as well and i havent had much luck but im also trying to find a scheduler example that has items on a view that use delegates that span over rows. Does anyone out there have any ideas of where i could find some examples that use qt4?