I am suing Qt3, and need suggestions on the design to implement the following
Requirement
- I have an application to view and navigate documents.
- I have added a view, to the left of the document, to which I want to add thumbnails (image with page number) similar to Acrobat viewer
- I need to also draw a red border on the thumbnail (a la Acrobat Viewer), showing the area of the page in view
Questions
I am using QListBox for the thumbnails view
- Would it be better to create a custom Widget for the thumbnail (QImage/QPixmap + QLabel), and then implement my own QListBoxItem, to which the custom Widget is added?
- OR will a QListBoxPixmap, be better
- For drawing the red border, which Qt object can accommodate this feature a QImage or a QPixmap?
The main dilemma, is which approach is best suited to accommodate the image + text AS WELL AS having a red border drawn on it.
Feedback will be much appreciated! Thanks.
Bookmarks