Hi,
Another newbie query.
I've created a customized QListWidget with customized QListWidgetItem(s). I've followed some examples from here(forum). I've used the QAbstractItemDelegate to draw my customized list items.
Does anybody have any idea on how to track the first and last items in my list widget? I've restricted my listwidget only to display 5 items and disabled the scrollbars. My reason for tracking this is that I want to do some important drawing on every first and last item in my listwidget.
For example, I want my first and last list items to be bigger than the items between them. If I can track these items then I could somehow put these data using "setData" and retrieve these when drawing these items at "paint" function. In paint function I can then draw the appropriate size for each item. Thanks.
Bookmarks