[PyKDE] Re: Learning C++

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 13 August 2003 08:12, Frederick Polgardy Jr wrote: > > Anyway, I've rambled on enough. Hopefully someone will find a point > in there somewhere. :) > I think your point is that learning C then C++ would make a horrible Object Oriented P

Re: [PyKDE] Re: Learning C++

2003-08-14 Thread Paul F. Kunz
> On Wed, 13 Aug 2003 09:03:27 -0700, Jonathan Gardner <[EMAIL PROTECTED]> said: > My only point was that learning C++ is easier after learning C. I > was hoping he would develop the skills to read and understand all > forms of C and C++, not necessarily the skills to write C++. I've taugh

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Tom Badran
On Wednesday 13 Aug 2003 15:16, Yannick Gingras wrote: > The Qt doc is in XML format, we could take the automagically generated > output and apply a big XSLT stylesheet... hmmm xslt .. You just made me realise i havent used xslt for over a year. Ill have a look at the xml and see if th

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Michael Lauer
> I think the best place to start for C++ is C. You can pick up any good > book on C and you will probably have all the fundamental concepts in a > few hours. Pointers might take some more time, but once you get them > you are good to go. Ugh! Please don't advice people wanting to learn C++ to

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Tom Badran
On Wednesday 13 Aug 2003 14:51, Jonathan Gardner wrote: > I think those of us who are PyQt/PyKDE programmers really need to pick > up at least the fundamental concepts of C++. We can't understand the Qt > or KDE documentation unless we do. Maybe one day, someone will write a > duplicate set of docu

[PyKDE] Re: final build.py cleanups

