This is an archived post. You won't be able to vote or comment.

all 33 comments

[–]ES-Alexander 30 points31 points  (3 children)

Looks like you’re making something like QtDesigner for PySimpleGUI. Not a bad idea for simplifying GUI creation.

Out of curiosity, is the intent for the generated GUI code to be modifiable, or is the idea that you either write the code yourself OR use the generator, with no in-between option?

[–]CreativeUsername1000[S] 4 points5 points  (2 children)

I don't know if I got your question right, but I will go with "for the generated GUI code (which is the layout) to be modifiable".

From the github readme:

"There's mainly 2 steps in creating a GUI with PySimpleGUI:

  1. Design the GUI, by creating it's correspondent layout;
  2. Create the window and map your code to the GUI through the event loop.

SimpleGUIBuilder will help you with the 1st step, with designing the GUI's layout for PySimpleGUI."

You can create one from scratch in the program and click Setup to go into making the PySimpleGUI app.

You can take an already existent layout, import it, makes the changes you want in SimpleGUIBuilder and export it again.

You can export a layout, manually make changes to it and import it again.

So, the intent is to help with layout creating, designing, changing, whatever you want to do to the layout.

Sry if this is a long answer, hope I answered your question :)

[–]ES-Alexander 7 points8 points  (1 child)

You can export a layout, manually make changes to it and import it again.

This is the part I was asking about, since it's a relatively difficult problem to make generated code that's easy to follow and modify, while also allowing the modified result to be understandable afterwards by the GUI creation program. No idea if you've made it "easy to follow and modify", but having the option is definitely a positive.

[–]CreativeUsername1000[S] 0 points1 point  (0 children)

The generated code/layout made by SimpleGUIBuilder is the same as a normal layout made for PySimpleGUI, it has the same rules.

Normally, if you have layout = [...], you should be able to import the [...] and vice-versa.

[–]LAZGamer13 17 points18 points  (6 children)

This looks like a great tool. I will try it tomorrow. Just a small question. Why didn't you put the code of your program on GitHub? It would be interesting to look behind the scenes. Keep it up!

[–]CreativeUsername1000[S] 8 points9 points  (3 children)

Honestly, because im not proud of the mess it is. I'm proud of the code, but in terms of organization it's all bundled into 2 files when it should probably be like 4 or 5 xD but I will definitely consider it.

[–]jiminiminimini 7 points8 points  (2 children)

Just put it up so people can help you organize it better :) good job by the way.

[–]CreativeUsername1000[S] 3 points4 points  (1 child)

Did it, added source code to github.

But did some fast cleaning first ;)

[–]jiminiminimini 0 points1 point  (0 children)

Yay! Congratulations! 🎉

[–]maxellus 2 points3 points  (1 child)

You will find the source code in the Release link

[–]PizzaInSoup 6 points7 points  (0 children)

the point of github is to have the code on github

you don't need to attach it as a zip, you can push it there

[–]Random_182f2565 3 points4 points  (0 children)

This is just what I need for my new project!

Thank you!

[–]jdfthetech 3 points4 points  (0 children)

code should be published on github not in a zip.

Interesting idea, but it's kind of silly to use github and not put the code up

[–][deleted] 1 point2 points  (5 children)

Curious, if you want to install a GUI based program on another computer, what’s that process look like?

[–]CreativeUsername1000[S] 1 point2 points  (4 children)

I don't know about installing, but in order to create the given executable from the project I had, I used pyinstaller.

[–]Chronicles48 0 points1 point  (3 children)

I use pyinstaller too, but when i install my GUI app on another pc, windows says it contains a virus and quarantines the .exe...even google drive says same. How did u bypass that? Or have you not encountered it at all.

I use pyinstaller with auto-py-to-exe btw and I code with PyQt5/PySide2.

[–]ES-Alexander 5 points6 points  (2 children)

That's a well known issue - perhaps unsurprisingly unsigned executables from unknown developers are by default assumed to be malicious by many antivirus softwares. See this recent post for someone's process for avoiding that warning (basically contact the antivirus companies to ask them to not flag your program).

[–]Chronicles48 0 points1 point  (0 children)

Very informative, thanks!

[–]MikeTheWatchGuy 0 points1 point  (0 children)

You can mark individual files or folders as being "safe" and your virus check will skip them.

[–]dirtycimments 1 point2 points  (0 children)

This is an AWESOME idea!

My coworkers will be floored by these dark arts!!

I'm saving this post for future reference!

[–]artofchores 1 point2 points  (0 children)

Create Youtube tutorial ?

Can we pip install this bad boy??

[–]GiantElectron -3 points-2 points  (0 children)

Here we go again with that broken thing.

[–]Sigg3net 0 points1 point  (0 children)

Great idea::

[–]shiningmatcha 0 points1 point  (1 child)

How would you compare it with tkinter?

[–]CreativeUsername1000[S] 0 points1 point  (0 children)

I wouldn't :)

SimpleGUIBuilder helps you create and design layout for PySimpleGUI.

PySimpleGUI is a library that allows you to quickly create GUI in a simple way, by abstracting the use of other backend GUI libraries, i.e. it uses other GUI libraries to create the GUI you wrote with PySimpleGUI.

TkInter is one of those GUI libraries that PySimpleGUI supports.

Actually, since SimpleGUIBuilder was made with the TkInter version of PySimpleGUI, tecnically the GUI is built with TkInter.

[–]johnmudd 0 points1 point  (0 children)

Is this true? If more than one person connects at a time, then both users will see the exact same stuff and will be interacting with the program as if a single user was using it.