I have a QListwidget
in my UI , The items of these are foods like
- Pizza
- Turkish Delight
- Pasta
- Cake
- ...
I have 22 of items like these
So whenever I double click on each item, I have a separate modal QDialogbox
pop-up which shows its recipe and the QDialog
box also takes input with the help of few line edits.
So my question is that having 22 separate QDialogboxes
is okay? Any downsides to this? Or can i do anything better as an alternative, because for each dialog box, I also have a .h and .cpp file.