Re: Using PyQT with QT Designer

2013-08-30 Thread tausciam
Lee Harr, thank you. I took your suggestion after I finished coding the audio section. You can see the improved project here: http://i.imgur.com/permuRQ.jpg On Friday, August 23, 2013 7:35:53 PM UTC-5, Lee Harr wrote: That's the problem though. It is exactly how I want it in designer. It's

Re: Using PyQT with QT Designer

2013-08-24 Thread tausciam
Thanks. I probably will do exactly like you suggested later on. But, those two lines have solved the problem I had and I can work on the actual program now. I can come back to the GUI later. Here is what it looks like now: http://i.imgur.com/sLiSU6M.png On Friday, August 23, 2013 7:35:53 PM

Re: Using PyQT with QT Designer

2013-08-23 Thread Phil Thompson
On Thu, 22 Aug 2013 18:08:14 -0700 (PDT), tausc...@gmail.com wrote: On Thursday, August 22, 2013 3:26:17 AM UTC-5, Phil Thompson wrote: It looks like you aren't using a layout to arrange your widgets. Explicitly specifying geometries is a bad idea. Phil Thanks.QT Designer uses set

Re: Using PyQT with QT Designer

2013-08-23 Thread Michael Staggs
I tried that this morning and it destroyed my form. So, right now, that's probably not what I'm looking for. But, if you look at that picture, the app isn't resized to 800x600 like it says in the ui file. The pixmaps aren't on the buttons like I set them up in the ui file. It's not using the ui

Re: Using PyQT with QT Designer

2013-08-23 Thread Phil Thompson
On Fri, 23 Aug 2013 08:00:29 -0500, Michael Staggs tausc...@gmail.com wrote: I tried that this morning and it destroyed my form. So, right now, that's probably not what I'm looking for. But, if you look at that picture, the app isn't resized to 800x600 like it says in the ui file. The

Re: Using PyQT with QT Designer

2013-08-23 Thread Michael Staggs
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

Re: Using PyQT with QT Designer

2013-08-23 Thread Phil Thompson
On Fri, 23 Aug 2013 12:30:41 -0500, Michael Staggs tausc...@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

Re: Using PyQT with QT Designer

2013-08-23 Thread Michael Staggs
: Re: Using PyQT with QT Designer To: Phil Thompson p...@riverbankcomputing.com Cc: Thanks for the manual. I will look into it but all the examples are probably c++. Ive tried zetcode and some of the other tutorials. That's the problem though. It is exactly how I want it in designer. It's perfect

Re: Using PyQT with QT Designer

2013-08-23 Thread Michael Staggs
Again thoughI'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

Re: Using PyQT with QT Designer

2013-08-23 Thread Dave Angel
Michael Staggs wrote: That's the problem though. It is exactly how I want it in designer. It's perfect as it is in designer when I preview it. Here is a screenshot of the preview: http://i.imgur.com/ULRolq8.png The problem isn't that I can't design it in QT Designer. It is designed just

Re: Using PyQT with QT Designer

2013-08-23 Thread tausciam
Thank you. I just deleted all of them, reran pyuic4 on window.ui and regenerated window.py just to make sure. Unfortunately, I get the same problem. I've got the GUI perfectly designed just like I want it in window.py... just can't figure out how to use it in my program. On Friday, August 23,

Re: Using PyQT with QT Designer

2013-08-23 Thread Lee Harr
That's the problem though. It is exactly how I want it in designer. It's perfect as it is in designer when I preview it. Here is a screenshot of the preview: http://i.imgur.com/ULRolq8.png That's not a preview. That's just the regular design view. (you can tell by the little dots in the

Re: Using PyQT with QT Designer

2013-08-23 Thread tausciam
Thank you... I found my problem class MainWindow(QMainWindow, Ui_MainWindow): def __init__(self, parent=None): super(MainWindow, self).__init__(parent) self.setupUi(self) That seems to take care of it... if I comment out everything else, I get my pristine form I

Re: Using PyQT with QT Designer

2013-08-22 Thread Phil Thompson
On Wed, 21 Aug 2013 21:04:47 -0500, Michael Staggs tausc...@gmail.com wrote: I'm learning Python and I have a problem. I've asked the question everywhere and no one helps me, so I'm hoping someone here will. I am making a program that shows album covers and you click on the album cover in

Re: Using PyQT with QT Designer

2013-08-22 Thread tausciam
On Thursday, August 22, 2013 3:26:17 AM UTC-5, Phil Thompson wrote: It looks like you aren't using a layout to arrange your widgets. Explicitly specifying geometries is a bad idea. Phil Thanks.QT Designer uses set geometry and I'm totally lost as how to implement it. I've tried using

Using PyQT with QT Designer

2013-08-21 Thread Michael Staggs
I'm learning Python and I have a problem. I've asked the question everywhere and no one helps me, so I'm hoping someone here will. I am making a program that shows album covers and you click on the album cover in the top window. In the bottom window, the list of songs appear and you can click