2003-08-14 Thread Hans-Peter Jansen
[CC'ed the list also, because of Jonathans latest build patch] Dear Jim, okay, let's go through it again. But please apply it this time. If you apply this, I owe you another patch for the README. This build.py features: - some syncing with PyQt's current build.py: - global global cleanup

Re: [PyKDE] Re: final build.py cleanups

2003-08-14 Thread Jim Bublitz
On Saturday August 9 2003 15:47, Hans-Peter Jansen wrote: >- concat splitting helps with memory constraints without > loosing advantages of concat builds (again) Sounds cool - I'm interested in looking at this. >- command line switches for lib64 builds > (untested, but should wo

Re: [PyKDE] build.py issues, WAS: PyKDE 3.7 on Mandrake

2003-08-14 Thread Hans-Peter Jansen
Hi Simon, On Sunday 10 August 2003 15:04, Simon Edwards wrote: > Hello all, > > I just managed to build a RPM of PyKDE for Mandrake 9.1 with a big > helping of Hans-Peter's patches. :-) > It was fairly involved since first I had to make RPMs of sip 3.7, and > then update the PyQT RPMs and build,

Re: [PyKDE] PyKDE build fails on kio with KDE-3.1.1

2003-08-14 Thread Jacob M. Burbach
Thanks Jim, that fixed it. ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[PyKDE] Sending an argument to a function with a button click

2003-08-14 Thread Christian Bird
I've found a solution that works for me when I have similar problems. The issue is that the connect function call needs to take a callable object and self.printMessage("Testing") returns None (which is not a callable object). You want the call to evaluate at signal time and not at connect time

Re: [PyKDE] PyKDE on Debian

2003-08-14 Thread Ricardo Javier Cardenes Medina
On Sat, Aug 09, 2003 at 08:50:15AM -0500, Peter Clark wrote: > what I really had was a mix; python2.2-qt3c102 was 3.7, but python-qt3 and > python-qt-dev were 3.5. Once I upgraded those two and recompiled, PyKDE > worked fine. (Also, pyqt-tools was at 3.5, but this didn't matter.) Would it > be

[PyKDE] PyKDE-3.7-2 Available

2003-08-14 Thread Jim Bublitz
PyKDE-3.7-2 is available for download at: http://sourceforge.net/projects/pykde This release fixes the problems with uncommented 'virtual_hook' methods exposed in a few sip files which was causing errors on some platforms. If you've downloaded PyKDE-3.7-1, you can see my response for an easy f

[PyKDE] Incredibly early heads up on something that might exist someday :-)

2003-08-14 Thread Steve Simmons
At the recent TCL 2003 conference we discussed some possible strategies to lower conference costs, ease the running of same, and provide some more advancement for tk, the tcl/python/perl/ruby/etc GUI toolkit. We decided to try and pull together a joint scripting languages conference that would pro

Re: [PyKDE] Sending an argument to a function with a button click

2003-08-14 Thread Andrew Bushnell
This idea sounds good. Another alternative that might work would be to put all the buttons in a QButtonGroup and connect to the clicked(int) slot of the buttonGroup. Each button is assigned an ID starting at 0 (I believe) as you add them to the group, or you can insert them yourself, passing an

Re: [PyKDE] sip - how to get around member function templates?

2003-08-14 Thread Phil Thompson
On Tuesday 05 August 2003 7:05 pm, Sato, Kristine wrote: > Hello, > > > > I want to use sip on a class which uses member function templates. Any > suggestions on the best approach? > > > > Here's a snippet from the class - the SetValue() and GetValue() member > functions are the problematic ones! >

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Steve Simmons
On Wed, Aug 13, 2003 at 08:53:45PM +0200, Simon Edwards wrote: > When it comes to programmers and OO languages that's the real problem. Few > programmers truly grok the zen of OO (love that phrase). It would be even better if talking about object-oriented modelling. -- "I don't like being quote

Re: [PyKDE] PyKDE 3.7 on Mandrake

2003-08-14 Thread Richard Jones
On Sun, 10 Aug 2003 11:04 pm, Simon Edwards wrote: > * If anyone wants to try out my (collection of) RPMs, I can put it all up > on a website. Please. I don't have the time to re-visit the repackaging of Qt that I did last time :( Richard pgp0.pgp Description: signature

Re: [PyKDE] Problems compiling PyKDE

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 09 August 2003 19:07, Jim Bublitz wrote: > On Saturday August 9 2003 17:46, Peter Clark wrote: > > On Saturday 09 August 2003 07:41 pm, Jonathan Gardner wrote: > > > g++ -shared -Wl,-soname,libkdecorecmodule.so.1 -o > > > libkdecorecmodule.

Re: [PyKDE] Qt3/PyQt and MS Windows

2003-08-14 Thread Phil Thompson
On Tuesday 05 August 2003 1:17 pm, Lars Kirkhus wrote: > Hello there. I've got some questions about running Qt and PyQt on > Windows that I hope some of you might help me with. > > Currently I'm working on an open source project which is using Qt/PyQt, > Qt 3.1.1 atm, for GUI rendering. It is up an

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Tom Badran
On Wednesday 13 Aug 2003 15:24, Yannick Gingras wrote: > On Wednesday 13 August 2003 10:16, Yannick Gingras wrote: > > The Qt doc is in XML format, we could take the automagically generated > > output and apply a big XSLT stylesheet... > > My mistake, only the index is in XML format... oh well ..

[PyKDE] Eric snapshot RPMs for Redhat 9

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've put some eric RPMs up at sourceforge for Redhat 9. http://sf.net/projects/pykde Many thanks to Detlev for putting so much work into Eric! - -- Jonathan Gardner [EMAIL PROTECTED] Live Free, Use Linux! -BEGIN PGP SIGNATURE- Version: GnuP

[PyKDE] Re: Reasonig KDE version fix (kdelibs 3.1.3)

2003-08-14 Thread Jim Bublitz
On Monday August 11 2003 02:58, Mateusz Korniak wrote: > On Friday 08 of August 2003 20:30, you wrote: > > On Friday August 8 2003 10:42, Mateusz Korniak wrote: > > > /usr/X11R6 is the KDE base directory. > > > /usr/X11R6/include contains kdeversion.h. > > > KDE 3.1.2 is being used. > > > ^

[PyKDE] Problems compiling PyKDE

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm getting some really strange results from qmake. I'm running Red Hat 9, with the PyQt and sip modules I made and uploaded to Sourceforge for sip/PyQt 3.7. Sometimes it segfaults (build.py with -c- option): Generating the C++ source for the dcop m

Re: [PyKDE] More documention?

2003-08-14 Thread Larry Wright
DISCLAIMER: I'm biased. I work for theKompany part time. That said, you may want to check out PyQtDoc: http://www.thekompany.com/products/pyqtdoc/ It's quite good. I use it regularly, and find it indispensible. On Tuesday 05 August 2003 04:02 pm, Peter Clark wrote: Between the example

[PyKDE] PyKDE 3.7 update

2003-08-14 Thread Jim Bublitz
The Bad News: === There are a few small errors in PyKDE-3.7-3 that ONLY affect KDE3.1.3, the first being you can't actually build PyKDE for KDE3.1.3 (it builds for KDE3.1.2 instead, which isn't really a problem - it still runs under KDE3.1.3). If you could build against KDE3.1.3, you'd

