I have a combo box cbLayer
and a function do_stuff
of the following form:
def do_stuff(item_selected_from_cbLayer):
new_list = []
# do stuff based on item_selected_from_combobox and put the items in new_list
return new_list
How can I get a QMessageBox
to pop up whenever a different item is selected in the following form:
QMessageBox.warning(self, "items: ", do_stuff(cb_selected_item))