Re: [PyKDE] build of PyQt-x11-gpl-3.6 fails

2003-06-04 Thread Phil Thompson
On Tuesday 03 June 2003 4:49 pm, Joe Van Andel wrote: With Python 2.2.1 gcc version 3.2.2 sip 3.6 (build 86) Qt-3.1.2 Redhat Linux 9.0 # make cd qt /usr/bin/make -f Makefile make[1]: Entering directory `/nexrad2pc/tmp/PyQt/qt' g++ -c -pipe -w -O2 -D_REENTRANT -fPIC

Re: [PyKDE] sipPQ almost ready

2003-06-04 Thread Phil Thompson
On Tuesday 03 June 2003 5:56 pm, Jonathan Gardner wrote: sipPQ is almost ready for an initial, alpha release. - queries seem to work - copy in/out seems to work - large objects seem to work - notifications seem to work I have the async functions defined, but I am having a bit of trouble

Re: [PyKDE] QAssistantClient and PyQt

2003-06-05 Thread Phil Thompson
On Wednesday 04 June 2003 6:01 pm, Peter Kropf wrote: I'm a bit confused about a problem that I'm having when using QAssistantClient from a Python program. Here's a snippet of the code that I'm using to test things out. import sys from qt import * class LaunchButton( QPushButton ):

Re: [PyKDE] Using SIP to wrap python objects

2003-06-13 Thread Phil Thompson
On Friday 13 June 2003 12:31 am, Rob Knapp wrote: I've found myself in a position where I need to present a python object to a C++ object, and it needs to look like a C++ object. The target application knows nothing of python. What C++ object does it need to look like? Would it be possible

Re: [PyKDE] PyQT Segfault on widget removal.

2003-06-18 Thread Phil Thompson
On Wednesday 18 June 2003 12:37 pm, Henry Kleynhans wrote: Hi all, Ok, the following seems to work ok. # Don't do this # self.myParent.removeChild(self.myChild) self.myChild.deleteLater() del self.myChild Strictly speaking you don't need the del as it doesn't

Re: [PyKDE] QScintilla

