Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52908

Re: Using PyQT with QT Designer

References (3 earlier) <5e17639a06ae1e82ca2ba37b5346d001@localhost> <CANBpqbcNLreaGJnG+zfrNAL+4hsuXW8UKCHEXaaUd6hsGgja=Q@mail.gmail.com> <fe56ef0e3ba736aa37ab88a089847840@localhost> <CANBpqbcwSBxANJuXOLFt8OeY01ehduMqY63rXg-Z4NEuLjHVug@mail.gmail.com> <c910e25bc001a24044ee87c100291760@localhost>
Date 2013-08-23 13:05 -0500
Subject Re: Using PyQT with QT Designer
From Michael Staggs <tausciam@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.180.1377281128.19984.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Again though....I'm finished with QT Designer. I have the finished product
I want exactly like I want it. But, as ive shown in the screenshots, I'm
doing exactly what ive seen in zetcode and other tutorials but It doesn't
seem to incorporate and act upon that ui file. The first thing you notice
is that it doesn't resize the main window to 800x600...which is one of the
first lines in the ui file.

I know whatever I'm doing wrong has to be a 1 or 2 line solution...just
something I should change a little....but I dont know what that is
On Aug 23, 2013 12:42 PM, "Phil Thompson" <phil@riverbankcomputing.com>
wrote:

> On Fri, 23 Aug 2013 12:30:41 -0500, Michael Staggs <tausciam@gmail.com>
> wrote:
> > Right. I know that if I redesign it I have to run pyuic4 again and that
> I
> > shouldn't change that file...let qt designer do its job.
> >
> > But, that's exactly what I'm having the problem with...incorporating the
> > file pyuic4 gave me... and why I posted here.
> >
> > If you can point me towards something I need to read then by all
> means...
> > I'd be grateful. But, all the little tutorials I've found told me to do
> it
> > this way and obviously my program has no access to it....it's not
> resizing
> > the window or doing anything the ui file states. So, I do know I'm doing
> > something wrong and doing something the little tutorials didn't account
> > for. So, I'm asking here.
> >
> > Again, I'm just learning. I took the codecademy python course and
> started
> > trying to learn to build a media player...and haven't figured out how to
> > build the gui yet. If you or anyone else can point me to something that
> > would explain what I'm doing wrong, I'll read it from front to back. If
> > it's too advanced it will lose me....but I would like to learn to do
> this.
>
> http://qt-project.org/doc/qt-4.8/designer-manual.html
>
> Designer has a preview option that creates your UI on the fly. The first
> step would be to get it working as far as you can with that before you try
> generating any Python code.
>
> Phil
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-22 09:26 +0100
  Re: Using PyQT with QT Designer tausciam@gmail.com - 2013-08-22 18:08 -0700
    Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-23 08:39 +0100
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 08:00 -0500
    Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-23 18:17 +0100
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 12:30 -0500
    Re: Using PyQT with QT Designer Phil Thompson <phil@riverbankcomputing.com> - 2013-08-23 18:42 +0100
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 12:58 -0500
    Re: Using PyQT with QT Designer Michael Staggs <tausciam@gmail.com> - 2013-08-23 13:05 -0500
    Re: Using PyQT with QT Designer Dave Angel <davea@davea.name> - 2013-08-23 20:16 +0000
      Re: Using PyQT with QT Designer tausciam@gmail.com - 2013-08-23 16:39 -0700

csiph-web