Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
I made GUI Helper
-
Git
2.26 updatedThis helps you make gui application
- select pyui file
- edit your code as you like
I recommend:
if you make exit button ,for example, its name should be 'bt_exit', if tableview, 'tv_something'. -
This looks interesting, and also that you've put quite a bit of effort into it.
I did not see any documentation. Could you share a few words on what is the problem your helper solves, and how?
Thanks!
-
after a quick test I saw that it makes it possible to hide the statusbar and the title bar.
can u tell us the rest of the use?
Thanks :)
-
@mikael The usage is very simple.Just select pyui file and push Make button and this helper makes simple code.
When you make GUI program TableView ,Button, and Switch, you must define many functinon like ~delegate.
This helps you make them. -
I have posted a script on my GitHub repository that expands the use of the GUI_Helper.py file. It is available here. The script uses the excellent file picker code in GUI_Helper.py to browse and select a pyui file in the Pythonista documents directory, and then returns a text file of the attributes of the view and subviews in the selected pyui file for copying into the code of a .py file. The text is displayed in the Pythonista console and copied to the clipboard. This allows for an easy transition from two seperate files into a single .py file when using a ui.
-
@coomlata1 Thank you.Your code was helpful.
and file picker was not written by me but omz.
https://gist.github.com/omz/e3433ebba20c92b63111 -
@nekotaroneko Thank you for the information. I have updated my script acknowledgements to reflect this.