[PyKDE] PyKDE - missing classes (kfile) fixed

2003-08-14 Thread Jim Bublitz
One of the nice things about open source is you get to embarass yourself in front of lots of people. The error in the kfile module described elsewhere was *MY* error - I left in some processing that was needed with sip 3.5 but was fixed in later versions. To repair the problem, all you need to

Re: [PyKDE] Problems compiling PyKDE

2003-08-14 Thread Jim Bublitz
On Saturday August 9 2003 17:46, Peter Clark wrote: > On Saturday 09 August 2003 07:41 pm, Jonathan Gardner wrote: > > g++ -shared -Wl,-soname,libkdecorecmodule.so.1 -o > > libkdecorecmodule.so.1.0.0 kdecorehuge.o > > moc_sipkdecoreProxykdecore.o -L/usr/lib/qt-3.1/lib > > -L/usr/X11R6/lib -L/usr/li

Re: [PyKDE] PyKDE - almost

2003-08-14 Thread Simon Edwards
Hello, > > because I test against multiple distributions (or would if I could > > get Mandrake to work and not just RH and SuSE) and multiple versions > > of distributions. gcc, Python, etc. The problems that arise > > otherwise are similar to what I wasted an hour on tonight - I > > test-built ag

[PyKDE] Errors with autotest.py

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I got this as a result from autotest.py (in hte PyKDE-examples RPM I just built.) Just thought you might want to see what went wrong. I am looking into this now. - -- Jonathan Gardner [EMAIL PROTECTED] Live Free, Use Linux! -BEGIN PGP SIGNATUR

Re: [PyKDE] PyKDE on Debian

2003-08-14 Thread Peter Clark
On Saturday 09 August 2003 07:26 am, Ricardo Javier Cardenes Medina wrote: > On Fri, Aug 08, 2003 at 03:20:35PM -0700, Jim Bublitz wrote: > > I think Ricardo has 3.6 or 3.7 versions of sip and PyQt packaged > > for Debian. > > PyQt 3.7 is the default if he's using the unstable branch right now. If

Re: [PyKDE] PyKDE-3.7-2 Available - kiocmodule fails to buld (kdelibs 3.1.3 )

2003-08-14 Thread Mateusz Korniak
On Friday 08 of August 2003 09:41, Jim Bublitz wrote: > PyKDE-3.7-2 is available for download at: Great thanks , Jim ! > http://sourceforge.net/projects/pykde I get single error: make[1]: Wchodzę do katalogu `/home/users/matkor/rpm/BUILD/PyKDE-3.7-2/kio' g++ -c -pipe -w -O2 -march=i686 -D_REEN

Re: [PyKDE] pyqt and python 2.3

2003-08-14 Thread Patrick Stinson
the backspace '\' character needs to be prepended with another one. you should use c:\\cygwin\\bin\\make.exe instead. On Saturday 09 August 2003 10:12, Phil Thompson wrote: > On Sunday 03 August 2003 11:49 pm, Alexander Eberts wrote: > > Hi all, > > > > Is there (or will there be) a windows bina

Re: [PyKDE] PyKDE on Debian

2003-08-14 Thread Jim Bublitz
On Friday August 8 2003 12:34, Peter Clark wrote: > This is just to relate my experience building PyKDE (3.7-3) on > Debian (unstable). Assuming that PyQt is already installed, > the only additional packages you should require are: > > apt-get install sip python2.2-sip-dev libdcopc1 libdcopc-

Re: [PyKDE] PyKDE-3.7-3 Available

2003-08-14 Thread Frederick Polgardy Jr
On Friday 08 August 2003 20:42, Jim Bublitz wrote: > I can be replaced by a machine. Jim, you are surely the most humble programmer I've ever seen. :) Fred ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykd

Re: [PyKDE] sip - how to get around member function templates?

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 05 August 2003 11:05, Sato, Kristine wrote: > > I want to use sip on a class which uses member function templates. Any > suggestions on the best approach? > Just give it a try. If it doesn't work, let us know. I would imagine that it would

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Yannick Gingras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 13 August 2003 10:16, Yannick Gingras wrote: > The Qt doc is in XML format, we could take the automagically generated > output and apply a big XSLT stylesheet... My mistake, only the index is in XML format... - -- Yannick Gingras Byte G

pyqt@riverbankcomputing.com

