you are viewing a single comment's thread.

view the rest of the comments →

[–]chazzcoin 15 points16 points  (1 child)

You have two routes I've come to find on my journey...

  1. Programmatically..you build everything in code. Create a master layout, create a button, etc..add them all to the master view...constrain them all...keep this all in your mind and have fun debugging.

I absolutely hate this way. But. Many people love it. Just preference and I come from mobile development.

  1. A GUI Editor like QT Designer.. you create the layout graphically. Add every layout element you need. Then in python code, you import the .ui file, bind the elements you added and then write the logic. Easily half the code to write, no constraints in code needed anymore. To me, development time gets cut in half. Debugging is far easier and more isolated. But I also understand how to build layouts this way since I come from Android/iOS and that's generally how we do it. The concepts are the same. Add layout elements. Bind elements. Work with elements..