PDA

View Full Version : Where can I get a widget like this one in Qt?



ayanda83
24th April 2015, 22:38
Where can I get a widget like this one in Qt?11133. I want to create an exact widget as the one in the picture but I can't find anything similar to it in Qt.

thanking you in advance.

wysota
24th April 2015, 22:51
In general this can be implemented with a QListView and a custom delegate (10 minutes of work).

ayanda83
24th April 2015, 23:09
In general this can be implemented with a QListView and a custom delegate (10 minutes of work).

I thought of doing it that way but how do I get the QListView to scroll horizontally exactly like in the pic (I mean without it laying a complete scrollbar over the view or below.)

wysota
25th April 2015, 00:35
Hide the scrollbars and use custom buttons for scrolling.

alketi
26th April 2015, 15:26
Or, use a QTableView. One row, no headers. And add two buttons on each end. Horizontal scrolling is automatic.