Results 1 to 4 of 4

Thread: Qt > Py: Okay, but Py > Qt?

  1. #1
    Join Date
    Sep 2007
    Posts
    29
    Thanks
    8
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Qt > Py: Okay, but Py > Qt?

    Hello,

    I managed to get a Qt code by using:
    PYUIC FORM1.UI > FORM1.PY

    But what if I only have the .py file from the GUI and I want to open it with Qt in order to edit the GUI.

    Im using Linux, text editor KWrite and Qt 3.3 with python 2.4 (I think).

    Thanks a lot!
    Greetings,

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt > Py: Okay, but Py > Qt?

    You can't create a ui file out of a source file (be it python or c++).

  3. The following user says thank you to wysota for this useful post:

    nitriles (11th September 2007)

  4. #3
    Join Date
    Sep 2007
    Posts
    29
    Thanks
    8
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Qt > Py: Okay, but Py > Qt?

    aha, bummer.
    Thus I have no way of editing the GUI unless I have the original file?

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt > Py: Okay, but Py > Qt?

    You can edit it by hand by manipulating the python code directly.

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.