Re: [PyQt] Howto use the Qt documentation successfully - Was: Re: Access to lines of text on textEdit.

2010-09-14 Thread Peter Milliken
Exactly how does one find a matching zip archive? :-) I have looked and they don't make it easy! For example, how do I navigate to the 4.7.6 matching archive? Foolishly I thought that if I just used your link and changed the numbers it would work - foolish boy! Any clues how to navigate through

Re: [PyQt] Howto use the Qt documentation successfully - Was: Re: Access to lines of text on textEdit.

2010-09-14 Thread Peter Milliken
On Wed, Sep 15, 2010 at 9:05 AM, Hans-Peter Jansen h...@urpla.net wrote: Come on, Peter, that's not fair. Phil decided to not provide the bulky docs in an otherwise pretty complete package for Windows users: please respect that. He has to pay for your downloads in some ways (and is doing a lot

Re: [PyQt] sizing a QTextEdit...

2010-09-09 Thread Peter Milliken
Yes, it does - thanks mate :-) I'll work my way through this example and adapt what is appropriate - but thanks for the help! Peter On Fri, Sep 10, 2010 at 1:55 AM, Baz Walter baz...@ftml.net wrote: On 09/09/10 05:12, Peter Milliken wrote: Sorry, that previous email should have explained

[PyQt] sizing a QTextEdit...

2010-09-08 Thread Peter Milliken
I cannot work out how to (re)size a QTextEdit widget. I have tried various methods, without success. I show one method in the following code snippet, I would appreciate it if somebody could point out my error :-) Thanks Peter from PyQt4.QtCore import * from PyQt4.QtGui import * import PyQt4.Qt

Re: [PyQt] sizing a QTextEdit...

2010-09-08 Thread Peter Milliken
' - in the vertical direction. I just want a QTextEdit sized about 3 or 4 times the height of a QLineEdit. Thanks for the suggestion Peter On Thu, Sep 9, 2010 at 1:58 PM, Algis Kabaila akaba...@pcug.org.au wrote: On Thursday 09 September 2010 13:03:14 Peter Milliken wrote: I cannot work out how to (re)size

Re: [PyQt] sizing a QTextEdit...

2010-09-08 Thread Peter Milliken
Sorry, that previous email should have explained that within the main QFrame I am attempting to lay everything out using gridlayout. On Thu, Sep 9, 2010 at 2:06 PM, Peter Milliken peter.milli...@gmail.comwrote: Probably not. The code snippet might be a bad example. I am attempting to create

Re: [PyQt] Composite widgets?

2010-09-06 Thread Peter Milliken
() layout.addWidget( self.lineEdit ) self.setLayout( layout ) You can get much more sophisticated than this, but just a quick example really. Hope this helps. Dan On 6 September 2010 02:13, Peter Milliken peter.milli...@gmail.comwrote: Prior to embarking on learning PyQt, I wrote my

[PyQt] Composite widgets?

2010-09-05 Thread Peter Milliken
Prior to embarking on learning PyQt, I wrote my GUI applications using Tkinter and Pmw. The Pmw widget set is quite nice and provides a library of composite classes using the Tkinter widgets. My question is: Is there any (similar) composite widgets in PyQt? i.e. Pmw has the EntryField widget,

[PyQt] PyQt documentation in PDF?

2010-08-30 Thread Peter Milliken
Is there any way to generate a PDF of the PyQt documentation i.e. classes etc? Or is this available from some source? Thanks Peter ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Threads, events, signals and slots...

2010-08-24 Thread Peter Milliken
Slowly working my way to learning this stuff but have a question regarding how to update GUI elements when threads are running. The situation is: 1. I have some radiobuttons that I use for input and output: input by the user and then for output to display progress during an operation (the

[PyQt] Unexpected behaviour

2010-08-16 Thread Peter Milliken
Sorry if the answer to this is obvious, but it is entirely unexpected behaviour IMO :-) I have created a simple GUI with some elements, such as a progressbar and radiobuttons, which are 'dynamically' updated when an underlying Python task (created using threading.Thread) communicates information

[PyQt] Missing doc files?

2010-08-15 Thread Peter Milliken
I have PyQt-Py2.6-gpl-4.7.4-1 and was browsing the class documentation and came across references to the following: GUI Design Handbook: Radio Button and Group Box Example but when I attempt to follow either link, I get webpage not found. I looked in c:/Python26/Lib/site-packages/PyQt4/doc/html

[PyQt] Still (apparently) having version issues

2010-08-01 Thread Peter Milliken
I have Python 2.6.2 installed. I have installed PyQt-Py2.6-gpl-4.7.4-1. I have also installed dip-p2-gpl-0.2-snapshot-6de9307b5575. I am attempting the example on p9 of the dip documentation (The Smallest Example). I have typed the code in (as opposed to downloading it) and get the following

[PyQt] Which version of Python does dip REALLY work with?

2010-07-29 Thread Peter Milliken
Hi, I have Mark Summerfield's book on Rapid gui development with Python and Qt and followed the link in Appendix A and found dip. I have Python 2.6.2. The web-site states it works with 2.6, 2.7 and 3.x, I realise it is 0.1 and is bound to have problems, but... First problem after installation