[python-win32] Win32 GUI for beginners.

Heang Lim heang.s.lim at gmail.com
Thu Jan 2 17:56:14 CET 2014


I have never used PyQT.uic api before.  Thanks for the suggestion and the
link.  I have to look into it.

-Heang


On Wed, Jan 1, 2014 at 9:04 PM, Michael Torrie <torriem at gmail.com> wrote:

> On 12/31/2013 11:26 AM, Heang Lim wrote:
> > 2.  When you convert your guiApp.ui into guiApp.py, it creates a Python
> > class (e.g Ui_Test_Automation for my apps) with widget objects you need
> to
> > call to trigger widget actions/signals.  You will need to look into
> > guiApp.py Python script to learn to use the objects it creates for
> various
> > widgets/buttons, drop-down menu, etc.  For instance, if you create a push
> > button called RUN_TESTS, pyuic4 will create something like the following:
> >
> > class Ui_Test_Automation(object):
> >    def setupUi(self, Test_Automation):
> >         self.RUN_TESTS=QtGui.QPushButton(Test_Automation)
> >          ....
>
> Hmm, don't you just use the PyQT.uic api to load the ui file directly
> into your running program?  Seems a lot more flexible and easier than
> having to generate code each time the ui file changes.
>
> http://www.chrisevans3d.com/pub_blog/?p=468
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20140102/aa434a0e/attachment.html>


More information about the python-win32 mailing list