I'm developing a music based mobile app.
The app will have a dynamic list of channels that a user will click to then be taken to a specific playlist where they can choose different songs.
I would like to use a common slot for loading a particular playlist after a channel is clicked.
I'm trying to figure out what widget to use for the channels.
The obvious choice I thought was QPushButtons. But I need to be able to somehow send the ID of the channel through once a particular channel is clicked and the QPushButton "clicked" signal does not allow the ability to pass a value through to the slot.
I need this channel ID to know which channel playlist to load.
Is there a different widget that would be best for this?
Or am I possibly going about it the wrong way?
Thanks for any help!