[Qt-interest] Customized list view.
Amit Tikekar
amit.tikekar at pb.com
Thu Oct 1 16:12:49 CEST 2009
Hi guys,
I wish to implement a list view similar widget that allows the user to break a given string into columns and assigns headers for each column.
Assume the string is: "James Bond 35 Male Actor". The initial display of this string would be:
Within a List view (assume):
James Bond 35 Male Secret Service
Post user changes it would be within a list view:
Name LastName Age Sex Profession
James Bond 35 M Secret Service
The UI flow would happen as under:
- The window will be scrollable right and left to see the entire string length.
- The user will click in the viewer and a vertical line will appear separating the columns clicked.
- Now we have defined column-1 and rest of the data is in column-2.
- If the user highlights column-1 (by pressing the header), a drop down box will appear at the column header allowing the user to specify the field that corresponding to the data in that column.
The sequence continues for defining other columns as well.
I would like to know if I have to implement the above functionality, what Qt class should I use? and what all things I would have to do in the paint part to derive the above requirements from this Qt class.
Thanking you in advance.
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091001/5c1dcf55/attachment.html
More information about the Qt-interest-old
mailing list