Re: [PyKDE] ?

2000-11-15 Thread Phil Thompson
mark kimsal wrote: I don't see either of the two messages I posted yesterday. Anyways, both Per Gummedal's and Phil Thompson's code didn't work on my system. QObject::connect: No such signal QObject::rightButtonClicked(QListViewItem*,constQPoint,int) QObject::connect: (sender name:

Re: [PyKDE] PyQT build problem on HP-UX 10.2

2000-11-15 Thread Phil Thompson
Michael Sweeney wrote: Hi, I have been trying to build the PyQT source code and keep getting this error: No suffix list. make all-recursive No suffix list. Making all in qt /home/sweeneym/gui/PyQt-2.2/qt Make: line 463: syntax error. Stop. Making all in examples

Re: [PyKDE] more make errors

2000-11-15 Thread Phil Thompson
M K wrote: Here's what I get when I try to compile the latest CVS of PyQt against sip 2.2 and qt 2.2 qstring.sip:495: no matching function for call to `QString::setUnicodeCodes (short unsigned int *, int )' What was the last version you successfully built? What else has changed on your

Re: [PyKDE] Windows Printing Doesn't work with PyQt 2.2 Either

2000-11-11 Thread Phil Thompson
Coy Krill wrote: Just thought I'd give Python 2.0 and PyQt 2.2 a go and see if printing was fixed from the 2.1 release. Unfortunately it's not. I'm still getting the error: PYTHONW caused an invalid page fault in module QT221.DLL at 0187:39d192fb. Not an extremely useful error message

Re: [PyKDE] Pyuic

2000-11-10 Thread Phil Thompson
mark kimsal wrote: There seems to be a bug/feature of pyuic that is a tad bit annoying. When I compile the .ui files I made with QtDeveloper I get errors in all the QSizePolicy function calls. The python outputted file contains lines like this

[PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v2.2

2000-11-06 Thread Phil Thompson
I and theKompany.com are pleased to announce the release of SIP, PyQt and PyKDE v2.2. It is available for download at http://www.thekompany.com/projects/pykde/. Included in this release are... - eric the graphical debugger now works under Windows - addition of QHostAddress, QServerSocket and

Re: [PyKDE] Printing empty QStrings

2000-11-01 Thread Phil Thompson
Johannes Sixt wrote: On Wed, 01 Nov 2000, you wrote: Boudewijn Rempt wrote: print (QString()) None print (QString("")) print (QString("a")) a instead of: print (QString()) Traceback (most recent call last): File "stdin", line 1, in ? File

[PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v2.1 (Python Bindings)

2000-10-18 Thread Phil Thompson
I and theKompany.com are pleased to announce the release of SIP, PyQt and PyKDE v2.1. It is available for download at http://www.thekompany.com/projects/pykde/. Included in this release are... - eric, a graphical debugger written in PyQt (UNIX only at the moment) - pyuic (the PyQt code

[PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v2.1pre1

2000-10-15 Thread Phil Thompson
SIP/PyQt/PyKDE v2.1pre1 is in the usual place at http://www.river-bank.demon.co.uk/software/private/. The differences are... Qt v2.2.1 support Eric the debugger bug fixes - some very obscure ones. I plan the final release soon after the final release of Python 2.0. Phil

Re: [PyKDE] More on GCC 2.96

2000-10-11 Thread Phil Thompson
Jesper Eskilson wrote: When compiling PyQt using 2.96, I get the following error messages: c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.0 -I/usr/local/include/sip -I/usr/local/qt-2.2.1/include -I/usr/X11R6/include -fno-exceptions -O2 -Wp,-MD,.deps/sipqtQWhatsThis.pp -c

Re: [PyKDE] Embeding : C++ Object Visible from Python

2000-09-29 Thread Phil Thompson
Heath wrote: Dear All, I have developed a C++ application using Trolltech's Qt GUI API. I have embedded Python within this application using SIP. I would like to create a MainWindow widget plus various other widgets on the C++ side and then pass their handles over to the Python side.

Re: [PyKDE] Small bug, binding problem and kde2 thought

2000-09-27 Thread Phil Thompson
Philippe Fremy wrote: Hi, I'm working on a small game where I have a bunch of sprites moving around. The sprites are rectangular pixmaps with no mask. So I need to use a QCanvasSprite to "support" them. QCanvasSprite has only one constructor that takes a QCanvasPixmapArray object as

Re: [PyKDE] Where is PyQt manual and Library reference ?

2000-09-21 Thread Phil Thompson
Eiji Katagiri wrote: I have installed PyQt-2.0 and sip-2.0.1, then it works very well. I want to read PyQt manual and Library reference, but I can't find them. Where there is ? PyQt.html.tar.gz in the doc sub-directory. You need to use it with the Qt documentation. Phil

Re: [PyKDE] QPointArray error message

2000-09-21 Thread Phil Thompson
Jesper Eskilson wrote: Try the following program, using PyQt 2.0, sip 2.0.1, qt 2.2.0, and Python 2.0b1: import sys from qt import * point1 = QPoint(42,12) parray = QPointArray([point1]) I get the following error: [1] ackbar:~/fault-demo - python test.py Traceback (most recent

[PyKDE] ANNOUNCE: CVS Access to SIP, PyQt, PyKDE

2000-09-20 Thread Phil Thompson
SIP, PyQt and PyKDE are now available via CVS - go to the Download page (once the web site changes have been published) at http://www.thekompany.com/projects/pykde. Phil ___ PyKDE mailing list[EMAIL PROTECTED]

Re: [PyKDE] sip/PyQt compiling problems

2000-09-18 Thread Phil Thompson
Karolina Lindqvist wrote: I wrote some programs in PyKDE, a while ago, but due to crashes etc. I lost the configuration and now I am trying to compile ANY version of PyKDE that works, but have so far been unsuccessful. It appears to be next to impossible to find any version of PyQT/PyKDE to

Re: [PyKDE] QPushButton behavior

2000-09-17 Thread Phil Thompson
Per Gummedal wrote: When using QPushButton in a C++ program, pressing the spacebar and hitting Enter does the same.(clicked signal). When using QPushButton in python, pressing the spacebar only makes the button pressed. (as a toggle button). Do you have a short program in C++ and Python

Re: [PyKDE] What am I missing?

2000-09-14 Thread Phil Thompson
Donald Beaudry wrote: I just grabbed the v2.0 tar files, unpacked them, and tried to build them on a RedHat 6.2. I started with sip, but the build died quickly. The qt (and friends) I am using are those included with the RedHat 6.2 distribution. Should that work? Included below is the

Re: [PyKDE] import problem with PyQt2.0-pre2

2000-09-12 Thread Phil Thompson
Rob Tandy wrote: On Mon, Sep 11, 2000 at 06:24:09PM +0100, Phil Thompson wrote: An undefined symbol related to sipProxy is usually because SIP has been compiled with Qt support disabled. This happens if the SIP configure script can't find Qt (particularly the header files). Have

Re: [PyKDE] more fixes needed for pyuic - 2.0pre2

2000-09-12 Thread Phil Thompson
Arno Paehler wrote: These, found in PyQt 2.0-pre2/pyuic, need fixing: These have all been fixed (I think). Have a look at http://www.river-bank.demon.co.uk/software/private/pyuic.tar.gz if you want to try the latest version out. Phil ___ PyKDE

Re: [PyKDE] import problem with PyQt2.0-pre2

2000-09-11 Thread Phil Thompson
Rob Tandy wrote: I'm having a problem importing the qt module under PyQt2.0-pre2. Here is my system's setup: debian 2.2 qt 2.2.0 sip 2.0 pre2 PyQt 2.0 pre2 Python 1.5.2 I got qt2.2 from the latest debian packages, and I built sip and PyQt

Re: [PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v2.0pre1

2000-09-10 Thread Phil Thompson
Michael Koch wrote: Hi Phil, me again, I have a little problem with sip-2.0 and friends. ;-) the problem is that I have installed qt-devel AND qt2-devel on standard Mandrake and RedHat systems. qt-devel installs the headers in /usr/include/qt. The headers of QT2.2 are installed in

[PyKDE] ANNOUNCE: SIP/PyQt v0.13pre6 (Windows Support)

2000-09-05 Thread Phil Thompson
v0.13pre6 of SIP and PyQt are in http://www.river-bank.demon.co.uk/software/private/. These are .zip files because the only changes are to add Windows support. If anybody has a Qt license and can test them in the next day or to I'd be grateful for any feedback. I'd particulary like suggestions

[PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v0.13pre5

2000-08-30 Thread Phil Thompson
v0.13pre5 is in the usual place at http://www.river-bank.demon.co.uk/software/private/. The good news... It includes pyuic and the mydialog example provided with Qt Designer seems to work perfectly. The bad news... I've had to change the way enums are implemented - and the change will break

Re: [PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v0.13pre5

2000-08-30 Thread Phil Thompson
Boudewijn Rempt wrote: On Wed, 30 Aug 2000, Phil Thompson wrote: I plan to release v0.13 as soon as possible after Qt 2.2 is released - but if I manage to get Windows support in first I'll go straight to SIP/PyQt/PyKDE v2.0. Any chance that the new QTable widget will be supported

Re: [PyKDE] CVS Access?

2000-08-27 Thread Phil Thompson
Wayne wrote: Is any of PyQt / sip / uic.cpp going to be moved to a publically available cvs repository? This would really simplify having external contributions, and provide a central location where cvs could be used to manage patches, etc. I know, I know, I know. :) The only thing

[PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v0.13pre4

2000-08-18 Thread Phil Thompson
v0.13pre4 is in the usual place at http://www.river-bank.demon.co.uk/software/private/. This version (of SIP) implements support for the Python numeric, sequence and mapping methods. Support for the char * cast operator has been dropped and replaced by the __repr__ method (see the .sip files for

[PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v0.13pre3 (for Qt Designer)

2000-08-17 Thread Phil Thompson
v0.13pre3 is in the usual place at http://www.river-bank.demon.co.uk/software/private/. You can also find pyuic v0.1 there. This version (apart from fixing the build problem against Qt v2.1x) only includes some Qt v2.2x features needed by pyuic... pyuic is a very quick and dirty hack of the uic

Re: [PyKDE] Timeline Question: Qt 2.2?

2000-08-16 Thread Phil Thompson
Wayne wrote: Hi Phil, Trolltech just released a 2.2 preview, as well as making Qt Designer available. Both 2.2 and Designer look extremely good, which leads to my question(s). I notice that you have been actively developing VeePee (strange name btw). Also, on your roadmap, you

[PyKDE] ANNOUNCE: SIP/PyQt/PyKDE v0.13pre2

2000-08-16 Thread Phil Thompson
v0.13pre2 is in the usual place at http://www.river-bank.demon.co.uk/software/private/. This fixes all the problems I am aware of and includes full support for Qt v2.1.1. Substantial parts of SIP have been re-written, so there is plenty of scope for breakage. Phil

[PyKDE] PyQt v0.13pre2 and Qt v2.1+

2000-08-16 Thread Phil Thompson
I suspect I didn't try compiling v0.13pre2 against Qt v2.1. If qtcmodule.cpp fails to compile, just delete the line it's complaining about and carry on. Phil ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

Re: [PyKDE] distributing PyQt programs

2000-08-16 Thread Phil Thompson
Philippe Fremy wrote: Hello, I'm not subscribed to this list (but I'v browsed the archives) so please include my email-adress in replies. I have just developed a small game with PyQt, and now I want to distribute it. But I realise that if I just distribute the .py, people will need

Re: [PyKDE] PyQt, Win32, and tmake

2000-08-09 Thread Phil Thompson
Randy Weems wrote: I just got PyQt-0.12 (and sip-0.12) to build under Win32. It took about a week of playing with it in my spare time, but all-in-all, it was relatively painless. The biggest problem I encountered was the definition of HWND in qwindowdefs.sip. It ultimately typedefs HWND to

[PyKDE] ANNOUNCE: VeePee v0.2 for GNOME and KDE (was Visual Python)

2000-08-02 Thread Phil Thompson
VeePee is aimed at KDE and GNOME application developers and allows you to easily embed Python as a GUI enabled scripting language in your application. It includes KDE and GNOME APIs to manage Python interpreters, scripts and the communications between running scripts and your application.

[PyKDE] Christmas Is Early

2000-07-28 Thread Phil Thompson
I'd just like to publically acknowledge the generosity of Andy Anderson and all at Mechanical Dynamics Inc (http://www.adams.com) for donating a Windows development environment to me. Also the generosity of Trolltech who (with help from Boudewijn Rempt) have donated a copy of Qt for Windows to

[PyKDE] ANNOUNCE: Visual Python v0.1 for KDE and GNOME

2000-07-16 Thread Phil Thompson
This is a bit off topic... Visual Python is aimed at KDE and GNOME application developers and allows you to easily embed Python as a GUI enabled scripting language in your application. It includes KDE and GNOME APIs to manage Python interpreters, scripts and the communications between running

Re: [PyKDE] SIP and PyQT on Windoze

2000-06-04 Thread Phil Thompson
[EMAIL PROTECTED] wrote: I am investigating various libraries and utilities for building a cross platform GUI front end to a complex engineering code. The front end would have very limited distribution due to the nature of the underlying code it will control. Few people have a need to

Re: [PyKDE] Minor changes for Qt 2.1.0 and QGroupBox

2000-05-27 Thread Phil Thompson
Pete Ware wrote: I added the symbol QT_21x as Qt 2.1.0 added some member functions. I also made the updates for qgroupbox's new member functions: columns(), setColumns(), orientation(), setOrientation(),addSpace() It seemed like QT_21x should be a "Secondary" symbol. I took that

Re: [PyKDE] QStringList

2000-04-03 Thread Phil Thompson
Pete Ware wrote: PyQt-0.11. I wanted to use qt.QTextBrowser and setup a Mime source using qt.QMimeSourceFactory.defaultFactory().setFilePath ('some path') Unfortunately, setFilePath() expects a QStringList (I expected a list of strings). Unfortunately, PyQt's QStringList

Re: [PyKDE] QTextBrowser QMimeSourceFactory

2000-04-03 Thread Phil Thompson
Pete Ware wrote: I'm trying to use QTextBrowser but I'm not able to ever change what is currently being displayed. My guess is that PyQt is messing up reference counting. The following script demonstrates the problem. If you run this, you'll get a blank window. If you comment out one of

Re: [PyKDE] [PyQt] PyQt-0.11 build failure

2000-03-29 Thread Phil Thompson
[EMAIL PROTECTED] wrote: gcc-2.95.2 i686-pc-linux-gnu qt-2.1.0beta3 c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python1.5 -I/usr/local/include/sip -I/usr/lib/qt-2.1.0/include -I/usr/X11R6/include -fno-exceptions -O2 -Wp,-MD,.deps/sipqtQWhatsThis.pp -c -fPIC -DPIC sipqtQWhatsThis.cpp

Re: [PyKDE] Problem with both parent() method and QListViewItem

2000-03-02 Thread Phil Thompson
"David C. Morrill" wrote: Hello all: I've been writing a Python program using PyKDE for the last month or so (and luvin' every minute of it...thanks Phil). I was just wrapping up some loose ends prior to releasing it to the world, when I decided to upgrade one of my other systems to

Re: [PyKDE] Problem with both parent() method and QListViewItem

2000-03-02 Thread Phil Thompson
Boudewijn Rempt wrote: On Thu, 2 Mar 2000, Phil Thompson wrote: I hope to release v0.11pre1 in the "next few days" - within a week anyway (depends on how I get on painting the music room goes, and if I can shake this cold). This will not support Qt 2. The purpose of this

[PyKDE] requested free win32 license from troll

2000-02-29 Thread Phil Thompson
Warren Postma wrote: I sent a message to the folks at www.troll.no yesterday, requesting a single free license of QT for Win32 for the purpose of creating a freely available PyQT+a partial PyKDE for Windows as a binary-only distribution. First, it would be good for them because it would let

Re: [PyKDE] Providing help

2000-02-25 Thread Phil Thompson
Pete Ware wrote: Phil, Perhaps you can take some time to set things up so that we can contribute more. Developing a list of specific things you'd like done; setting up a CVS archive; coordinating and sending out patches, etc. In particular, it seems like writing the SIP information for

[PyKDE] Support for Qt v1.x and Qt v2.x

2000-02-25 Thread Phil Thompson
I've asked this of a few people before the mailing list was created... The way things are structured at the moment it is going to be a pain to have PyQt for Qt v1.x and PyQt for v2.x installed at the same time. How important is this to people? Unfortunately Python doesn't have Tcl's ability to

Re: [PyKDE] parent method of QObject

2000-02-24 Thread Phil Thompson
Boudewijn Rempt wrote: Looks a bit like the problem I had with version 0.10: if I subclass a QListViewItem, then add that QListViewItem to a QListView, every time I ask my QListView for my subclassed QListViewItem, I get a QListViewItem: It'll be a few days before I can look at these in

Re: [PyKDE] trying to get PyKDE running on RedHat 6.1

2000-02-24 Thread Phil Thompson
Warren Postma wrote: I tried to install some RPMs for PyQT and PyKDE and got the following error after trying to import qt: # python ... import qt Traceback (innermost last): File "/tmp/PyQt-0.10.1-root/usr/lib/python1.5/qt.py", line 16, in ? import libqtc ImportError:

Re: [PyKDE] QColorGroup

2000-01-16 Thread Phil Thompson
Pete Ware wrote: Here is what I think is going wrong: 0xffaabbcc color_group:|| fg_col || || || || bg_col || || || _|

Re: [PyKDE] IRIX build problems

1999-12-17 Thread Phil Thompson
Randall Hopper wrote: == --1. COMPILE-ERROR == make ... CC -DHAVE_CONFIG_H

Re: [PyKDE] Metaobjects ?

1999-12-17 Thread Phil Thompson
Bradley Schatz wrote: Hi Phil, Thanks for replying.. Any suggestions on how I could get the signature of a method as well? ie the types it returns, and the parameters it expects? No - all of that is buried in the generated C++ code. The only thing that springs to mind is

Re: [PyKDE] Another little big (I think...)

1999-12-07 Thread Phil Thompson
Toby Sargeant wrote: In sipGetThis, there is the code fragment: if (thisObj != NULL) { // sipParseArgs() will decrement the reference count. Py_INCREF(arg); return (sipThisType *)thisObj; } The comment appears

Re: [PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre5

1999-12-06 Thread Phil Thompson
Boudewijn Rempt wrote: On Thu, 2 Dec 1999, Phil Thompson wrote: While this change isn't strictly necessary at this stage, it will be needed for Qt v2's Unicode support - so it's best to get used to it now. It's painful all the same - I guess we have to use self.text=repr

[PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre5

1999-12-02 Thread Phil Thompson
PyQt/PyKDE v0.10pre5 is in the usual place at http://www.river-bank.demon.co.uk/software/private/. I've fixed all the bugs I know about and, unless you find anything new, this will be released later as v0.10 - so this is your last chance. Changes since v0.10pre4... SIP generates the correct

Re: [PyKDE] unimplemented objects

1999-11-23 Thread Phil Thompson
Reiner Wiechert wrote: 2. kapp.appHelpActivated In KDE v1.1.2 this is a private slot. Are you using a later snapshot? No, I'm using 1.1.2 too. This is what KDevelop 1.0beta2 is producing: toolBar()-insertButton(Icon("help.xpm"), ID_HELP_CONTENTS, SIGNAL(clicked() ),

Re: [PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre4

1999-11-22 Thread Phil Thompson
Boudewijn Rempt wrote: I plan one more pre-release, so if there is anything more you'd like to see go into v0.10 then let me know. v0.11 will support Qt v2.x. Great! Have you already decided how to handle the Qt 2.x Unicode strings? I plan to implement QString as a regular class, but

Re: [PyKDE] unimplemented objects

1999-11-22 Thread Phil Thompson
Reiner Wiechert wrote: Hi pykde friends, I've started a new programming project and tried to implement the KDevelop 0.4 output as a PyKDE template. There I found two objects which seems to be unimplemented in PyKDE 0.10pre3. 1. KTMainWindow.memberList It's a static list of all

Re: [PyKDE] nubie, KDE versus Qt alone?

1999-11-21 Thread Phil Thompson
John Mudd wrote: I've used Python and really like it. Now I'm looking to add GUI to some utilities. First I considered Tk but now it sounds like Qt is much better. Great, but here are my questions: I also hear mostly about people using KDE. And KDE is something like a replacement for

[PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre3

1999-11-17 Thread Phil Thompson
I've put v0.10pre3 in the usual place at http://www.river-bank.demon.co.uk/software/private/. There is only one significant change which I think is a good idea, but may cause the odd problem - let me know. In previous versions the Python reference counts of signal and slot objects are

[PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre1

1999-11-06 Thread Phil Thompson
I've put the first pre-release of v0.10 in http://www.river-bank.demon.co.uk/software/private/. The changes from v0.9 are - It should now find Qt on Red Hat systems. - All patches I've sent out against v0.9 are included. - Implemented KAccel. - Implemented qAppName(). - Implemented

[PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre1 (2nd attempt)

1999-11-06 Thread Phil Thompson
I've fixed the symbolic link problem in the versions of PyQt and PyKDE now in http://www.river-bank.demon.co.uk/software/private/. Sorry. Phil

<    1   2   3   4   5   6