2003-08-14 Thread Tom Badran
On Wednesday 13 Aug 2003 19:53, Simon Edwards wrote: > Some people still don't understand the difference (importance!) between an > interface and an implementation. Which is why java is a fairly good choice of language to teach OO concepts as it explicitly has the 'interface' keyword, and from th

[PyKDE] Re: Learning C++

2003-08-14 Thread Frederick Polgardy Jr
On Wednesday 13 August 2003 11:03 am, Jonathan Gardner wrote: > I think your point is that learning C then C++ would make a horrible > Object Oriented Programmer. I go one step further -- C++ is a > horrible language for anything OO. Maybe I'm in the minority on this one (perhaps because I haven't

[PyKDE] PyKDE update 200308011

2003-08-14 Thread Jim Bublitz
I'm rapidly losing track of all the things I need/want to do, so it's shorter just to list the things that are actually happening. The problems with kfile (thread: PyKDE-3.7-3, things missing in this version...?) are being worked on - Phil says it's a really bizarre problem and I believe it. T

[PyKDE] Mail problem

2003-08-14 Thread Jim Bublitz
I seem to be screwing up the threading on the list (at least I am on my system). The reason is the headers on list messages are getting screwed up - there's a Return-Path for the sender that "overloads" the list's Return-Path, so I need to manually add the list address (which I usually forget t

pyqt@riverbankcomputing.com

2003-08-14 Thread Simon Edwards
Hi all, On Wednesday 13 August 2003 17:12, Frederick Polgardy Jr wrote: > To make things even more interesting, there are "paradigm"-differences > which are more the result of different levels of programming, than to > differences in what a language allows or encourages. Let me > illustrate.

[PyKDE] PyKDE 3.7 RPMs on Sourceforge

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As we speak, I am putting the PyKDE 3.7 RPMs on Sourceforge. http://sf.net/projects/pykde Please download them and test them. Report errors to this list. - -- Jonathan Gardner [EMAIL PROTECTED] Live Free, Use Linux! -BEGIN PGP SIGNATURE- Ve

Re: [PyKDE] Problems compiling PyKDE

2003-08-14 Thread Hans-Peter Jansen
Dear Jonathan, please note my message: Re: final build.py cleanups, where I tackled this problem also. My current PyKDE RPM was build as a user, a.k.a. BuildRoot enabled. Have a look into that .spec. Cheers, Pete On Monday 11 August 2003 16:50, Jonathan Gardner wrote: > > I've thought about th

[PyKDE] plotting lot of line.

2003-08-14 Thread William Famy
Hi. This is my problem: i have to plot in a windows a lot of line between point. my file is like this 2 5.5 -1 1.5 ... i have to plot line between (0,0) and (1,2) (1,2) anfd (2,7.5) ... i have more than 80 000 point to join each other with line. My probleme is to allow my windows to scroll Hori

[PyKDE] PyKDE-3.7-3, things missing in this version...?

2003-08-14 Thread Jacob Burbach
Is my installation just broken or are their things missing this go around? Namely the two big ones are, KURLRequester, and all the "get" methods of KFileDialog, ie; getOpenFileName, getExistingDirectory, etc.., basically everything that made it useful =-|. So is just me, or is something not ri

[PyKDE] version numbers in .sip files

2003-08-14 Thread satish k.chimakurthi
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" while writing ".sip" file...And how should I choose the numerals

Re: [PyKDE] Listbox returns dictionary key?

2003-08-14 Thread Gordon Tyler
On August 7, 2003 12:13 am, Peter Clark wrote: > Ah-ha! I actually tried that, but I made a mistake; on the analogy of > "selected(int)", I tried omitting the "QString &" part. So is it only safe > to omit "index"? The documentation has the following: > > void selected ( int index ) > void se

Re: [PyKDE] PyKDE-3.7-3 Available

2003-08-14 Thread Jim Bublitz
On Friday August 8 2003 15:29, Jonathan Gardner wrote: > On Friday 08 August 2003 14:30, Jim Bublitz wrote: > > On Friday August 8 2003 13:03, Jonathan Gardner wrote: > > > I'm not sure if you are familiar with the diff-patch > > > method. I've sort of got a handle on it. I am sure someone > > > ou

Re: [PyKDE] Problems compiling PyKDE

2003-08-14 Thread Peter Clark
On Saturday 09 August 2003 07:41 pm, Jonathan Gardner wrote: > g++ -shared -Wl,-soname,libkdecorecmodule.so.1 -o > libkdecorecmodule.so.1.0.0 kdecorehuge.o moc_sipkdecoreProxykdecore.o > -L/usr/lib/qt-3.1/lib > -L/usr/X11R6/lib -L/usr/lib/python2.2/site-packages -L/usr/lib -lsip > -lqtcmodule -lDC

Re: [PyKDE] Line numbers in TextEdit box?

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 12 August 2003 11:38, Peter Clark wrote: > > Since the only "difficult" part is understanding C++ (which, as I > have stated before, I know next to nothing about), I was actually > hoping that some kind soul had already done so, but af

Re: [PyKDE] Line numbers in TextEdit box?

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 12 August 2003 08:52, Peter Clark wrote: > Question: is it possible to implement in PyQt something similar to > QScintilla's line number bar (a grey strip with the line numbers in a > TextEdit box)? I was looking at eric3's code, but that ju

[PyKDE] PyKDE Release on SourceForge

2003-08-14 Thread Jim Bublitz
It looks like Phil is on holiday - no postings and hasn't updated riverbank - so I've uploaded the PyKDE release to SourceForge. http://sourceforge.net/projects/pykde The release is PyKDE-3.7-1. Let me know if you have any problems. The next release looks like at least two weeks from now - I w

[PyKDE] PyKDE - almost

2003-08-14 Thread Jim Bublitz
Despite the temperature being 35-40C all of last week - it cools down nicely at night, but my office was quite warm by late afternoon, and my computer doesn't work when the CPU temperature hits 81C - and an 8 hour power outage last night[1], PyKDE for KDE312/sip3.6/sip3.7 is coming along. KDE3

[PyKDE] QDropEvent::source() does not behave correctly

2003-08-14 Thread Sok Ann Yap
According to the documentation... == QWidget * QDropEvent::source () const If the source of the drag operation is a widget in this application, this function returns that source, otherwise it returns 0. The source of the operation is the first parameter to drag

[PyKDE] passing non wrapped qt/kde widget to python ?

2003-08-14 Thread Joseph Wenninger
Hi I'm quit new to pyqt/kde. I have a kde application, which basically isn't python aware. I'd like to write a plugin for that application, which runs a python interpreter. Is it possible to pass an ordinary QWidget into thy pyqt/kde framework, which could be used as a parent for QWidgets created

Re: [PyKDE] pyqt and python 2.3

2003-08-14 Thread Phil Thompson
On Sunday 03 August 2003 11:49 pm, Alexander Eberts wrote: > Hi all, > > Is there (or will there be) a windows binary release of pyqt that > supports python 2.3? I'm running windows xp pro. I tried building the > pyqt non-commercial license with cygwin with no success - the compile > dies right at

Re: [PyKDE] PyKDE-3.7-3 Available

2003-08-14 Thread Jim Bublitz
On Friday August 8 2003 13:03, Jonathan Gardner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > On Friday 08 August 2003 10:14, Jim Bublitz wrote: > > I've put a new release up on SourceForge (PyKDE-3.7-3) at > >http://sourceforge.net/projects/pykde > Rather than uploading a new r

[PyKDE] Eric3: Request for contributions

2003-08-14 Thread Detlev Offenbach
Hi, it's quite some time now that eric3 is out in the wild and used by (hopefully) a lot of people. I would like to set up a references page on the eric3 web site. In order to do this, I would like to get a few reference contributions. These should give a short statement of your usage of eric3

Re: [PyKDE] Line numbers in TextEdit box?

2003-08-14 Thread Peter Clark
On Tuesday 12 August 2003 03:21 pm, Jonathan Gardner wrote: > I'd rethink the design. Looking at the picture, I can't tell how to add > new tags or remove existing one. Can I edit the text on the left? What > about cut and paste? Does it scroll? It's not clear. GUI interfaces are > supposed to make

[PyKDE] sip - how to get around member function templates?

2003-08-14 Thread Sato, Kristine
Hello,   I want to use sip on a class which uses member function templates. Any suggestions on the best approach?   Here’s a snippet from the class – the SetValue() and GetValue() member functions are the problematic ones!   class Record { public:     Record(Ut

[PyKDE] KControl modules

2003-08-14 Thread David Boddie
Having been defeated by panel applets*, I've turned my attention towards KDE Control Centre modules (Control Center for those in the US ;-) ). A quickly assembled, poorly documented archive of an example module is available from the following URL. I hope it builds and works correctly on systems ot

[PyKDE] Listbox returns dictionary key?

2003-08-14 Thread Peter Clark
Let's say I want to populate a listbox with a list of dictionary keys: d = {'cat':'Fluffy', 'dog':'Wolfie'} k = d.keys() k.sort() At this point, I've got a listbox with two items: cat dog Now, self.connect(self.listBox, SIGNAL("selected(int)"), self.pr

Re: [PyKDE] QDropEvent::source() does not behave correctly

2003-08-14 Thread Phil Thompson
On Thursday 14 August 2003 6:18 am, Sok Ann Yap wrote: > According to the documentation... > == > QWidget * QDropEvent::source () const > > If the source of the drag operation is a widget in this > application, this function returns that source, otherwise it > re

[PyKDE] Patch for PyKDE-3.7-2 build.py

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The "-d" option to build.py specifies where the PyKDE modules are to be stored. Unfortunately, checkThreading checks the directory specified by "-d" for the PyQt modules. Here is a patch that changes the "-s" option to cover both the SIP modules and

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Steve Simmons
On Wed, Aug 13, 2003 at 10:12:33AM -0500, Frederick Polgardy Jr wrote: > I definitely have to second this. (Would that be: this->second()? I > guess for a std::pair it would be just this->second. Ugh, feel free to > just shoot me at any time. :)) No problem. :-) I've watched C++ grow since

Re: [PyKDE] Incredibly early heads up on something that might exist someday :-)

2003-08-14 Thread Jim Bublitz
On Friday August 8 2003 19:09, Steve Simmons wrote: > At the recent TCL 2003 conference we discussed some possible > strategies to lower conference costs, ease the running of > same, and provide some more advancement for tk, the > tcl/python/perl/ruby/etc GUI toolkit. > We decided to try and pull

Re: [PyKDE] PyKDE-3.7-2 Available - kiocmodule fails to buld (kdelibs 3.1.3 )

2003-08-14 Thread Jim Bublitz
On Friday August 8 2003 03:49, Mateusz Korniak wrote: > On Friday 08 of August 2003 09:41, Jim Bublitz wrote: > > PyKDE-3.7-2 is available for download at: > Great thanks , Jim ! > > http://sourceforge.net/projects/pykde > I get single error: > make[1]: Wchodzę do katalogu > `/home/users/matkor

Re: [PyKDE] Call for ideas - more operators for Qt Widgets

2003-08-14 Thread Hans-Peter Jansen
Hi Torsten, On Wednesday 13 August 2003 16:31, Torsten Marek wrote: > Hello pythonistas, > > in agreement with Phil, I want to ask YOU what operators you want for > Qt widgets in PyQt. > By now, all reasonable operators for QPoint, QRect, QString, QSize, > QRegion and QWMMatrix have been implement

Re: [PyKDE] Line numbers in TextEdit box?

2003-08-14 Thread Peter Clark
On Tuesday 12 August 2003 11:37 am, Jonathan Gardner wrote: > 1) Implementing your own text edit with PyQt. > > Won't be too difficult. Since Qt is GPL, you can "borrow" code and > concepts and write it all in Python. Since the only "difficult" part is understanding C++ (which, as I have st

Re: [PyKDE] Mail problem

2003-08-14 Thread Thorsten Horstmann
Ricardo Javier Cardenes Medina wrote: Mh... This is because the list manager doesn't rewrites the Reply-To so it points to the list. There are bitter flame-wars everytime this issue arises, as either behaviours have its (usually fierce) own fanatics. yes, that's true. Here is the point of view of t

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Yannick Gingras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 13 August 2003 10:03, Tom Badran wrote: > Isnt the qt documenation generated automagically? Therefore isnt is > possible to mostly automate this (like i believe the same way python > bindings generation is done) by applying the same transf

Re: [PyKDE] Eric3: Request for contributions

2003-08-14 Thread Mateusz Korniak
On Wednesday 13 August 2003 19:31, Detlev Offenbach wrote: > it's quite some time now that eric3 is out in the wild and used by > (hopefully) a lot of people. I would like to set up a references page on > the eric3 web site. Is it possible to add some kind of wiki page/ wide-editable- (F)AQ about

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Tom Badran
On Wednesday 13 Aug 2003 15:10, Michael Lauer wrote: > Ugh! Please don't advice people wanting to learn C++ to start with C. > C++ as a multi-paradigm language is fundamentally different from C - it > just includes it because of compatibility issues and in the past, the > C->C++ way caused a lot of

Re: [PyKDE] Eric3: Request for contributions

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 13 August 2003 11:04, Mateusz Korniak wrote: > On Wednesday 13 August 2003 19:31, Detlev Offenbach wrote: > > it's quite some time now that eric3 is out in the wild and used by > > (hopefully) a lot of people. I would like to set up a refe

[PyKDE] PyKE Update 20030812

2003-08-14 Thread Jim Bublitz
I promised another PyKDE release to fix the kfile module problem and a couple of other minor problems. I've run into one problem compiling against KDE 3.1.3 AND Qt 3.2.0 - Qt 3.2.0 seems to be required for the problem to occur. As soon as I get that resolved and run some other test builds just

[PyKDE] Re: Learning C++

2003-08-14 Thread Frederick Polgardy Jr
On Wednesday 13 August 2003 01:53 pm, Simon Edwards wrote: > I learnt C and asm originally and now I write KDE stuff in C++, > basically C with classes. Most of C++ is a waste of space IMHO. > Templates are a disaster, streams are just overrate syntactic sugar > as they say, and I'm still waiting t

[PyKDE] Call for ideas - more operators for Qt Widgets

2003-08-14 Thread Torsten Marek
Hello pythonistas, in agreement with Phil, I want to ask YOU what operators you want for Qt widgets in PyQt. By now, all reasonable operators for QPoint, QRect, QString, QSize, QRegion and QWMMatrix have been implemented and are in the current snapshots or still under testing, so please do not

Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 12 August 2003 18:48, Peter Clark wrote: > On Tuesday 12 August 2003 03:21 pm, Jonathan Gardner wrote: > > If you do decide to go with a modified widget, you should really > > learn enough C++ to read the code for Qt's widgets, and then run

RE: [PyKDE] sip - how to get around member function templates?

2003-08-14 Thread Sato, Kristine
On Tuesday 05 August 2003 7:05 pm, Sato, Kristine wrote: > Hello, > > I want to use sip on a class which uses member function templates. Any > suggestions on the best approach? > > Here's a snippet from the class - the SetValue() and GetValue() member > functions are the problematic ones! > > class

Re: Learning C++ (was Re: [PyKDE] Line numbers in TextEdit box?)

2003-08-14 Thread Frederick Polgardy Jr
I definitely have to second this. (Would that be: this->second()? I guess for a std::pair it would be just this->second. Ugh, feel free to just shoot me at any time. :)) The worst C++ code I've ever seen is written by people who come from a C mindset, and are just using C++ to take advantage

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

[PyKDE] [ANN] RSSView 0.1

2003-08-14 Thread Vincent Wagelaar
Hi, I'd like to announce the first version of RSSView, a program that automatically receives RSS (weblog) feeds. Download location and more information available at: http://hannibal.lr-s.tudelft.nl/rssview/ Enjoy, Vincent ___ PyKDE mailing list[E

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 u

Re: [PyKDE] PyKDE-3.7-3, things missing in this version...?

2003-08-14 Thread Jacob Burbach
On Monday 11 August 2003 01:39 am, you wrote: > On Sunday August 10 2003 21:56, Jacob Burbach wrote: > > Is my installation just broken or are their things missing > > this go around? Namely the two big ones are, KURLRequester, > > and all the "get" methods of KFileDialog, ie; getOpenFileName, > >

[PyKDE] Red Hat unicode problem

2003-08-14 Thread Doug Bell
A few users of my TreeLine program have had problems with the display of unicode in text edit and list view widgets. All are using Red Hat (various versions). The latest occurrance is using Red Hat 9 with Python 2.2.2, Qt 3.1.1 and PyQt 3.5, all from RPM's. The text gets spaced out in the widget

[PyKDE] Using sip with embedded Python

2003-08-14 Thread David Boddie
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 various sipClass_ pointers I'm using are not initialised. This mi

[PyKDE] Heirarchy of header files !!

2003-08-14 Thread satish k.chimakurthi
Hi Phil, Thanks for your response. I have a huge software library written in C++...I have nearly 50 headerfiles in itI wrote a small code for my application using some classes which are defined in some of the header files If I need to generate a PYTHON WRAPPER of the SOFTWARE LIBRARY onl

Re: [PyKDE] PyKDE-3.7-3, things missing in this version...?

2003-08-14 Thread Jim Bublitz
On Monday August 11 2003 01:29, Jacob Burbach wrote: > On Monday 11 August 2003 01:39 am, you wrote: > > On Sunday August 10 2003 21:56, Jacob Burbach wrote: > Simplest example: > > ### > Python 2.2.3 (#1, Aug 4 2003, 19:27:09) > [GCC 3.2.2] on linux

