Results 1 to 5 of 5

Thread: PyGTK or PYQT Interface Designer

  1. #1
    Join Date
    May 2007
    Location
    USA
    Beans
    129

    PyGTK or PYQT Interface Designer

    Is there an interface designer for either to make my job a lot easier?

  2. #2
    Join Date
    Sep 2005
    Location
    Cedar Rapids, IA, USA
    Beans
    545
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: PyGTK or PYQT Interface Designer

    For GTK+, you can use Glade to generate the XML file that pyGTK can parse to draw widgets. Don't know about pyQT.
    #399784 | Ubuntu User #287
    *** If you're going to program, install the damn build-essential package ***
    There is no such thing as Ubuntu specific programming
    Save the electrons - if you quote, trim!

  3. #3
    Join Date
    Sep 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: PyGTK or PYQT Interface Designer

    For pyqt (or rubyqt) you can use QT designer.

  4. #4
    Join Date
    May 2007
    Location
    USA
    Beans
    129

    Re: PyGTK or PYQT Interface Designer

    but this doesn't allow me to take the design and then use it in my python code

  5. #5
    Join Date
    Sep 2005
    Location
    Cedar Rapids, IA, USA
    Beans
    545
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: PyGTK or PYQT Interface Designer

    How does having pyGTK read an XML file and draw the UI widgets not do what you want to do?

    It's very easy to generate the UI in Glade and then use some simple commands to connect signals for the interactive widgets in the Python code. I've done it on this: http://aeronerd.wordpress.com/projec...oil-generator/ (no code available)

    http://www.learningpython.com/2006/0...gtk-and-glade/
    This article helped me out a lot.
    #399784 | Ubuntu User #287
    *** If you're going to program, install the damn build-essential package ***
    There is no such thing as Ubuntu specific programming
    Save the electrons - if you quote, trim!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •