omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    share-code
    4
    7
    6075
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nekotaroneko
      nekotaroneko last edited by nekotaroneko

      Git
      2.26 updated

      This helps you make gui application

      1. select pyui file
      2. 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'.

      1 Reply Last reply Reply Quote 0
      • mikael
        mikael last edited by

        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!

        nekotaroneko 1 Reply Last reply Reply Quote 0
        • scopaest
          scopaest last edited by

          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 :)

          1 Reply Last reply Reply Quote 0
          • nekotaroneko
            nekotaroneko @mikael last edited by nekotaroneko

            @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.

            1 Reply Last reply Reply Quote 0
            • coomlata1
              coomlata1 last edited by coomlata1

              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.

              nekotaroneko 1 Reply Last reply Reply Quote 0
              • nekotaroneko
                nekotaroneko @coomlata1 last edited by

                @coomlata1 Thank you.Your code was helpful.
                and file picker was not written by me but omz.
                https://gist.github.com/omz/e3433ebba20c92b63111

                1 Reply Last reply Reply Quote 0
                • coomlata1
                  coomlata1 last edited by

                  @nekotaroneko Thank you for the information. I have updated my script acknowledgements to reflect this.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors