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: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 3:16 pm, Pradnyesh Sawant wrote: > Hello, > I have a pyqt4 code in which i'm trying the signal/slot mechanism. The > (stripped) code is as follows: > > class D(QtCore.QThread): > def __init__(self): > QtCore.QThread.__init__(self) > tpl = ("Primary", "p

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 3:41 pm, Diez B. Roggisch wrote: > Pradnyesh Sawant schrieb: > > Hello, > > I have a pyqt4 code in which i'm trying the signal/slot mechanism. The > > (stripped) code is as follows: > > > > class D(QtCore.QThread): > >def __init__(self): > >QtCore.QThread.__ini

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 4:49 pm, Pradnyesh Sawant wrote: > Thanks for the reply Phil. Actually, as mentioned earlier, the code > that i sent was stripped; while stripping, i missed some things (class > D should have a run method). Also, i tried your suggestion of > connecting before emitting the

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 6:34 pm, Pradnyesh Sawant wrote: > > > Also, in the modified code, why aint the method setLabel getting > > > called? > > > > Works for me, > > Does the "setLabel" method get called in your case? In your previous > reply, you mentioned that it doesn't. Can you tell me the

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-27 Thread Phil Thompson
On Friday 27 April 2007 1:20 am, Pradnyesh Sawant wrote: > > In the first version it didn't. In the second version it did. > > in my case, it didn't in the second version either??? > > > The version of PyQt? The version of SIP? The version of Qt? > > python2.4: 2.4.4~c1-0ubuntu1 > pyqt4:

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.

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: 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: 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: 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

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: [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)

Re: qcombobox.findtext and matchflags.matchendswith

2007-03-03 Thread Phil Thompson
On Saturday 03 March 2007 4:52 pm, borntonetwork wrote: > Hi. > > Using the PyQt4 library, I am trying to use the following > function("cbo" is a qtcombobox): > > cbo.findText(searchStr, QtCore.MatchEndsWith) > > If I don't use the "QtCore.MatchEndsWith", the function works > properly, but doesn't

Re: python QT or python-GTK

2007-03-18 Thread Phil Thompson
On Sunday 18 March 2007 9:55 pm, Jon Van DeVries wrote: > ** All the posts found in google are old. I'm assuming new improvements > have been made to both IDEs. ** > > Please correct me if I'm wrong, I'm a newbie. > > 1. Which one of them requires fewer lines to accomplish the same thing? > from w

Re: frame of Qt program

2007-04-02 Thread Phil Thompson
On Monday 02 April 2007 9:45 am, Marco wrote: > Hi, > I want to write a PyQt4 program, which like a graph-ssh. One side > user choose server moder, and other side(s) user choose client mode. > Both of them have a GUI, they can connect via socket. > > I have study PyQt4 for a while and learn a lit

Re: Freeze vs cx_Freeze

2007-04-06 Thread Phil Thompson
On Friday 06 April 2007 9:08 am, mathieu wrote: > Hello, > >I am currently investigating how to distribute a python based > application on a targeted linux system (debian) and so far I only > found two options: > - Freeze (shipped with python dist) > - cx_Freeze (*) > > As far as I understand t

Re: Pyqt programming question

2007-04-12 Thread Phil Thompson
On Thursday 12 April 2007 10:23 am, Marcpp wrote: > I have a program (python + pyqt), with a button I'll would to open a > new dialog window to input text, when press save or ok, this text is > returned to the principal program. > I've seek in internet but i don't find anything. Use QInputDialog.g

Re: Pyqt programming question

2007-04-12 Thread Phil Thompson
On Thursday 12 April 2007 11:07 am, Marcpp wrote: > On 12 abr, 11:48, Phil Thompson <[EMAIL PROTECTED]> wrote: > > On Thursday 12 April 2007 10:23 am, Marcpp wrote: > > > I have a program (python + pyqt), with a button I'll would to open a > > > new dialog wi

ANN: PyQt v4.2 (Python Bindings for Qt)

2007-04-16 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of PyQt v4.2 available from http://www.riverbankcomputing.co.uk/pyqt/. The highlights of this release include: - The ability to write widget plugins for Qt Designer in Python. - Integration of the Python command shell and the Qt event loop.

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: 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: 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

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

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: PyQt4 strangeness

2007-01-23 Thread Phil Thompson
On Tuesday 23 January 2007 10:31 am, Tina I wrote: > I'm trying to 'convert' my self from Qt3 to Qt4 (it rocks!) and one > thing seem strange: > With Qt3 I usually did "from qt import *", but this does not seem to > work with Qt4. I have to use "from PyQt4 import QtGui , QtCore" and also > have to

Re: Missing .dlls when installing PyQt!? :(

2007-01-24 Thread Phil Thompson
On Wednesday 24 January 2007 1:36 pm, [EMAIL PROTECTED] wrote: > Hello! > > I must be doing something wrong here because I'm getting all these > missing .dll messages after installing PyQT. This is what I've done (no > step excluded): > > 1. Fresh installation of Python25 > 2. I run the PyQt-gpl-4.

Re: SWIG overhead

2007-02-01 Thread Phil Thompson
On Thursday 01 February 2007 10:21 am, Bart Ogryczak wrote: > Hi, > I´m looking for some benchmarks comparing SWIG generated modules with > modules made directly with C/Python API. Just how much overhead does > SWIG give? Doing profile of my code I see, that it spends quiet some > time in functions

Re: Linux-Signal VS QT

2007-02-08 Thread Phil Thompson
On Thursday 08 February 2007 3:08 pm, Marco wrote: > Can I use LinuX signal as a tool for commuction with a QT(PyQt4) programme? > > The follow code didNOT work... > > > from PyQt4 import QtCore,QtGui > import signal > import sys > import os > > try: > import psyco > psyco.full() > except:

Re: QPaintDevice: Must construct a QApplication before a QPaintDevice

2007-02-27 Thread Phil Thompson
On Tuesday 27 February 2007 11:09 pm, shredwheat wrote: > When your programs stops with the error, it should also be printing a > stack trace. This is a list of all the functions that have been called > when Python had the problem. > > You shouldn't have to do anything extra to get the stack trace.

Re: QPaintDevice: Must construct a QApplication before a QPaintDevice

2007-02-28 Thread Phil Thompson
On Wednesday 28 February 2007 9:00 am, [EMAIL PROTECTED] wrote: > On Feb 28, 9:07 am, [EMAIL PROTECTED] wrote: > > On Feb 28, 8:56 am, Phil Thompson <[EMAIL PROTECTED]> > > > > wrote: > > > On Tuesday 27 February 2007 11:09 pm, shredwheat wrote: > > >

Re: QPaintDevice: Must construct a QApplication before a QPaintDevice

2007-02-28 Thread Phil Thompson
On Wednesday 28 February 2007 9:26 am, [EMAIL PROTECTED] wrote: > On Feb 28, 10:22 am, Phil Thompson <[EMAIL PROTECTED]> > > wrote: > > On Wednesday 28 February 2007 9:00 am, [EMAIL PROTECTED] wrote: > > > On Feb 28, 9:07 am, [EMAIL PROTECTED] wrote: > > &

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: 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

PyQt 4.0beta1 Released

2006-04-29 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of PyQt v4.0beta1 available from http://www.riverbankcomputing.co.uk/pyqt/. PyQt is a comprehensive set of Qt bindings for the Python programming language and supports the same platforms as Qt (Windows, Linux and MacOS/X). Like Qt, PyQt is av

Re: PyQt 4.0beta1 Released

2006-04-29 Thread Phil Thompson
On Saturday 29 April 2006 1:27 pm, Skink wrote: > Phil Thompson wrote: > > Riverbank Computing is pleased to announce the release of PyQt v4.0beta1 > > available from http://www.riverbankcomputing.co.uk/pyqt/. > > > > PyQt is a comprehensive set of Qt bindings

Re: pyqt v3.* and v4.*

2006-05-02 Thread Phil Thompson
On Tuesday 02 May 2006 1:01 pm, Skink wrote: > Hi, > > Is it possible to have both versions of pyqt (in my case 3.14.1 and 4.0)? Yes - but not that version of PyQt3. > Version 3 is built using sip 4.2.1, version 4 is built using sip 4.4.3 > > When I run pyqt 4.0 (but with installed sip 4.2.1) I g

Re: Scaled Vector Graphics

2006-05-08 Thread Phil Thompson
On Monday 08 May 2006 2:58 pm, Greg Lindstrom wrote: > I have been asked to write a routine to merge documents in pfd and svg > formats into a single file (preferably pfd format). Currently we send the > pdf image to the printer followed by the svg image (a scan of a health care > claim) but this

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: 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: 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: 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: [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: 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: 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 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 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: 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: 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: 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: 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: 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: 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 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 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 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 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

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: 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

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: 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: 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, 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, > > > > > > > >

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: 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

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: 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: 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: 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: 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

ANN: SIP v4.4 Released

2006-03-25 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of SIP v4.4 available from http://www.riverbankcomputing.co.uk/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. Full documentation is available

ANN: PyQt v3.16 Released

2006-03-25 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of PyQt v3.16 available from http://www.riverbankcomputing.co.uk/pyqt/. The main benefit of this release is that it can be installed side by side with the soon-to-be-released PyQt v4 (for Qt v4). Other changes since the last release include

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) >> >    

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

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

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

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

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

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

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

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 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: 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

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

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

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

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

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: 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

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

<    1   2