2003-06-21 Thread Phil Thompson
On Friday 20 June 2003 7:34 am, Philippe A. Bouchard wrote: Hi, I am having problems compiling QScintilla under MinGW: Creating library file: C:\UNIX\local\lib\libqscintilla.a Editor.o(.text+0xeb3f):Editor.cxx: undefined reference to `Document::FindTextA(int, int, char const*, bool,

Re: [PyKDE] Aligning Text in a Table

2003-06-28 Thread Phil Thompson
On Saturday 28 June 2003 2:10 pm, Simon Edwards wrote: Hi, Thanks for your response. I got lost trying to follow your idea. In the past I have subclassed my own classes and reimplemented methods in order to make changes suiting the subclass. But here I cannot even make the simplest

Re: [PyKDE] QObject.insertChild problems

2003-07-05 Thread Phil Thompson
On Saturday 05 July 2003 10:39 am, Austin Clements wrote: 'Lo. I am implementing a widget that has to layout child widgets in a particular way (similar to a QVBox, but not quite), so I tried overriding the insertChild method, but found that the objects passed to it were always the underlying

Re: AW: [PyKDE] Mixing Qt-App and PyQt

2003-07-07 Thread Phil Thompson
On Sunday 06 July 2003 11:42 pm, Andrew Smart wrote: [EMAIL PROTECTED] wrote: On Thursday 03 July 2003 11:44 am, Andrew Smart wrote: Hi folks, ... Are there some examples around how to pass C++ - Qt-Objects to the PyQt lib? sipMapCppToSelf() should do what you want...

Re: [PyKDE] SIP: wrapper code calls virtual functions with base class prefix

2003-07-09 Thread Phil Thompson
On Tuesday 08 July 2003 12:49 pm, Tore Knabe wrote: Hi, I want to wrap a base class, which serves as an interface, and inherit from this base class in C++. The C++ class, which is not wrapped, overrides the virtual function foo() from the base class. My problem: when I call a factory method

Re: [PyKDE] More 3.7 compile issues

2003-07-09 Thread Phil Thompson
On Wednesday 09 July 2003 4:29 pm, Rob Knapp wrote: I'm currently compiling on a win32 platform and the build process reported that sipBadLengthForSlice was an unknown identifier. The line number provided was line 130 in spi/qstringlist.sip. Make sure you are using SIP v3.7. For the time

Re: [PyKDE] Losing Timers

2003-07-09 Thread Phil Thompson
On Wednesday 09 July 2003 3:06 pm, Miller, Douglas wrote: A problem of losing Timer Events on the Qt interest email archive was solved this way. Set 'qt_win_use_simple_timers' in qapplication_win.cpp to true. The following snippet of code solved it: Q_EXPORT extern bool

Fwd: Re: [PyKDE] Losing Timers

2003-07-09 Thread Phil Thompson
I meant to say, put the following in (for example) qglobal.sip. Phil---BeginMessage--- On Wednesday 09 July 2003 3:06 pm, Miller, Douglas wrote: A problem of losing Timer Events on the Qt interest email archive was solved this way. Set 'qt_win_use_simple_timers' in qapplication_win.cpp to

Re: [PyKDE] Project Management

2003-07-12 Thread Phil Thompson
On Saturday 12 July 2003 1:17 am, Jonathan Gardner wrote: I guess what I really would like to see is sip, PyQt, and PyKDE become more independent of each other. sip, PyQt, and PyKDE are like conjoined triplets. This is happening - in fact it's the cause of the changes in SIP between 3.5 and

Re: [PyKDE] Deploying PyQt Applications

2003-07-21 Thread Phil Thompson
On Monday 21 July 2003 7:08 pm, Peter Kropf wrote: Phil - I've a couple of quick questions. This document seems to imply that you feel sending .so/.dll's with a product built on PyQt would not be a very good thing. Is that true? I've got no view on whether shipping .so/.dll's is a good idea

Re: [PyKDE] Deep copy

2003-07-22 Thread Phil Thompson
On Tuesday 22 July 2003 2:18 am, Vio wrote: Hi, I need to implement copy/cut/paste of whole Pyqt objects. This apparently requires 'deep copies' of a target object: one initial copy used as the 'clipboard' object (my cookie-cutter), then all other copies created by 'deep-copying' the

Re: [PyKDE] Several questions about QTable

2003-07-23 Thread Phil Thompson
On Wednesday 23 July 2003 10:28 pm, [EMAIL PROTECTED] wrote: Vincent wrote: I was using the version of PyQt distributed with SuSE 8.2. I purchased BlackAdder (BA-personal-1.0-1_tkc-gcc32.i386.rpm) but elected not to install their version of PyQt (BAPyQt-1.0-1_tkc_py22_gcc320.i586.rpm) for

[PyKDE] Qt v3.2.0 Support

2003-07-24 Thread Phil Thompson
Tonight's snapshot will include full support for Qt v3.2.0. I haven't got round to looking at any pyuic changes yet. Phil ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] SIP Support for C++ Operators and Exceptions

2003-07-25 Thread Phil Thompson
On Friday 25 July 2003 12:01 am, Tuvi, Selim wrote: Phil, we just tried your suggestion and added a wrapped exception class and enabled the -e flag. Although it does translate the C++ exception to Python properly, it does it a little different than the regular Python exceptions would. In

Re: [PyKDE] SIP Support for C++ Operators and Exceptions

2003-07-25 Thread Phil Thompson
On Friday 25 July 2003 1:51 pm, Paul F. Kunz wrote: On Fri, 25 Jul 2003 09:48:59 +0100, Phil Thompson [EMAIL PROTECTED] said: On Friday 25 July 2003 12:01 am, Tuvi, Selim wrote: Phil, we just tried your suggestion and added a wrapped exception class and enabled the -e flag

Re: [PyKDE] Translation trouble

2003-07-25 Thread Phil Thompson
On Friday 25 July 2003 5:16 pm, Aurélien Gâteau wrote: Hi, Sometimes, the translation of strings in our .ui files are not displayed, the original string is used instead. It seems there's a context problem. According to: http://www.riverbankcomputing.co.uk/pyqt/docs/x163.html (Things to be

Re: [PyKDE] Question regarding packaging.

2003-07-25 Thread Phil Thompson
On Friday 25 July 2003 4:43 pm, Kelley Reynolds wrote: Having just written a nice little pyqt app, what is the best way to get that distributed to windows boxes? Is it really necessary to install a compiler on each machine, compile qt, and install pyqt, or is there an easier way? Use one of

Re: [PyKDE] MacOS X Support?

2003-07-25 Thread Phil Thompson
On Friday 25 July 2003 9:14 pm, Nicholas Burlett wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm currently working on a project that is considering a switch from wxWindows to Qt for the next version. We're already planning on rewriting large portions of the code, so switching

Re: [PyKDE] Properly deleting objects from a QWidgetStack

2003-07-27 Thread Phil Thompson
On Saturday 26 July 2003 9:25 pm, Jacob M. Burbach wrote: On Saturday 26 July 2003 03:22 pm, Jacob M. Burbach wrote: What is the proper way to remove and destroy an object from a QWidgetStack? I tried: object = widgetStack.widget( objectId ) widgetStack.removeWidget( object )

Re: [PyKDE] Properly deleting objects from a QWidgetStack

2003-07-28 Thread Phil Thompson
On Sunday 27 July 2003 10:34 pm, Jacob M. Burbach wrote: On Sunday 27 July 2003 05:04 am, Phil Thompson wrote: On Saturday 26 July 2003 9:25 pm, Jacob M. Burbach wrote: On Saturday 26 July 2003 03:22 pm, Jacob M. Burbach wrote: What is the proper way to remove and destroy an object from

Re: [PyKDE] QWidgetFactory.create and custom python slots

2003-07-28 Thread Phil Thompson
You have created a Python slot. QWidgetFactory knows nothing about Python slots. Phil On Monday 28 July 2003 1:24 pm, Martin Takeo Wiechert wrote: Hi. I'm trying to build a dynamic dialog with QtDesigner. In QtDesigner I've created a main window ('wehner-mainwindow.ui') and added and

Re: [PyKDE] QWidgetFactory.create and custom python slots

2003-07-28 Thread Phil Thompson
Not easily, if at all. Phil On Monday 28 July 2003 4:50 pm, Martin Takeo Wiechert wrote: Is there a way to make it work in Python? Martin. Am Montag, 28. Juli 2003 17:34 schrieb Phil Thompson: You have created a Python slot. QWidgetFactory knows nothing about Python slots. Phil

Re: [PyKDE] pyQt on windows

2003-07-30 Thread Phil Thompson
On Wednesday 30 July 2003 4:40 am, Keith Jones wrote: Hi, I know this is for both PyQt and PyKDE, which implies it's linux oriented, but I've got a question about distributing pyQt on windows. I'm a linux user, and I've got a pyQt application that I would like a friend (who's on windows) to

Re: [PyKDE] Sorry - MacOSX again...

2003-07-31 Thread Phil Thompson
On Thursday 31 July 2003 8:49 am, Rune Hansen wrote: Yes, I know the current state of MacOSX support, but I just had to ask this question. I've successfully compiled and installed qt-mac-free-3.1.2, sip-3.7, pyqt-3.7and Python 2.3 (MacOSX 10.2.6, gcc3.3) Compilation finally went by without

Re: [PyKDE] version numbers in .sip files

2003-08-14 Thread Phil Thompson
On Thursday 14 August 2003 9:15 pm, satish k.chimakurthi wrote: Hello all, I am an absolute newbie to SIP. I started browsing thru the documentation online. I dont' understand the following : %If Version ( - Qt_2_00) I am not able to understand about when exactly I need to use Version

Re: [PyKDE] layout problem with qscintilla

2003-08-14 Thread Phil Thompson
On Monday 04 August 2003 12:31 am, Giaco777 wrote: Hi All, In my application I used QMultiLineEdit so far for capturing some text snippets. Recently I came up with the idea to use QScintilla instead. I was able to integrate it easily but now I have a layout problem which I hadn't when using

Re: [PyKDE] Using sip with embedded Python

2003-08-14 Thread Phil Thompson
On Monday 11 August 2003 9:32 pm, David Boddie wrote: After lots of experimentation, I've come to the conclusion that I'm fundamentally misunderstanding how to use various siplib functions. In particular, I thought I knew how to use the sipMapCppToSelf function, but it appears that the

Re: [PyKDE] Problem building SIP for PyQT

2003-08-19 Thread Phil Thompson
On Tuesday 19 August 2003 8:59 pm, vincent wehren wrote: Hi, I am trying to run build.py for SIP-win-nc-3.8 against QT 3.2.0 mteval320. Win98, Python 2.3 Unfortunately, build.py fails with the message Error: NO Qt libraries could be found in C:\QT\32~0.EV\lib Now, there *are* lib files

Re: [PyKDE] PyEval_RestoreThread Error

2003-08-21 Thread Phil Thompson
On Thursday 21 August 2003 12:05 pm, Michael Andrews wrote: I don't know if this is a Python, Qt, or PyQt issue. I thought I'd start with PyQt and we'll see where it leads. I am trying to build a new Python/Qt environment consisting of: Python 2.3, Qt-3.2.0, sip-3.8, and PyQt-3.8 When I

Re: [PyKDE] QWidgetFactory.create installEventFilter

2003-08-22 Thread Phil Thompson
On Friday 22 August 2003 10:22 am, Andrew Smart wrote: Hi, I'm using pyqt 3.7 with Qt 3.1.2. I try to create dynamically a Dialog out of a ui file and install an eventHandler afterwards. class EventMgr(QObject): def __init__(self): pass def eventFilter(self, object,

Re: [PyKDE] help with PyQt Sip and QT...

2003-08-30 Thread Phil Thompson
On Friday 29 August 2003 8:20 pm, Andrea Pertosa wrote: Hi all, I recently posted this to the tutor python mailing list but someone suggested the PythonKDE mail list too.. so here goes... Thank you for reading this. I assure you I did my part researching the problem that I'm encountering but

Re: [PyKDE] installing PyQT/Windows as normal user

2003-08-30 Thread Phil Thompson
On Wednesday 27 August 2003 1:28 pm, Sascha Silbe wrote: Hi! Is there any way to install the (non-commercial) Windows version of PyQT as a normal user? I need to do some portability tests and only have non-Admin access to a Windows Terminal Server. Both the Python and QT installers work

Re: [PyKDE] Garbage collection of signal/slot association?

2003-08-30 Thread Phil Thompson
On Wednesday 27 August 2003 3:15 pm, Sundance wrote: Hello, Here's a silly question: given two qobjects A and B, and a connection between A.SomeSignal and B.SomeSlot, does the connection get garbage collected upon deletion of either A or B? Just wondering. :) If it doesn't then it's a bug.

Re: [PyKDE] Problem installing PyQT on Windows 2000

2003-09-13 Thread Phil Thompson
On Monday 08 September 2003 7:31 pm, Tony Cappellini wrote: Wehn I installed PyQT 3.7 on a Windows 2000 system, the installer put the installation in a completely different directory than I specified. As a result, it cannot be imported. SO I've tried 3.8nc, and had a similar problem. I've

Re: [PyKDE] signatures for qt-classes?

2003-09-14 Thread Phil Thompson
On Sunday 14 September 2003 10:51 am, holger krekel wrote: hello, i started experimenting with PyQt because i wrote some c++-application years ago with Qt and liked it. However, i am missing two things, mainly docstrings and signature information. While i can imagine that providing

Re: [PyKDE] signatures for qt-classes?

2003-09-15 Thread Phil Thompson
On Monday 15 September 2003 8:11 am, Gerard Vermeulen wrote: On Sun, 14 Sep 2003 12:57:08 -0400 Gordon Tyler [EMAIL PROTECTED] wrote: Phil Thompson wrote: On Sunday 14 September 2003 10:51 am, holger krekel wrote: However, i am missing two things, mainly docstrings and signature

Re: [PyKDE] sip: C++ virtual methods

2003-09-22 Thread Phil Thompson
On Monday 22 September 2003 6:11 am, Patrick Stinson wrote: I've been having a never-ending struggle with virtual methods. It seems that virtual methods wrapped by sip don't always work - that is they actually end up working like non-virtual functions. This isn't consistent, and I've never

Re: [PyKDE] List confusion

2003-09-24 Thread Phil Thompson
On Wednesday 24 September 2003 8:02 am, Derek Fountain wrote: This might be a general Python newbie question. But it's confusing me in a PyQt context. :o) I have a slot in a class which receives a list of images. It adds that list to it's existing list, then sends off a signal saying the

Re: [PyKDE] qglobal.h

2003-09-30 Thread Phil Thompson
On Tuesday 30 September 2003 2:00 am, Roland Schulz wrote: Hey, is there a way to call the functions from qglobal.h (in my case qInstallPath()) through PyQt? Not at the moment, but they can easily be added. Phil ___ PyKDE mailing list[EMAIL

Re: [PyKDE] How to use sip.voidptr to access the data itself

2003-09-30 Thread Phil Thompson
On Tuesday 30 September 2003 8:15 pm, sfang wrote: Hello, Phil, You mean I can not use in python code and had to pass it to another c++ mod like qt.QArray()? or I write a c++ class to deal with it? Write a C++ class - or convert it to an an integer and pass it to something like PIL. PyQt

Re: [PyKDE] Trouble binding code with SIP

2003-10-13 Thread Phil Thompson
On Monday 13 October 2003 5:30 pm, Aurélien Gâteau wrote: Le Lundi 13 Octobre 2003 18:23, Phil Thompson a écrit : That wouldn't make any difference. The %HeaderCode section in a class definition is used to #include all header files needed by that class - normally just the one. I just

Re: [PyKDE] Trouble binding code with SIP

2003-10-13 Thread Phil Thompson
On Monday 13 October 2003 6:00 pm, Aurélien Gâteau wrote: Le Lundi 13 Octobre 2003 18:50, Phil Thompson a écrit : I said put the %HeaderCode section in the class definition. I was also going to say that you probably also need to add a %HeaderCode section to the DolSphinx namespace

Re: [PyKDE] QStyleFactory and setStyle

2003-10-15 Thread Phil Thompson
On Wednesday 15 October 2003 3:13 am, Tuvi, Selim wrote: Before I report it to Trolltech I wanted to get your feedback on this problem. I have a preference option in my application to set the style. When the application initially loads it reads the style preference from the configuration

Re: [PyKDE] event filters

2003-10-15 Thread Phil Thompson
On Wednesday 15 October 2003 5:40 pm, Toby Dickenson wrote: Im not seeing event filters work how I expected. In the following script I am seeing the 'event' line but *never* the 'filter' line. PyQt 3.8, qt 3.1.2, on windows and X. Any ideas? Thanks in advance. from qt import * class

Re: [PyKDE] event filters

2003-10-15 Thread Phil Thompson
On Wednesday 15 October 2003 5:54 pm, Toby Dickenson wrote: On Wednesday 15 October 2003 17:46, Phil Thompson wrote: On Wednesday 15 October 2003 5:40 pm, Toby Dickenson wrote: Im not seeing event filters work how I expected. In the following script I am seeing the 'event' line but *never

Re: [PyKDE] event filters

2003-10-15 Thread Phil Thompson
On Wednesday 15 October 2003 6:52 pm, Toby Dickenson wrote: On Wednesday 15 October 2003 18:14, Phil Thompson wrote: See what happens if you comment out the event() method. No different :-( Thats how it started out, only I wanted confirmation I was sending the event right. It works for me

Re: [PyKDE] PyQT and QPE/Zaurus coding tips

2003-10-16 Thread Phil Thompson
On Thursday 16 October 2003 1:39 pm, Trevor Phillips wrote: Yep, another question (actually, several). Is there anyone else out there actually using pyqt for Zaurus apps development? Firstly, how can I associate an icon with my Widget/App, such that the icon will appear in the Qtopia/Opie

[PyKDE] ANN: SIP v4.0pre1 Released

2003-10-16 Thread Phil Thompson
SIP v4.0pre1 is now available for download from the usual place. You will need a current PyQt snapshot, Qt v3.0.0 or later and Python v2.3 or later. Don't use it for production work. What works... - Modules now follow the rules for Python extension modules. I'm interested in any feedback on

Re: [PyKDE] Segv debugging

2003-10-16 Thread Phil Thompson
containing the Qt library [default $QTDIR/lib] ... bash-2.05b$ On Wednesday 15 October 2003 19:47, Phil Thompson wrote: On Thursday 16 October 2003 4:21 am, Derek Fountain wrote: When getting a segv from a PyQt script, is there a way of getting and using a core dump such that it might provide

Re: [PyKDE] ANN: SIP v4.0pre1 Released

2003-10-17 Thread Phil Thompson
On Friday 17 October 2003 11:47 pm, Rune Hansen wrote: On lørdag, okt 18, 2003, at 00:07 Europe/Oslo, Phil Thompson wrote: On Friday 17 October 2003 10:12 pm, Willard Myers wrote: On Oct 17, 2003, at 16:49, Rune Hansen wrote: $PYTHON/site-packages has these qt files: qt.dylib qtgl.dylib

Re: [PyKDE] ANN: SIP v4.0pre1 Released

2003-10-17 Thread Phil Thompson
On Saturday 18 October 2003 12:28 am, Rune Hansen wrote: On lørdag, okt 18, 2003, at 01:00 Europe/Oslo, Phil Thompson wrote: On Friday 17 October 2003 11:47 pm, Rune Hansen wrote: On lørdag, okt 18, 2003, at 00:07 Europe/Oslo, Phil Thompson wrote: On Friday 17 October 2003 10:12 pm, Willard

Re: [PyKDE] sip-x11-gpl-4.0pre1 and MacOSX

2003-10-19 Thread Phil Thompson
On Sunday 19 October 2003 10:56 am, Rune Hansen wrote: On søndag, okt 19, 2003, at 02:00 Europe/Oslo, Phil Thompson wrote: Thanks for this. A couple of other things for you to try... If you edit qtmod.sip (qtcanvasmod.sip etc) and add -framework Python to the LIBS line in the %Makefile

[PyKDE] PyQt / SIP v4 Snapshots for MacOS/X

2003-10-21 Thread Phil Thompson
I am now creating MacOS/X specific snapshots for PyQT and SIP v4 in the usual place. The current snapshots may even build out of the box - feedback please. Phil ___ PyKDE mailing list[EMAIL PROTECTED]

Re: [PyKDE] PyQt / SIP v4 Snapshots for MacOS/X

2003-10-21 Thread Phil Thompson
On Tuesday 21 October 2003 11:10 am, Ricardo Javier Cardenes Medina wrote: On Tue, Oct 21, 2003 at 09:26:30AM +0100, Phil Thompson wrote: I am now creating MacOS/X specific snapshots for PyQT and SIP v4 in the usual place. The current snapshots may even build out of the box - feedback

Re: [PyKDE] PyQt / SIP v4 Snapshots for MacOS/X

2003-10-21 Thread Phil Thompson
On Tuesday 21 October 2003 1:43 pm, Ricardo Javier Cardenes Medina wrote: On Tue, Oct 21, 2003 at 12:02:58PM +0100, Phil Thompson wrote: It's a bug in my manufacturing process. Add... typedef int Wid; ...to qwindowdefs_mac.sip typedef int WId; did it. Now it complains about

[PyKDE] ANN: SIP v4.0pre2

2003-10-21 Thread Phil Thompson
SIP v4.0pre2 is now available for download at the usual place. With this release there is a separate package for MacOS/X - and there are now PyQt snapshots for MacOS/X. (Note, if you've already downloaded a MacOS/X PyQt snapshot today, get it again just to make sure you've got the latest.)

Re: [PyKDE] PyQt on OS X?

2003-10-22 Thread Phil Thompson
On Wednesday 22 October 2003 7:02 am, Ben Mitchell wrote: Hello, I noticed today that a version of SIP has been released that supports MacOS X, and so I thought I'd try to see if I could get SIP, QT, PyQt, and QScintilla all built and installed on my Mac in the hope that I could run the

Re: [PyKDE] How to test if two PyQt instances wrap the same C++ object?

2003-10-22 Thread Phil Thompson
On Wednesday 22 October 2003 9:19 am, Gerard Vermeulen wrote: Hi, I have difficulty to translate this C++ idiom in Python: bool Plot::eventFilter(QObject *object, QEvent *e) { if ( e-type() == QEvent::Resize ) { const QSize size = ((QResizeEvent *)e)-size(); if (

Re: [PyKDE] How to test if two PyQt instances wrap the same C++ object?

2003-10-22 Thread Phil Thompson
On Wednesday 22 October 2003 11:36 am, Gerard Vermeulen wrote: On Wed, 22 Oct 2003 10:56:33 +0100 Phil Thompson [EMAIL PROTECTED] wrote: On Wednesday 22 October 2003 9:19 am, Gerard Vermeulen wrote: Hi, I have difficulty to translate this C++ idiom in Python: bool Plot

Re: [PyKDE] PyQt on OS X?

2003-10-23 Thread Phil Thompson
On Thursday 23 October 2003 1:45 am, Ben Mitchell wrote: Oops. (Insert sheepish grin here.) Sorry about that. It builds now, but I'm having trouble with the install stage. 'make install' doesn't do anything. In looking at it more closely (and I am *not* a make expert), it seems that the

[PyKDE] Re: event type bug with sip-4-20031024?

2003-10-27 Thread Phil Thompson
On Monday 27 October 2003 7:31 am, Gerard Vermeulen wrote: Hi Phil, The SIP-4 API feels great and I can RECOMMEND sip-4 to newbies because handwritten code is much easier to write. I'm most of the way through adding support for pointers and references to base types (eg. int ) so you won't

Re: [PyKDE] Binding special connect functions

2003-10-27 Thread Phil Thompson
On Monday 27 October 2003 9:07 am, Aurélien Gâteau wrote: Hi list! I'm trying to bind some special connect functions with SIP 3.7. The C++ code looks like this: /-- namespace DolSphinx { void connectVolumeChanged(QObject* object, const char* receiver); } --/ Based on the QTimer sip

Re: [PyKDE] subclassing QListViewItem

2003-10-27 Thread Phil Thompson
On Monday 27 October 2003 5:24 pm, Peter Bienstman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, The following code works as expected: QListViewItem(self.element_list, foo) But now I'm trying to subclass a QListViewItem: class ElementItem(QListViewItem): def

[PyKDE] ANN: SIP v4.0pre3 Released

2003-10-28 Thread Phil Thompson
SIP v4.0pre3 is now available from the usual place. If you are using it to build PyQt you will need a current PyQt snapshot. Changes since v4.0pre2 include... - SIP will now wrap C libraries as well as C++ libraries - automatic support for pointers and references to base types (so much less

Re: [PyKDE] ANN: SIP v4.0pre3 Released

2003-10-29 Thread Phil Thompson
On Tuesday 28 October 2003 11:39 pm, Hans-Peter Jansen wrote: Hi Phil, On Tuesday 28 October 2003 12:31, Phil Thompson wrote: SIP v4.0pre3 is now available from the usual place. If you are using it to build PyQt you will need a current PyQt snapshot. I finally got around updating to SuSE

Re: [PyKDE] Re: newest Version

2003-10-29 Thread Phil Thompson
On Wednesday 29 October 2003 8:38 pm, David Boddie wrote: Apologies to confused readers: this discussion started off-list but now seems an appropriate point to bring it on-list. I hope Roland doesn't mind me using one of his messages as a device to do this. On Wednesday 29 October 2003 07:42,

Re: [PyKDE] sip, was: newest Version

2003-11-01 Thread Phil Thompson
On Saturday 01 November 2003 8:37 am, Roland Schulz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, On Saturday 01 November 2003 00:25, you wrote: On Friday 31 October 2003 9:49 pm, Roland Schulz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, trying

Re: [PyKDE] sip, was: newest Version

2003-11-01 Thread Phil Thompson
On Saturday 01 November 2003 2:14 pm, Roland Schulz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 01 November 2003 13:19, Phil Thompson wrote: On Saturday 01 November 2003 8:37 am, Roland Schulz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey

Re: [PyKDE] disconnecting PYSIGNAL

2003-11-03 Thread Phil Thompson
On Monday 03 November 2003 3:41 pm, Toby Dickenson wrote: On Monday 03 November 2003 14:54, Gerard Vermeulen wrote: On Mon, 3 Nov 2003 10:24:23 + Toby Dickenson [EMAIL PROTECTED] wrote: SIGNAL connections get automatically cleaned up by Qt when the recieving C++ object is

Re: [PyKDE] SIP 4.0pre3 --Questions--

2003-11-04 Thread Phil Thompson
On Tuesday 04 November 2003 7:24 pm, michael ferraro wrote: I have successfully compiled and installed: qt-mac-free-3.2.2 sip-mac-gpl-4.0pre3 PyQt-mac-gpl-snapshot-20031027 on a DUAL 1.4 G4 running Panther the builds all went without a hitch. I tested designer c. and ran a few of the Qt

Re: [PyKDE] Building PyQt as 1 shared library

2003-11-06 Thread Phil Thompson
On Wednesday 05 November 2003 10:57 pm, Peter Kropf wrote: Does anyone know if it's possible to build PyQt so that there is one shared library that contains all the code instead of the 8 (libqtcanvascmodule.so, libqtcmodule.so, libqtextcmodule.so, libqtnetworkcmodule.so, libqtsqlcmodule.so,

Re: [PyKDE] QImageIO class

2003-11-06 Thread Phil Thompson
On Thursday 06 November 2003 10:09 am, david wrote: I would like to write an image into memory but it don't work, QImageIO class don't exist with Qt 3.1.0 and PyQt 3.5 ? from qt import * iio = QImageIO() im = QImage() im = pixmap() //convert to image iio.setImage(im) There doesn't seem

Re: [PyKDE] Python/pystate.c:423: failed assertion `autoInterpreterState'

