Combo box with multiple columns ( containing push buttons)
I need to create a combo box with 2 columns ( first with push button and other with label )
Should i be created my own model ( and not standard item model ) to build this type ? Is it possible to use standardItem model ?
Any pointers ?
Hi and welcome to devnet,
Do you need two columns only because you have two widgets ?
Thanks for your response. Actually I need to create a combo box with 3 columns (2 push buttons) and a label. Also with an ability to handle the events for the buttons.
Response highly appreciated.
Are you sure that a combo box is the right widget in that case ?
I am not sure about it. i was thinking if i should create a push button mask it with combo icon and on click of it , call the create editor method with item delegate ( and create rows for push buttons and label ) ??
Any pointers or different approach ?
Then, what would you like to achieve in the first place ?