F
F
frontjss2020-02-11 16:41:17
Python
frontjss, 2020-02-11 16:41:17

How to get all values ​​from qcombobox in pyqt5?

Let's say I have a dictionary:

{
  "Машины": ["lada", "nisan"],
  "Животные": ["Лев", "пантера"]
}


When I catch the selection of the 2nd list, for example - Lion, then I get the value Lion without what it refers to, and this is ANIMALS

How can I get this value when choosing a combobox?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question