2003-11-06 Thread Phil Thompson
On Thursday 06 November 2003 4:59 pm, michael ferraro wrote: since upgrading to: qt-mac-free-3.2.2 sip-mac-gpl-4.0pre3 PyQt-mac-gpl-snapshot-20031027 on a DUAL 1.4 G4 running Panther I have been getting this message when I sys.exit() or app.quit() my application. I have not been able

Re: [PyKDE] pb for building

2003-11-08 Thread Phil Thompson
On Saturday 08 November 2003 10:33 am, Franck Collineau wrote: If you are building PyQt for yourself then you should also build SIP for yourself. v3.5 is nearly a year old. Ok Thanks. But it seems I miss Qt base but I dont' find it on Web ! Where can I find it ? Message error when I

Re: [PyKDE] Non disappearing label

2003-11-10 Thread Phil Thompson
On Monday 10 November 2003 5:56 am, Derek Fountain wrote: If I have a frame, inside which I put a label arranged via a vertical layout box, then call this code: contentsFrameLayout = self.contentsFrame.layout() contentsFrameLayout.remove( self.labelWidget ) del

Re: [PyKDE] sip: sip/qtmod.sip:33 parse error

2003-11-11 Thread Phil Thompson
You need current PyQt snapshots for SIP v4. However, I would hold off for a few days until v4.0pre4. Phil On Tuesday 11 November 2003 11:49 pm, Heath Feather wrote: I received the following Error when trying to build PyQt. ** Generating the C++ source

