Re: C API PyObject_GetAttrString returns not the object I expected

2019-02-10 Thread Phil Thompson
On 10 Feb 2019, at 12:08 pm, Barry Scott wrote: > > After calling PyObject_GetAttrString() I expected to get a PyObject string > back but I found that I had been given a instead. > > (gdb) p *args_o > $4 = > > What is going on and how do I get from the to the object > I > want? The "Str

Re: SIP install error on windows

2016-12-12 Thread Phil Thompson
On 12 Dec 2016, at 7:29 pm, Xristos Xristoou wrote: > > > hello i want to install sip on windows bit using python > 32 bit. > i download sip from this link https://www.riverbankcomputing.com > i try to install from cmd line : > > C:\WINDOWS\system32>cd C:\Users\username\Desktop\sip-4.17 > > C

Re: SIP install error on windows

2016-12-12 Thread Phil Thompson
On 12 Dec 2016, at 7:38 pm, Bob Gailer wrote: > > On Dec 12, 2016 2:30 PM, "Xristos Xristoou" wrote: >> >> >> hello i want to install sip on windows bit using python >> 32 bit. >> i download sip from this link https://www.riverbankcomputing.com >> i try to install from cmd line : >> >> C:\WIN

Re: Qtimer and extra argument

2016-10-26 Thread Phil Thompson
On 26 Oct 2016, at 1:29 pm, luca72 via Python-list wrote: > > I get () missing 1 required positional argument: 's' Sorry, it should have been... lambda: self.metto_testo(testo) Phil -- https://mail.python.org/mailman/listinfo/python-list

Re: Qtimer and extra argument

2016-10-26 Thread Phil Thompson
On 26 Oct 2016, at 10:36 am, luca72 via Python-list wrote: > > Hello i hope that yo can reply to this question also if the argument is pyqt > > i have a simple test: > def start_timer(self): >self.timer = QTimer() >testo = 'pressed' >self.timer.singleShot(1000, self.mett

Re: Python GUI application embedding a web browser - Options?

2016-10-19 Thread Phil Thompson
On 19 Oct 2016, at 11:07 am, Paul Moore wrote: > > I'm looking to write a GUI application in Python (to run on Windows, using > Python 3.5). The application is just a relatively thin wrapper around a > browser - it's presenting an existing web application, just in its own window > rather than

Re: PyQt5, OpenGL, where to start, minimal example code?

2016-10-04 Thread Phil Thompson
On 4 Oct 2016, at 5:57 am, John Ladasky wrote: > > On Monday, October 3, 2016 at 1:30:29 AM UTC-7, Phil Thompson wrote: >> On 3 Oct 2016, at 4:29 am, John Ladasky wrote: > >>> And as you can see: trying to call versionFunctions() is exactly where my >>> pro

Re: PyQt5, OpenGL, where to start, minimal example code?

2016-10-03 Thread Phil Thompson
On 3 Oct 2016, at 4:29 am, John Ladasky wrote: > > On Sunday, October 2, 2016 at 7:21:15 PM UTC-7, blue wrote: >> You have here a PyQt5 Reference Guide >> http://pyqt.sourceforge.net/Docs/PyQt5/index.html >> Some example can be found here 4 and 5 >> http://codeprogress.com/python/libraries/pyqt

ANN: PyQt v5.7 Released

2016-07-26 Thread Phil Thompson
be installed. Source packages and more information can be found at https://www.riverbankcomputing.com/. Phil Thompson -- https://mail.python.org/mailman/listinfo/python-list

Re: PyQt5 not found from Python

2016-02-21 Thread Phil Thompson
On 21/02/2016 3:43 pm, Arie van Wingerden wrote: Python 3.5.1 installed in default Windows folder here: C:\Users\Arie\AppData\Local\Programs\Python\Python35-32 PyQt5 installed - it creates a folder c:\Python34 In the Python REPL i try: from PyQt5 import QtCore Traceback (most recent call l

Re: problem building python 3.5 extensions for windows

2015-09-21 Thread Phil Thompson
On 21 Sep 2015, at 3:00 pm, Robin Becker wrote: > > >> >> The most reported problem trying to build anything on Windows that is Python >> related. >> > . >> >> I'd be inclined to go for the reinstall, painful as that might be. I've >> tried >> finding the batch file as a sep

PyQt v5.5 Released

2015-07-19 Thread Phil Thompson
PyQt5 v5.5 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of The Qt Company's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include

Re: Make standalone gui-enabled app for LINUX

2015-03-05 Thread Phil Thompson
On 05/03/2015 5:31 pm, Mehdi wrote: Hi I know there are tools like cx_freeze or nuitka for making a linux standalone python app. but i couldn't find a good tutorial about how to making a portable gui-enabled python3 app in linux. by gui-enabled i mean application which use any gui libs like pygob

ANN: PyQt v5.4 Released

2014-12-26 Thread Phil Thompson
PyQt5 v5.4 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

Re: python on android: where to start

2014-11-14 Thread Phil Thompson
On 14/11/2014 2:18 pm, maurog wrote: I looked at the newsgroup, but I didn't find recent infos on this topic. On the other side I went lost by looking for this topic with google. So I'm asking you my question, if I want to develop or run some code with python on android, what are the resources t

ANN: PyQt v5.3 Released

2014-05-28 Thread Phil Thompson
PyQt5 v5.3 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

ANN: PyQt v5.2 Released

2014-01-07 Thread Phil Thompson
PyQt5 v5.2 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include full sup

ANN: PyQt5 v5.1 Released

2013-10-02 Thread Phil Thompson
PyQt5 v5.1 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include full supp

Re: Using PyQT with QT Designer

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

Re: Using PyQT with QT Designer

2013-08-23 Thread Phil Thompson
On Fri, 23 Aug 2013 08:00:29 -0500, Michael Staggs 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 pixmaps aren't on th

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. >&

Re: Using PyQT with QT Designer

2013-08-22 Thread Phil Thompson
On Wed, 21 Aug 2013 21:04:47 -0500, Michael Staggs 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 the top > windo

Re: Help. HOW TO guide for PyQt installation

2013-03-20 Thread Phil Thompson
On Wed, 20 Mar 2013 03:29:35 -0700 (PDT), jmfauth wrote: > On 20 mar, 10:30, Phil Thompson wrote: >> On Wed, 20 Mar 2013 02:09:06 -0700 (PDT), jmfauth >> wrote: >> >> >> >> >> >> >> >> >> >> > On 20 mar, 01:12, &qu

Re: Help. HOW TO guide for PyQt installation

2013-03-20 Thread Phil Thompson
On Wed, 20 Mar 2013 02:09:06 -0700 (PDT), jmfauth wrote: > On 20 mar, 01:12, "D. Xenakis" wrote: >> Hi there, >> Im searching for an installation guide for PyQt toolkit. >> To be honest im very confused about what steps should i follow for a >> complete and clean installation. Should i better cho

Re: Is there a graphical GUI builder?

2013-02-20 Thread Phil Thompson
On Wed, 20 Feb 2013 11:42:48 +0100, Roland Koebler wrote: > Hi, > >> > [q] In Qt, it's also possible to generate such flexible layouts. But >> > it's unfortunately not the default way in Qt, and the Qt designer only >> > supports it rudimentarily, and in a much less obvious way. And Qt does >> >

Re: Is there a graphical GUI builder?

2013-02-20 Thread Phil Thompson
On Wed, 20 Feb 2013 10:34:50 +0100, Roland Koebler ... > [q] In Qt, it's also possible to generate such flexible layouts. But > it's unfortunately not the default way in Qt, and the Qt designer only > supports it rudimentarily, and in a much less obvious way. And Qt does > not have such a "conta

ANN: PyQt v4.9 Released (Python bindings for Qt)

2011-12-23 Thread Phil Thompson
PyQt v4.9 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/. PyQt is a comprehensive set of bindings for the Qt application and UI framework from Nokia. It supports the same platforms as Qt (Windows, Linux and MacOS/X). PyQt supports Python v3 and Python v2

Re: installeventfilter

2011-10-11 Thread Phil Thompson
On Tue, 11 Oct 2011 11:57:28 +0200, Vincent Vande Vyvre wrote: > Le 11/10/11 10:39, luca72 a �crit�: > helo i have this form how i can install the event filter: > Class Form(QWidget, Ui_Form): > """ > Class documentation goes here. > """ > def __init__(self, parent = None): > """ > Constru

Re: Help on PyQt4 QProcess

2011-08-20 Thread Phil Thompson
On Fri, 19 Aug 2011 14:32:12 -0700 (PDT), Edgar Fuentes wrote: > On Aug 19, 4:21 pm, Carl Banks wrote: >> On Friday, August 19, 2011 12:55:40 PM UTC-7, Edgar Fuentes wrote: >> > On Aug 19, 1:56 pm, Phil Thompson >> >  wrote: >> > > On Fri, 19 Aug 2

Re: Help on PyQt4 QProcess

2011-08-19 Thread Phil Thompson
On Fri, 19 Aug 2011 10:15:20 -0700 (PDT), Edgar Fuentes wrote: > Dear friends, > > I need execute an external program from a gui using PyQt4, to avoid > that hang the main thread, i must connect the signal "finished(int)" > of a QProcess to work properly. > > for example, why this program don't

Re: International translation of docs - is it a scam?

2011-06-07 Thread Phil Thompson
On 7 Jun 2011 16:27:32 GMT, Peter Pearson wrote: > On Tue, 07 Jun 2011 16:55:28 +0200, Alain Ketterlin wrote: >> Chris Gonnerman writes: >> >>> On the 30th of May, I received an email from a man (I'll leave out his >>> name, but it was properly male) offering to translate the docs for the >>> gdm

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-02 Thread Phil Thompson
On Wed, 02 Feb 2011 10:53:54 +0100, Gelonida Gmail wrote: > Hi Phil, > > On 02/02/2011 09:28 AM, Phil Thompson wrote: >> On Wed, 02 Feb 2011 02:37:06 +0100, Gelonida wrote >> >> In fact my first experiments failed horribly due to a tiny PyQt detail. >>

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-02 Thread Phil Thompson
On Wed, 02 Feb 2011 02:37:06 +0100, Gelonida wrote: > On 02/02/2011 12:31 AM, Gelonida wrote: >> Hi, >> >> I would like to subclass QNetworkAccessManager and >> create a subclass of QWebView, that will use the subclassed >> QNetworkAccessManager for all accesses. >> >> Is this possible? >> I hav

ANN: PyQt v4.8.1 Released

2010-11-01 Thread Phil Thompson
PyQt v4.8.1 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/. PyQt is a comprehensive set of bindings for the Qt application and UI framework from Nokia. It supports the same platforms as Qt (Windows, Linux and MacOS/X). PyQt supports Python v3 and Python

Re: Why is there no platform independent way of clearing a terminal?

2010-07-27 Thread Phil Thompson
On Tue, 27 Jul 2010 16:02:23 +0200, Bruno Desthuilliers wrote: > Daniel Fetchinson a écrit : >> Hi folks, >> >> If I'm only interested in linux and windows I know I can do >> >> >> import os >> import platform >> >> if platform.system( ) == 'Linux': >> clear

Re: PyQt signals/slots dialogs question

2010-06-07 Thread Phil Thompson
On Mon, 7 Jun 2010 08:22:07 -0700 (PDT), AlienBaby wrote: > Hi, > > I'm just starting to get to grips with PyQt, and I'm having a bit of > trouble connecting slots / signals, or understanding how I should do > so to achieve what I am after. > > I am trying to write an application that will displ

Re: problem with QtSignals "object has no attribute 'emit'"

2010-02-14 Thread Phil Thompson
On Sun, 14 Feb 2010 13:17:40 +0100, News123 wrote: > Hi, > > I'm having a rather small code snippet, where I create pyQT signals. > I manage creating a signal as class attribute, > but I can't create a list of signals or a signal > as object.member. > > >> from PyQt4.QtGui import * >> from PyQt

PyQt v4.7 Released

2010-01-21 Thread Phil Thompson
PyQt v4.7 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/. PyQt is a comprehensive set of bindings for the Qt application and UI framework from Nokia. It supports the same platforms as Qt (Windows, Linux and MacOS/X). PyQt supports Python v3 and Python v2

SIP v4.10 Released (Python Bindings Generator)

2010-01-21 Thread Phil Thompson
SIP v4.10 has been released and can be downloaded from http://www.riverbankcomputing.com/software/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. The SIP license is similar to the Python License and is

Re: PyQT 4.6.2 question about radiobuttons

2010-01-14 Thread Phil Thompson
On Thu, 14 Jan 2010 22:09:20 +0100, News123 wrote: > Hi, > > As you wll notice: I don't have a lot of GUI and only very litte > PyQT-experience. > > > I have a UI created with qt designer. > > The UI contains a few named radio buttons in a button group. > ( for example radioButton_one to radio

Re: PyQt QThreadPool error

2010-01-08 Thread Phil Thompson
On Thu, 7 Jan 2010 15:07:10 -0800 (PST), h0uk wrote: ... > Phil you right about app.exec_(). But situation is sligthly different. > > I want to have more than one Job. I add these Jobs into QThreadPool > trough cycle. And I also want these Jobs to run sequentially. > > The following code illu

Re: PyQt QThreadPool error

2010-01-07 Thread Phil Thompson
On Thu, 7 Jan 2010 13:03:24 -0800 (PST), h0uk wrote: > On 8 янв, 01:02, "Diez B. Roggisch" wrote: >> h0uk schrieb: >> >> >> >> > Hello. >> >> > I have the following code: >> >> >             #workers = {} >> >             QtCore.QThreadPool.globalInstance().setExpiryTimeout >> > (30) >> >    

ANN: SIP v4.9 Released (Python Bindings Generator)

2009-09-27 Thread Phil Thompson
SIP v4.9 has been released and can be downloaded from http://www.riverbankcomputing.com/software/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. The SIP license is similar to the Python License and is a

ANN: PyQt v4.6 Released

2009-09-27 Thread Phil Thompson
PyQt v4.6 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/. PyQt is a comprehensive set of bindings for the Qt application and UI framework from Nokia. It supports the same platforms as Qt (Windows, Linux and MacOS/X). PyQt supports Python v3 and Python v2

Re: QFileDialog setFileMode blues

2009-07-29 Thread Phil Thompson
On Wed, 29 Jul 2009 04:35:42 -0700 (PDT), Rincewind wrote: > Heya, > > I am fairly new to Python and even newer to Qt. > The problem is opening a Qt file dialog to select folders only. > QFileDialog has a nice and dandy setFileMode() function just for that. > The only trouble is that I cannot mak

Re: PyQt GUI

2009-07-08 Thread Phil Thompson
On Wed, 08 Jul 2009 11:11:51 +0200, "Diez B. Roggisch" wrote: > Helvin wrote: > >> Hi experts! >> >> I'm developing a GUI for a software using PyQT, and need 3D >> visualization. Should I use PyOpenGL or VTK? >> I understand that the PyQt package comes with a opengl module. What >> else would I

Re: What does Guido want in a GUI toolkit for Python?

2009-06-30 Thread Phil Thompson
On Mon, 29 Jun 2009 16:47:58 -0400, Terry Reedy wrote: > The replacement would need to work with Py 3. TK does. I have not > noticed that anything else does, though that should change eventually. > (And I am sure someone will point of something I have not noticed.) PyQt does. Phil -- http://ma

PyQt v4.5.1 Released (Python bindings for Qt)

2009-06-16 Thread Phil Thompson
PyQt v4.5.1 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/. PyQt is a comprehensive set of bindings for the Qt application and UI framework from Nokia. It supports the same platforms as Qt (Windows, Linux and MacOS/X). The highlights of this release incl

SIP v4.8.1 Released

2009-06-16 Thread Phil Thompson
SIP v4.8.1 has been released and can be downloaded from http://www.riverbankcomputing.com/software/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. SIP is licensed under the Python License and runs on Wi

Changing Hash Values Across Versions

2009-06-11 Thread Phil Thompson
How stable should the implementation of, for example, a string's hash across different Python versions? Is it defined that hash("foo") will return the same value for Python 2.5.1, 2.6.1 and 2.6.2? Thanks, Phil -- http://mail.python.org/mailman/listinfo/python-list

Re: python segfaulting, MemoryError (PyQt)

2009-04-28 Thread Phil Thompson
On Tue, 28 Apr 2009 19:07:30 +0200, "Denis L" wrote: > "Phil Thompson" wrote in message > news:mailman.4699.1240932385.11746.python-l...@python.org... > >> If there was a bug with lambda slots it's been fixed by now. > > I just tried it and I&#x

Re: python segfaulting, MemoryError (PyQt)

2009-04-28 Thread Phil Thompson
On Tue, 28 Apr 2009 17:10:51 +0200, "Denis L" wrote: > "Phil Thompson" wrote in message > news:mailman.4690.1240925876.11746.python-l...@python.org... >> On Tue, 28 Apr 2009 14:54:41 +0200, "Denis L" wrote: >>> "Phil Thompson" wro

Re: python segfaulting, MemoryError (PyQt)

2009-04-28 Thread Phil Thompson
On Tue, 28 Apr 2009 14:54:41 +0200, "Denis L" wrote: > "Phil Thompson" wrote in message > news:mailman.4664.1240907352.11746.python-l...@python.org... >> On Tue, 28 Apr 2009 03:53:34 +0200, "Denis L" wrote: >>> Hello, >>> >&g

Re: python segfaulting, MemoryError (PyQt)

2009-04-28 Thread Phil Thompson
On Tue, 28 Apr 2009 11:18:31 +0200, "Diez B. Roggisch" wrote: >>> As the documentation of pyqt clearly states, connecting signals doesn't >>> increment the refcount on a passed slot, thus >>> you need to keep a reference to your slots around. >> >> But it does increase the refcount for lambda s

Re: python segfaulting, MemoryError (PyQt)

2009-04-28 Thread Phil Thompson
On Tue, 28 Apr 2009 09:35:31 +0200, "Diez B. Roggisch" wrote: > Denis L schrieb: >> Hello, >> >> I'm experiencing odd errors on both windows and linux with the following >> code: >> >> import sys >> from PyQt4.QtCore import * >> from PyQt4.QtGui import * >> >> class Options(QDialog): >> de

Re: python segfaulting, MemoryError (PyQt)

2009-04-28 Thread Phil Thompson
On Tue, 28 Apr 2009 03:53:34 +0200, "Denis L" wrote: > Hello, > > I'm experiencing odd errors on both windows and linux with the following > code: > > import sys > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > class Options(QDialog): > def __init__(self, values): > QDi

Re: PyQt4 - widget signal trouble

2009-04-26 Thread Phil Thompson
On Sun, 26 Apr 2009 14:46:14 +0200, Marco Bizzarri wrote: > On Sun, Apr 26, 2009 at 12:38 PM, Joacim Thomassen > wrote: >> Den Sat, 25 Apr 2009 23:47:57 +0200, skrev Marco Bizzarri: >> >> >> Hello Marco, >> >> python's fcntl() call the regular C fcntl() function and as stated in the >> manual pag

Re: PyQt4 - widget signal trouble

2009-04-24 Thread Phil Thompson
On Fri, 24 Apr 2009 12:37:02 -0500, Joacim Thomassen wrote: > Hello, > > I'm trying to get my first PyQt4 application to work as intended, but it > seems I'm stuck and out of ideas for now. > > The program is a simple GUI showing an image. If the image on disk change > my intension is that the

Re: QT , Wxwidgets are not just UI framework ?

2009-04-20 Thread Phil Thompson
On Sun, 19 Apr 2009 20:32:23 -0700 (PDT), Old Listener wrote: > On Apr 17, 10:20 am, Phil Thompson > wrote: >> On Fri, 17 Apr 2009 07:04:40 -0700 (PDT), Deep_Feelings >> >> >> >> wrote: >> > On Apr 17, 1:52 pm, "Diez B. Roggisch" wr

Re: QT , Wxwidgets are not just UI framework ?

2009-04-17 Thread Phil Thompson
ich GUI-toolkit is the best - >> google >> this group. >> >> However, mostly people agree that Qt is the most powerful, but often was >> debunked because of it's licensing. This has changed to the much more >> liberal LGPL for Qt4.5. >> >> Now it mi

Re: threading in PyQt vs threading in standard library

2009-01-09 Thread Phil Thompson
On Fri, 9 Jan 2009 15:15:28 +0800, "Steven Woody" wrote: > Hi, > > I am considering using PyQt for GUI programs, and I notices that both > of them include threading supports, so which one should I pick up? > Similar also applies 'socket'. I'd recommend using the PyQt versions of both. A signifi

Re: is there really no good gui builder

2008-11-09 Thread Phil Thompson
On 9 Nov 2008 19:08:35 GMT, Duncan Booth <[EMAIL PROTECTED]> wrote: > Phil Thompson wrote: > >>> Thay aren't claiming that Qt itself is governed by the GPL, what they >>> are claiming is that the 'Qt Open Source License' permits you to use it >>

Re: is there really no good gui builder

2008-11-09 Thread Phil Thompson
On Sun, 09 Nov 2008 12:15:42 -0500, Kevin Walzer <[EMAIL PROTECTED]> wrote: > Phil Thompson wrote: > >> >> The only "additional" restrictions are those imposed by the *commercial* >> license. As I said before, those restrictions are intended to discourag

Re: is there really no good gui builder

2008-11-09 Thread Phil Thompson
On 9 Nov 2008 14:40:22 GMT, Duncan Booth <[EMAIL PROTECTED]> wrote: > Ben Finney wrote: > >>> It is a novel interpretation of the GPL. Qt Software have every >>> right to impose this sort of condition, but it makes me want to >>> avoid them. >> >> No, they have no such right to interpret the GPL t

Re: is there really no good gui builder

2008-11-09 Thread Phil Thompson
On 9 Nov 2008 10:46:53 GMT, Duncan Booth <[EMAIL PROTECTED]> wrote: > Mr.SpOOn wrote: > >> On Sun, Nov 9, 2008 at 12:29 AM, Stef Mientki <[EMAIL PROTECTED]> >> wrote: >>> Qt seems to be good, but I don't like their licence. >> >> >> What's the problem with qt licence? > > "You must purchase a Qt

Re: [Novice]Installing eric4 with python 2.6

2008-10-29 Thread Phil Thompson
On Wed, 29 Oct 2008 06:51:10 -0400, Steve Holden <[EMAIL PROTECTED]> wrote: > Saurabh Agrawal wrote: >> Hi, >> >> I am fairly new to python. Coming from a world of IDEs, I wanted a >> fancier one than IDLE. Hence, I downloaded eric4. When I tried to >> compile it, it asked for PyQt4, which I again

Re: Custom PyQt4 TableWidget

2008-08-27 Thread Phil Thompson
On Wed, 27 Aug 2008 09:51:29 -0700 (PDT), ff <[EMAIL PROTECTED]> wrote: >> >> setSelectionMode()? >> >> Phil > > Ive tried that, it does half the job, it stops you selecting more than > one item in the table at any one time but it doesnt stop the top-left > 'thing', How about setCornerButtonEnabl

Re: Custom PyQt4 TableWidget

2008-08-27 Thread Phil Thompson
On Wed, 27 Aug 2008 08:17:43 -0700 (PDT), ff <[EMAIL PROTECTED]> wrote: > I am creating a custom widget based on a PyQt QTableWidget and i want > to stop PyQt highlighting all the cells when the very top-left 'thing' > is clicked, (dont know what to call it, its the bit that sits on the > same row/

Re: Python with Ecmascript

2008-07-05 Thread Phil Thompson
On Sat, 5 Jul 2008 06:28:42 -0700 (PDT), "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > for my Python application (Windows platform) to be standards > compliant, I need to embbed Ecmascript(Javascript) interpreter - I > need to execute plugins written in this language. Which engine is

Re: py2exe, PyQT, QtWebKit and jpeg problem

2008-06-20 Thread Phil Thompson
On Fri, 20 Jun 2008 08:04:57 -0700 (PDT), Carbonimax <[EMAIL PROTECTED]> wrote: > hello > > I have a problem with py2exe and QtWebKit : > I make a program with a QtWebKit view. > If I launch the .py directly, all images (jpg, png) are displayed but > if I compile it with py2exe I have only png ima

ANN: PyQt v4.4.2 Released

2008-05-21 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of PyQt v4.4.2 available from http://www.riverbankcomputing.com/software/pyqt/. This release adds full support for Qt v4.4.0 including the new QtHelp, QtWebKit, QtXmlPatterns and phonon modules. A Windows installer is provided for the GPL v

Re: pyqt4: trouble making custom widget appear in mainwindow

2008-05-04 Thread Phil Thompson
On Sunday 04 May 2008, Lance Gamet wrote: > Hi, > about 3 years ago I did a bit of Qt3 and 4 on C++, now I am trying to do > something in python. > > A QMainWindow subclass as my mainwindow. Its basically a frame with no > widgets of its own. > > Several QWidget subclasses each representing a mode

Re: How is GUI programming in Python?

2008-04-11 Thread Phil Thompson
On Friday 11 April 2008, David Cook wrote: > On 2008-04-10, Paul Rubin wrote: > > Well, it's a trade-off, the person wanted a cross platform gui and the > > #1 hurdle for something like PyQt4 is getting it to work on each of > > the platforms you desire to run on. > > Installing Pyqt on windows in

Re: State of ctypes Support on HP-UX?

2008-04-03 Thread Phil Thompson
On Thursday 03 April 2008, Thomas Heller wrote: > Phil Thompson schrieb: > > On Thursday 03 April 2008, Thomas Heller wrote: > >> Phil Thompson schrieb: > >> > Could somebody confirm how well ctypes is supported on HP-UX (for both > >> > PA-RISC

Re: State of ctypes Support on HP-UX?

2008-04-03 Thread Phil Thompson
On Thursday 03 April 2008, Thomas Heller wrote: > Phil Thompson schrieb: > > Could somebody confirm how well ctypes is supported on HP-UX (for both > > PA-RISC and Itanium) for both Python v2.4 and v2.5? > > > > I don't have access to an HP system and Google doesn

State of ctypes Support on HP-UX?

2008-04-03 Thread Phil Thompson
Could somebody confirm how well ctypes is supported on HP-UX (for both PA-RISC and Itanium) for both Python v2.4 and v2.5? I don't have access to an HP system and Google doesn't come up with a definitive answer (which may just mean it works fine, but prior experience with HP means I'd like more

Re: Using QSystemTrayIcon with PyQt

2008-03-30 Thread Phil Thompson
On Sunday 30 March 2008, Phil Thompson wrote: > On Sunday 30 March 2008, Alex Teiche wrote: > > On Mar 30, 2:08 am, Phil Thompson <[EMAIL PROTECTED]> wrote: > > > On Sunday 30 March 2008, Alex Teiche wrote: > > > > Hello, > > > > > > > >

Re: Using QSystemTrayIcon with PyQt

2008-03-30 Thread Phil Thompson
On Sunday 30 March 2008, Alex Teiche wrote: > On Mar 30, 2:08 am, Phil Thompson <[EMAIL PROTECTED]> wrote: > > On Sunday 30 March 2008, Alex Teiche wrote: > > > Hello, > > > > > > I am pretty new to Python, and have never learned C++. I am trying to &

Re: Using QSystemTrayIcon with PyQt

2008-03-30 Thread Phil Thompson
On Sunday 30 March 2008, Alex Teiche wrote: > Hello, > > I am pretty new to Python, and have never learned C++. I am trying to > implement the following thing into my python application: > > http://doc.trolltech.com/4.3/qsystemtrayicon.html > > Through PyQt. I have been using PyQt for awhile and

Re: Setting the value of one cell in QTableWidget fills everything.

2008-03-28 Thread Phil Thompson
On Friday 28 March 2008, Constantly Distracted wrote: > I've just started PyQt programming and I've run into this little > problem. When I set the text of one cell in my table, all the other > cells fill with that value. ...because you have only created a single QTableWidgetItem instance, rather

Re: Installing PyQt

2008-02-06 Thread Phil Thompson
On Wednesday 06 February 2008, Marcus Strube wrote: > Hi > > I was trying to install PyQt, but things don't work as promised. > > I'm working on OS X 10.5, didn't install another version of Python - > so it's 2.5.1 -, installed the latest "qt-mac-opensource-4.3.3.dmg" > and the latest sip 4.7.3. Bu

Re: PyObject_CallObject code dump after calling 4 times

2008-01-03 Thread Phil Thompson
On Thursday 03 January 2008, grbgooglefan wrote: > I have a following C++ code which uses PyObject_CallObject to evaluate > expressions dynamically. This code sets the input parameters for the > function also dynamically. After calling this function 4 times (with > these shown values), PyObject_Cal

Re: twisted/qt main loop integration [email]

2007-12-22 Thread Phil Thompson
On Saturday 22 December 2007, Anton Tropashko wrote: > Anton Tropashko wrote: > > i can't use qtreactor since it relies on qt bindings lib (GPLed) > > how much work there is to provide an alternative gpl free qtreactor > > equivalent that is suitable for deployment in a commercial app > > and who i

Re: Qt Designer required for PyQt?

2007-11-23 Thread Phil Thompson
On Friday 23 November 2007, Kevin Walzer wrote: > is it possible to write the GUI code for PyQt applications by hand or > is using the Qt Designer an essential part of the process? Coming from a > Tkinter background, with a little exposure to wxPython, I'm very > comfortable and productive writin

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Phil Thompson
On Thursday 01 November 2007, Bart. wrote: > Thursday 01 of November 2007 15:13:55 Phil Thompson napisał(a): > > On Thursday 01 November 2007, cgrebeld wrote: > > > Is it possible for a Qt C++ application, which embeds the python > > > interpreter, to import and use P

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Phil Thompson
On Thursday 01 November 2007, cgrebeld wrote: > Is it possible for a Qt C++ application, which embeds the python > interpreter, to import and use PyQt? There can be only one > QApplication, which is created in the C++ side, so how would I use > that from the python side? QtGui.QApplication.instan

ANN: PyQt v4.3.1 Released

2007-09-28 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of PyQt v4.3.1 available from http://www.riverbankcomputing.co.uk/pyqt/. This is mainly a bug fix release. A Windows installer is provided for the GPL version of PyQt which contains everything needed for PyQt development (including Qt, Qt D

Re: PyQt disconnect signal / slot

2007-09-25 Thread Phil Thompson
On Tuesday 25 September 2007, Alexander Eisenhuth wrote: > Hello PyQt experts, > > do i have to disconnect all signal/slots, after the emitting object is > deleted, or does it the QObject destructor? It's done for you - same as Qt. Phil -- http://mail.python.org/mailman/listinfo/python-list

Re: building a GUI

2007-09-23 Thread Phil Thompson
On Sunday 23 September 2007, stef mientki wrote: > Diez B. Roggisch wrote: > > stef mientki schrieb: > >> Thomas Dybdahl Ahle wrote: > >>> Den Sun, 23 Sep 2007 17:28:38 +0200 skrev stef mientki: > yadin wrote: > > if i were up to make a GUI chich are the advantages of choosing > > pyth

Re: SVG to raster conversion.

2007-09-16 Thread Phil Thompson
On Sunday 16 September 2007, J. Cliff Dyer wrote: > Does anybody know a good solution (preferably in python) for rasterizing > SVG or other vector graphics. > > I'm thinking something like > > vector_image = SVGFile(path_to_image) > raster_image = vector_image.rasterize(format, (width, height), dpi

Re: [PyQt] Help on resizing a custom widget

2007-08-27 Thread Phil Thompson
On Monday 27 August 2007, [EMAIL PROTECTED] wrote: > Ok, here's what's going on. I've just created a custom widget. it > works great. I'm having some trouble, however, figuring out how to > allow the said widget to resize. For example, when I throw the widget > into a new dialog (using Qt Designer)

PyQt v4.3 (Python Bindings for Qt) Released

2007-08-05 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of PyQt v4.3 available from http://www.riverbankcomputing.co.uk/pyqt/. The highlights of this release include: - Full support for Qt v4.3.0. - Partial functions can be used as slots. - Many Qt classes now support the standard Python pickle p

Re: compiling sip on vista

2007-07-26 Thread Phil Thompson
On Thursday 26 July 2007 8:42 am, boriq wrote: > Hi, > > I'm trying to compile sip 4.6 on windows vista. > I have Python 2.5 installed in c:\Python25. > I have Qt 4.3.0 installed in c:\Qt\4.3.0 together with MinGW in c: > \MinGW. > I have environment variable PATH set to c:\Qt\4.3.0\bin;c:\MinGW\bi

Re: QPainter

2007-06-20 Thread Phil Thompson
On Wednesday 20 June 2007 4:44 pm, luca72 wrote: > Hello > using qt3 i do the follow for paint some line in a frame > > gr = QPainter(self.frame3) > gr drawLine(30,10,30,490) > and the line is draw. > > Whit qt4 : > gr = QtGui.QPainter(self.frame3) > #gr.setPen(QtGui.QPen(QtCore.Qt.black, 1, QtCo

Re: Postpone creation of attributes until needed

2007-06-11 Thread Phil Thompson
On Monday 11 June 2007 10:24 am, Frank Millman wrote: > Hi all > > I have a small problem. I have come up with a solution, but I don't > know if it is a) safe, and b) optimal. > > I have a class with a number of attributes, but for various reasons I > cannot assign values to all the attributes at _

Re: qpushbutton

2007-06-06 Thread Phil Thompson
On Wednesday 06 June 2007 9:32 am, luca72 wrote: > hello again > i have another stupid question. > How i can set a qpushbutton invisible? > thanks Luca Call its hide() method. Phil -- http://mail.python.org/mailman/listinfo/python-list

Re: qt doevent

2007-05-31 Thread Phil Thompson
On Thursday 31 May 2007 9:04 am, luca72 wrote: > Hello at all > I try to use qt , but i have problem, i don't find the command like > wx.Yield() in wx or doevent in vb. > Can you tell me the same command in qt QApplication.processEvents() Phil -- http://mail.python.org/mailman/listinfo/python-li

Re: PyQt: Is signal / slot really working across threads?

2007-05-29 Thread Phil Thompson
On Tuesday 29 May 2007 11:58 am, Alexander Eisenhuth wrote: > Hello pyqt users, > > i tried to use signal / slot across threads. With the following example I > want to emit a signal when the thread loop is entered. The connected slot > is never called. Why? > > Any help is very welcome ... > > Ale

Re: Gui thread and async jobs.

2007-05-09 Thread Phil Thompson
On Wednesday 09 May 2007 3:58 pm, Grant Edwards wrote: > On 2007-05-08, king kikapu <[EMAIL PROTECTED]> wrote: > > Hi, i am reading the book "Python Cookbook, 2nd edition" and i > > encountered a very handy recipe, the one that is called > > "Combining GUIs and Asynchronous I/O with Threads" > > >

Re: pyqt4 signal/slot using PyObject* and shortcut

2007-04-27 Thread Phil Thompson
On Friday 27 April 2007 7:05 am, Pradnyesh Sawant wrote: > On 4/27/07, Pradnyesh Sawant wrote: > > Hello, i have the following code: > > # > > import time > > import sys > > from PyQt4 import QtGui, QtCore > > > > class Counter(QtCore.

  1   2   >