Tell me how to cope with the task. I have a program of 3 screens switching buttons between them. In the first window, two buttons 0.5 and 0.7 are radiobutton of which I am trying to take the form of pictures (of the bottles themselves) enter here the description of the image

In the second window I'm trying to make several pictures with different bottles (for example, if the user clicks on one, then a certain variable is selected and it will work in 3 windows) In the second window

In the third window, I already send data to the database. In the third window, I already send data to the database.

1. On the window, I chose the type of bottle 2. I chose the name of the bottle (from the picture) 3. In the third window, I already fill in everything in the database.

I can not figure out the second window, that there would be bottles in the form of pictures (I pressed it, it was clamped) My code: https://gist.github.com/Liofan/9b531d8f572cd33913d1cbbcacd887bc

An example of how I'm trying to do. enter image description here enter image description here

  • 1) The code should be placed directly into the question 2) in the gists, you can specify the file format and get the highlighting, rename two to two.py 3) Provide a minimal example with the problem - gil9red
  • I try to make buttons in the form of pictures that the user could click on them. and which one pressed it will be active and the name will be recorded in the database - Andr Dzhakanov February

0