Re: [PyKDE] QImage.bits() should return a string?

2003-11-12 Thread Phil Thompson
On Tuesday 11 November 2003 3:13 pm, Lopez-Gulliver, Roberto wrote: Hi all, From the PyQt docs on QImage : uchar *bits(); The return value is a sip.voidptr object which is only useful if passed to another Python module. I'm using the following (swig-ed) to get the bits

Re: [PyKDE] Qt 3.2.3

2003-11-14 Thread Phil Thompson
On Friday 14 November 2003 3:57 pm, Eron Lloyd wrote: Has anyone built against Qt 3.2.3 yet? I'm setting up a new machine for PyQt development and would like to try the freshest stuff (SIP 4, Python 2.3.2, Qt 3.2.3). That combination should be fine if you are using current snapshots under

Re: [PyKDE] ConvertToSubClassCode

2003-11-18 Thread Phil Thompson
On Tuesday 18 November 2003 7:35 am, Gerard Vermeulen wrote: Hi, My difficulties to translate this C++ idiom to Python: bool Plot::eventFilter(QObject *object, QEvent *e) { if ( e-type() == QEvent::Resize ) { const QSize size = ((QResizeEvent *)e)-size(); if (

Re: [PyKDE] PyQt snapshot-20031115 installation problem

2003-11-19 Thread Phil Thompson
On Wednesday 19 November 2003 10:29 pm, michael ferraro wrote: I have just download: sip-mac-gpl-snapshot-20031116 PyQt-mac-gpl-snapshot-20031115 in order to update from: sip-mac-gpl-4.0pre3 PyQt-mac-gpl-snapshot-20031027 on a Dual G4 (1.42 Mhz) running Panther

Re: [PyKDE] QWidget::event(QEvent *)

2003-11-21 Thread Phil Thompson
On Wednesday 12 November 2003 9:26 pm, Patrick Stinson wrote: what should a python method return from QWidget.event()? Will sip correctly parse a 1 or 0 to a C++ bool inside the wrapping bumble? Yes. At the moment I get TypeError: Invalid result type from QObject.event() Phil

Re: [PyKDE] XML support

2003-11-25 Thread Phil Thompson
On Tuesday 25 November 2003 2:15 am, Eron Lloyd wrote: Hello all, Is anyone doing anything major with the qtxml package? Is XML support in PyQt experimental? Perhaps I would be better to rely on another package for now...I also see the none of the SAX stuff is wrapped or exposed. If qtxml

Re: [PyKDE] ANN: SIP v4.0pre4 Released

2003-11-25 Thread Phil Thompson
On Tuesday 25 November 2003 6:54 am, Oliver Kohlbacher wrote: Hi there, Phil Thompson wrote: 1. I want SIP v4 to be seen as a general tool for building bindings for C and C++ libraries on all platforms - and not just as the tool used to build PyQt. This required the dependency of the old

Re: [PyKDE] internal error building sip4.0pre4

2003-11-25 Thread Phil Thompson
On Tuesday 25 November 2003 3:14 pm, michael ferraro wrote: 1. -- FIRST TRY -- python configure.py -l qt-mt -p macx-g++ Error: specs/macx-g++: environment variable 'TB' is not defined. That's odd as macx-g++ is the default platform if Python reports sys.platform as darwin, so your first

[PyKDE] The Very Last SIP v4 Bug

2003-11-25 Thread Phil Thompson
There has been a bug in SIP v4 that often manifests itself as an exception underlying C/C++ object has been deleted. I have been able to trigger it by dragging the gun barrel around in tut14.py. I think that the bug reports on the list from Gerard, Torsten and Pete are manifestations of the

Re: [PyKDE] ANN: SIP v4.0pre4 Released

2003-11-25 Thread Phil Thompson
On Monday 24 November 2003 3:25 pm, michael ferraro wrote: Just to confirm: I should download sip-mac-gpl-4.0pre4.tar.gz from download/sip PyQt-mac-gpl-snapshot-20031123.tar.gz from download/snapshot/PyQt Yes, if you have a Mac. or am i

Re: [PyKDE] internal error building sip4.0pre4

2003-11-25 Thread Phil Thompson
On Tuesday 25 November 2003 7:41 pm, michael ferraro wrote: sorry to be such a pest but ... sip-x11-gpl-snapshot-20031124 now builds and installs fine but I run into trouble with: PyQt-mac-gpl-snapshot-20031123 [Wheezer:/Developer/PyQt-mac-gpl-snapshot-20031123] mef% !py

Re: [PyKDE] The Very Last SIP v4 Bug

2003-11-26 Thread Phil Thompson
On Wednesday 26 November 2003 6:27 pm, Torsten Marek wrote: Phil Thompson schrieb: There has been a bug in SIP v4 that often manifests itself as an exception underlying C/C++ object has been deleted. I have been able to trigger it by dragging the gun barrel around in tut14.py. I think

Re: [PyKDE] PyQt/Sip-Mac QSocket() Bus error

2003-11-26 Thread Phil Thompson
On Wednesday 26 November 2003 12:11 pm, Rune Hansen wrote: Hi, this may be premature - I don't know how much of PyQT/Sip Mac that are supposed to work at the moment. In theory, everything should work. I have, however, successfully installed Qt3.2.3/Mac, the latest Sip-mac and PyQt-mac

Re: [PyKDE] XML support

2003-11-26 Thread Phil Thompson
On Wednesday 26 November 2003 9:51 pm, Eron Lloyd wrote: On Tuesday November 25 2003 1:15 pm, Phil Thompson wrote: On Tuesday 25 November 2003 2:15 am, Eron Lloyd wrote: Hello all, Is anyone doing anything major with the qtxml package? Is XML support in PyQt experimental? Perhaps I

[PyKDE] Re: sip-4 vs sip-3

2003-12-01 Thread Phil Thompson
On Monday 01 December 2003 7:34 am, Gerard Vermeulen wrote: Phil, In developing PyQwt, I use two tricks to minimize the build time after fixing bugs or adding new methods: (1) 'smart' copying of sip's output from a buffer directory to the source directory (only copy when two sip output

Re: [PyKDE] Re: sip-4 vs sip-3

2003-12-01 Thread Phil Thompson
On Monday 01 December 2003 11:45 am, Gerard Vermeulen wrote: On Mon, 1 Dec 2003 07:50:52 + Phil Thompson [EMAIL PROTECTED] wrote: On Monday 01 December 2003 7:34 am, Gerard Vermeulen wrote: Phil, In developing PyQwt, I use two tricks to minimize the build time after fixing

Re: [PyKDE] Re: sip-4 vs sip-3

2003-12-02 Thread Phil Thompson
On Monday 01 December 2003 8:54 pm, Gerard Vermeulen wrote: On Mon, 1 Dec 2003 19:26:13 + Phil Thompson [EMAIL PROTECTED] wrote: Ok - I could fix it for names, because names aren't shared between modules. (At one point they were which is how they acquired numerical names

Re: [PyKDE] Re: PyQT snapshot 20031123 configure.py error

2003-12-02 Thread Phil Thompson
On Tuesday 02 December 2003 3:43 pm, michael ferraro wrote: I tried the 20031202 snapshot for sip and still had the same error Checking to see if the qtgl module should be built... c++: AGL: No such file or directory I printed out the build command and it seems that the -framework

Re: [PyKDE] news about non-commercial license

2003-12-07 Thread Phil Thompson
On Sunday 07 December 2003 1:00 am, david wrote: Dear all, Here is news from trolltech site (http://www.trolltech.com/download/qt/noncomm.html) : Qt NON-COMMERCIAL EDITION FOR MICROSOFT WINDOWS * We have decided to discontinue the Qt non-commercial edition from downloading. This

  1   2   3   4   5   6   7   8   9   10   >