[PyKDE] Loading of plugins when embedding python

2003-08-14 Thread Manuel Klimek
Hi there, I'm trying to embed PyQt in a Qt C++ application. I'm using debian sid, and with the packages I downloaded I came as far as "from qt import *", but when I tried to create a button or something I get a segfault. So I tried to build python, SIP and PyQt by myself with debugging enabled, t

Re: [PyKDE] Heirarchy of header files !!

2003-08-14 Thread Paul F. Kunz
> On Thu, 14 Aug 2003 21:10:51 -0400, "satish k.chimakurthi" <[EMAIL PROTECTED]> > said: > Hi Phil, Thanks for your response. > I have a huge software library written in C++...I have nearly 50 > headerfiles in itI wrote a small code for my application using > some classes which are d

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 va

Re: [PyKDE] build.py issues, WAS: PyKDE 3.7 on Mandrake

2003-08-14 Thread Simon Edwards
On Sunday 10 August 2003 21:17, Hans-Peter Jansen wrote: > Well, none of my patches is really _essential_ for build.py. It's rather > a long overdue clean up with some useful extensions. Well, it fixed the problems I was having. > > _that_ easy, I had to remake the build.py patch) But after a lo

Re: [PyKDE] Heirarchy of header files !!

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 14 August 2003 18:27, Paul F. Kunz wrote: > > On Thu, 14 Aug 2003 21:10:51 -0400, "satish k.chimakurthi" > > <[EMAIL PROTECTED]> said: > > > > Hi Phil, Thanks for your response. > > > > I have a huge software library written in C++.

Re: [PyKDE] Problems compiling PyKDE

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 09 August 2003 17:06, Jonathan Gardner wrote: > I'm getting some really strange results from qmake. I'm running Red Hat > 9, with the PyQt and sip modules I made and uploaded to Sourceforge for > sip/PyQt 3.7. > I figgerd it out. I was run

Re: [PyKDE] PyKDE build fails on kio with KDE-3.1.1

2003-08-14 Thread Jim Bublitz
On Friday August 8 2003 14:16, Mateusz Korniak wrote: > On Friday 08 of August 2003 23:02, Jacob M. Burbach wrote: > > When trying to build PyKDE-3.7-2 against KDE-3.1.1 compile > > fails with the following error: > > sip/kzip.sip: In function `PyObject* > > sipConvertFrom_ulonglong(ulonglong*)':

[PyKDE] Re: PyKDE

2003-08-14 Thread Jim Bublitz
On Friday August 8 2003 13:25, Andreas Pour wrote: > Jim Bublitz wrote: > > On Friday August 8 2003 00:54, Andreas Pour wrote: > > > Jim Bublitz wrote: > import os > + os.putenv("KDE_MALLOC", "0") > import libsip > import libqtc > so it works no matter how the module gets loaded. Cool - go

[PyKDE] PyKDE build fails on kio with KDE-3.1.1

2003-08-14 Thread Jacob M. Burbach
When trying to build PyKDE-3.7-2 against KDE-3.1.1 compile fails with the following error: sip/kzip.sip: In function `PyObject* sipConvertFrom_ulonglong(ulonglong*)': sip/kzip.sip:153: `LONG_LONG' undeclared (first use this function) sip/kzip.sip:153: (Each undeclared identifier is reported only

[PyKDE] PyKDE and Python 2.3

2003-08-14 Thread Jim Bublitz
See the thread: PyKDE build fails on kio with KDE-3.1.1 for a description of a probelm building PyKDE against Python 2.3 Applies to any version of KDE, but ONLY with Python 2.3. The likely fix (untested yet) is in my reply in that thread. Jim __

[PyKDE] PyKDE on Debian

2003-08-14 Thread Peter Clark
This is just to relate my experience building PyKDE (3.7-3) on Debian (unstable). Assuming that PyQt is already installed, the only additional packages you should require are: apt-get install sip python2.2-sip-dev libdcopc1 libdcopc-dev (There might be more that I had installed

[PyKDE] Re: PyKDE

2003-08-14 Thread Jim Bublitz
On Thursday August 7 2003 22:53, Andreas Pour wrote: > Congrats on the latest release! I get errors trying to run > the examples and, sorry to say, am a bit clueless what the > problem is. With SuSE 8.1, KDE 3.0.3 and Qt 3.0.5 I get the > following: > $ python /usr/share/doc/packages/pykde/examp

  1   2   >