GUI builder for Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • henry

    GUI builder for Python

    Hi,

    Just wondering if there's a good GUI builder for Python. Something like
    Visual Tcl, where you just drag and drop objects.

    Not too good with creating user interfaces from code along.

    Thanks


  • Smille Purusa

    #2
    Re: GUI builder for Python

    henry wrote:
    [color=blue]
    > Hi,
    >
    > Just wondering if there's a good GUI builder for Python. Something like
    > Visual Tcl, where you just drag and drop objects.
    >
    > Not too good with creating user interfaces from code along.
    >
    > Thanks[/color]
    You can try boa or pythoncard.

    Smille

    Comment

    • Alex Martelli

      #3
      Re: GUI builder for Python

      Michael Peuser wrote:
      ...[color=blue]
      > There are some commercial GUI Builders out of the normal budget.[/color]

      By the way, I hear that PythonWorks is "out of development" but they're
      still selling licenses to existing customers only. I wonder if there is
      any chance the Tkinter GUI builder that came with it may be freed...
      [color=blue]
      > Free ones are Black Adder for Qt, BoaConstructor for wx and some stuff
      > like PAGE or SpecTIX for TIX.[/color]

      BlackAdder isn't free -- it's cheap but still commercial. If and only
      if you're under the conditions for using the GPL license for Qt &c --
      basically if you're developing GPL for free operating systems, I think
      that's a fair summary -- you can use Trolltech's own QtDesigner and
      then pyuic to generate Python from the resulting XML file (that's more
      or less what BlackAdder does nowadays, though in a more integrated way:
      it uses an external QtDesigner rather than trying to "embed" it as it
      once did in earlier versions).


      Alex

      Comment

      • Michael Peuser

        #4
        Re: GUI builder for Python

        Hi Alex,

        "Alex Martelli" <aleaxit@yahoo. com> schrieb im Newsbeitrag
        news:bhi4l901ij [email protected] y.com...[color=blue]
        > Michael Peuser wrote:
        > ...[color=green]
        > > There are some commercial GUI Builders out of the normal budget.[/color]
        >
        > By the way, I hear that PythonWorks is "out of development" but they're
        > still selling licenses to existing customers only.[/color]

        This is what they say on their pages - I ask in this group some days ago
        about the state (especially of the uiToolkit) but there were no replies so
        far....
        [color=blue]
        > ..... I wonder if there is
        > any chance the Tkinter GUI builder that came with it may be freed...[/color]

        This would be great because it would give us a very profesional IDE. I am
        even willing - let's have a look in my purse - yes, about 25 $/Euro for it
        ;-)
        [color=blue][color=green]
        > > Free ones are Black Adder for Qt, BoaConstructor for wx and some stuff
        > > like PAGE or SpecTIX for TIX.[/color]
        >
        > BlackAdder isn't free -- it's cheap but still commercial. If and only
        > if you're under the conditions for using the GPL license for Qt &c --
        > basically if you're developing GPL for free operating systems, I think
        > that's a fair summary -- you can use Trolltech's own QtDesigner and
        > then pyuic to generate Python from the resulting XML file (that's more
        > or less what BlackAdder does nowadays, though in a more integrated way:
        > it uses an external QtDesigner rather than trying to "embed" it as it
        > once did in earlier versions).[/color]

        Quite true. Although I like Qt very much and rate it highes among the
        existing GUI-Toolkits - the quite license situation is somwhat annoying.
        There is not only Trolltech involved but another company (Riverbank, I
        think) for the Python bindings.
        BTW the scientitific plot package PyQwt is great.
        [color=blue]
        >
        > Alex
        >[/color]


        Comment

        • David M. Cook

          #5
          Re: GUI builder for Python

          In article <nx%_a.730754$3 C2.17094058@new s3.calgary.shaw .ca>, henry wrote:
          [color=blue]
          > Just wondering if there's a good GUI builder for Python. Something like
          > Visual Tcl, where you just drag and drop objects.[/color]

          I like the way glade produces an xml file that can be loaded dynamically by
          libglade. PyQT/qtdesigner and wxpython/wxglade have similar features
          apparently.

          There's an article on pygtk and glade in September's Linux Journal:



          Though the author seems to have missed the autoconnect method, which will
          automatically connect callback functions/methods with the same name as the
          handlers you define in glade.
          [color=blue]
          > Not too good with creating user interfaces from code along.[/color]

          Not one of programming's most thrilling chores.

          Dave Cook

          Comment

          • henry

            #6
            Re: GUI builder for Python

            You know any free ones for Tkinter?

            thanks

            "Michael Peuser" <[email protected] > wrote in message
            news:bhi2uq$meo [email protected]...[color=blue]
            > Hi Henry,
            >
            > there is a discussion of this topic from time to time - every week I[/color]
            should[color=blue]
            > say ;-)
            > Everything depends on the GUI-Toolkit you have selected:
            > Tkinter?
            > PyQt?
            > wxPython?
            > Or an even more exotic one like FOX, FLTK, GTK+ or PyUI?
            >
            > There are some commercial GUI Builders out of the normal budget.
            > Free ones are Black Adder for Qt, BoaConstructor for wx and some stuff[/color]
            like[color=blue]
            > PAGE or SpecTIX for TIX.
            >
            > Kindly
            > Michael P
            >
            >
            > "henry" <soundwave56@ya hoo.com> schrieb im Newsbeitrag
            > news:nx%_a.7307 54$3C2.17094058 @news3.calgary. shaw.ca...[color=green]
            > > Hi,
            > >
            > > Just wondering if there's a good GUI builder for Python. Something like
            > > Visual Tcl, where you just drag and drop objects.
            > >
            > > Not too good with creating user interfaces from code along.
            > >
            > > Thanks
            > >[/color]
            >
            >
            >
            >[/color]


            Comment

            • dan

              #7
              Re: GUI builder for Python

              "henry" <soundwave56@ya hoo.com> wrote in message news:<nx%_a.730 754$3C2.1709405 [email protected] .shaw.ca>...[color=blue]
              > Hi,
              >
              > Just wondering if there's a good GUI builder for Python. Something like
              > Visual Tcl, where you just drag and drop objects.
              >
              > Not too good with creating user interfaces from code along.
              >
              > Thanks[/color]

              Been wondering myself. How is http://sourceforge.net/projects/wxworkshop/?

              this looks nice and it's free.

              Comment

              • Michael Peuser

                #8
                Re: GUI builder for Python

                <achrist@easyst reet.com> schrieb im Newsbeitrag
                news:3F3DC73C.3 ADD3980@easystr eet.com...[color=blue]
                > dan wrote:[color=green]
                > >
                > >
                > > Been wondering myself. How is[/color][/color]
                http://sourceforge.net/projects/wxworkshop/?[color=blue][color=green]
                > >
                > > this looks nice and it's free.[/color]
                >
                >
                > I'm wondoering about Visual Wx. This looks like someone put much
                > work into it, but I haven't been able to get it to do anything.
                > This is probablyt because I can't find any documentation in English
                > that tells how to get it to do anything.
                >
                >
                > Al[/color]


                Well try it out then - a little bit English is in it ;-)


                Attention: a lot of spam pop-up adds!

                Kindly
                Mchael P


                Comment

                • dan

                  #9
                  Re: GUI builder for Python

                  "Michael Peuser" <[email protected] > wrote in message news:<bhkeuk$8b [email protected]>...
                  [color=blue]
                  > Have you tried it? It is not a Python tool ;-) And there had been not much
                  > move there for more than a year...[/color]

                  What do you mean about it not being a Python tool? It supports
                  wxPython, right? If you mean it wasn't written in Python, why should
                  I care about that?[color=blue]
                  >
                  > There is a well known set of GUI Builders for Pyhon around, most of them
                  > mentioned in this thread.
                  > The most important decision is what GUI-Toolkit to use. This will influence
                  > much of your *programming* tasks that follows the *layout*. Printing?
                  > HTML-Widget? Drag-and-Drop?[/color]

                  Agreed.[color=blue]
                  >[/color]
                  [color=blue]
                  > There is no silver bullet at the Python market at the moment...[/color]

                  Too bad.

                  -dbm

                  Comment

                  • Michael Peuser

                    #10
                    Re: GUI builder for Python

                    Well, of course you are absolutly right, but we are real programmers aren't
                    we. And all interface is english (with even less typos than in my postings
                    ;-)).

                    Given, that Visual Wx is meant for C++ as a lot of other GUI Builders.
                    Python and Perl is a side issue, but it seems to work. For a preview you can
                    only use:

                    Build - Run which starts the Python interpreter with the Python code. But
                    where is the code?

                    - Make a new Project
                    - Select a template that sounds good: Menu_Toolbar_Py thon e.g.
                    - Store it somewhere.

                    Now it is a little disappointing that nothing breathtaking pops up.
                    But you already can "RUN" it. Looks great.
                    Use the tree at the right hand side to open the design of MyFrame or look at
                    the source code (Python). In seems there is something missing (MyApp,
                    MyFrame), but you can open the sources using the L-Icon. The problem now is,
                    that the file types is set to Python and - hey presto - there are the files.


                    Well, all over a little immature but that's the situation with most of the
                    tools, which were meant for C++ und got a Perl/Python outlet...

                    Kindly
                    Michael Peuser



                    <achrist@easyst reet.com> schrieb im Newsbeitrag
                    news:3F3E64B0.2 E691EF9@easystr eet.com...[color=blue]
                    > Michael Peuser wrote:[color=green]
                    > >
                    > >
                    > > Well try it out then - a little bit English is in it ;-)
                    > > http://visualwx.altervista.org/indexen.htm[/color]
                    >
                    > Sorry. I don't see any information on that page on how to use Visual
                    > Wx. It tells how to download and install, and I succeeded at that.
                    > The program runs, showing me a nice UI with thee panels. The left
                    > panel looks to be a list of wx classes that I can add to my project.
                    > The central panel can display source code. The right panel is a
                    > tree control showing an outline of the project.
                    >
                    > There is no explanation of how to use these panels to create any
                    > specific results. The word 'visual' in the name of the program
                    > vaguely suggests that I get to see what my UI looks like as I
                    > design it, but I haven't found any way to get visual wx to show
                    > me anything that looks like a display of the ui of the project
                    > being worked on. I'm pretty well lost at that point.
                    >
                    > There is a forum link from the web page, but last I looked, the
                    > postings are all in Italian. I'm certainly not criticizing
                    > someone who speaks and writes Italian for not writing English.
                    > I'm not saying that the program isn't very good. It looks like
                    > it might be very good even if I have drawn an unjustified
                    > inference about what 'visual' means. I'm just suggesting that
                    > if anyone who knows English uses Visual Wx to some advantage,
                    > and if they could post somewhere just a few paragraphs about how
                    > to use it, Visual Wx could have a place on the list of answers
                    > to the GUI-builder question.
                    >
                    >
                    > Al[/color]


                    Comment

                    • Detlev Offenbach

                      #11
                      Re: GUI builder for Python

                      henry wrote:
                      [color=blue]
                      > Hi,
                      >
                      > Just wondering if there's a good GUI builder for Python. Something like
                      > Visual Tcl, where you just drag and drop objects.
                      >
                      > Not too good with creating user interfaces from code along.
                      >
                      > Thanks[/color]

                      If you are about to go with PyQt I would recommend you try eric3
                      (http://www.die-offenbachs.de/detlev/eric3.html). It is an IDE built for
                      Python coded with Python and PyQt. And most of all, eric3 is free. As
                      its GUI-Builder it uses Qt-Designer.

                      Detlev
                      --
                      Detlev Offenbach
                      [email protected]

                      Comment

                      • Bobo O

                        #12
                        Re: GUI builder for Python

                        > I'm wondoering about Visual Wx. This looks like someone put much[color=blue]
                        > work into it, but I haven't been able to get it to do anything.
                        > This is probablyt because I can't find any documentation in English
                        > that tells how to get it to do anything.[/color]

                        my english is bad...sorry

                        You execute these steps in order to add project

                        1) file\new project select template for python gui
                        2) store project in the new directory
                        3) double click on the right panels for open file

                        Add components:
                        1) Select component on the left panel
                        2) draw it on the form

                        Change parent components
                        1) draw panels & components on the form
                        2) select component for change parent
                        3) select properties tag on the left panel
                        4) change parent property

                        Notebook :
                        1) draw notebook & panels
                        2) change parent property of the panel (set notebook component like parents)





                        ------------------------

                        nuova release 0.7 [freeware]
                        VisualWx rad per wxwindows,c++ e python






                        Comment

                        Working...