Close

PyQt5 Interface (probably the final version)

A project log for GEOGame

An electronic geography game

thibaultdouilletthibault.douillet 06/15/2023 at 21:210 Comments

The tkinter library is great for positionong each component where you just need to specify at which pixel you would like to place a button or a label. However, functionality-wise, it's quite bad, we discovered that there was a problem with the button functions as they are executed without the buttons being even clicked. We tried a lot of solutions found on the Internet but nothing worked. Our last resort is to change libraries and go with PyQt5. Now this library isn't great for placing components as the only way to do so is through layouts. However the buttons work perfectly. After a bit of work, we found the perfect layout for our interface. We decided to remove the score as our main priority was to finish more important things such as the rotation of the LEDs or the motor spinning.

Discussions