Simon Edwards | 4 Dec 2004 01:23
Favicon

Mandrake packages and repository now available

Hello all,

I've put a URPMI repository up at: http://www.simonzone.com/software/mdkrpm/

There are packages for PyQt, PyKDE, Eric, etc etc for Mandrake 10.1.

Feedback is welcome.

cheers,

--

-- 
Simon Edwards             | Guarddog Firewall
simon <at> simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."

Dmitry "Troydm" Geurkov | 2 Dec 2004 02:57
Picon

KRootPixmap problem

Hi !
I have a problem with KRootPixmap class 
when I use it and close A top-level dialog: 
X Error: BadWindow (invalid Window parametr) 3
is printed to the console however it doesn't 
interrupt the program itself or do any data damage!
Here is the code:
	w=QWidget(None)
	w.root=KRootPixmap(w)
	w.show()
when the second line is commented it's working fine
So I am interested if this is KDE core bug or PyKDE bug
I am using:
	Mandrake 10 Official (Mandrake Linux 10.0 3.3.2-6mdk)
	KDE 3.2 Branch >= 20040204
	Python 2.3.3
	PyQt 3.13
	PyKDE 3.11.3

Thx

Brad Ralph | 1 Dec 2004 09:31
Picon

PyQt - QApplication with the GUIenabled flag question

Hi,

I am looking for some advice re a program that I am working on.

I am attempting to write a small network server app to do some very simple 
data replication between two postgresql databases using Twisted and Qt.  The 
reason that I am using Qt is that I have some classes from a companion 
application using QTimer's and QSqlQuery's that I would like to re-use. The 
plan was to have the program running on a network server that does not have 
an X server running but ...

The snag: When my program starts it tries to connect to a running X server, 
then crashes when it can't. A short trip to google pointed me to a GUIenabled 
flag as one of the options for the QApplication constructor.  This is 
supposed to enable console application development.  Unfortunately, the PyQt 
docs say that the QApplication constructor with the GUIenabled flag is not 
implemented.

My Questions: I have looked on the web but can't find any information to say 
that this is a bad idea. Therefore, given that PyQt seems to support pretty 
much every part of Qt, is using Qt this way a really bad thing to do?  If 
not, then is this just something that has not been implemented because nobody 
has asked or is it really hard to implement (and won't happen any time soon)? 
Should I look at re-writing the classes using the standard python DB-API 
instead?

Thanks in advance for any guidance,

Brad

(Continue reading)

Gerard Vermeulen | 5 Dec 2004 17:24
Picon
Favicon

Re: SIP issues.

On Sun, 5 Dec 2004 09:50:28 +0000
Phil Thompson <phil <at> riverbankcomputing.co.uk> wrote:

> On Tuesday 23 November 2004 8:51 pm, Gerard Vermeulen wrote:
> > Hi,
> >
> > When trying to wrap QwtPlot3D (http://qwtplot3d.sourceforge.net), I
> > encountered several issues with SIP:
> > (1) Problems in getting an (abstract) virtual operator() working. Finally,
> 
> Virtual (and abstract) operators are now supported in the current SIP v4 
> snapshot. Also operator() and the __call__ slot no longer require 
> %MethodCode.
> 
> > (2) Why does the PyName annotation only apply to functions?
> >     class def { public: double yield; }; can only be wrapped if PyName
> >     can also be used for class names and variable names.
> 
> You can now apply /PyName/ to classes, variables, enums and enum members.
> 
> > (3) Slots like __getitem__, __len__, and __setitem__ of a Python type
> > defined in a SIP file do not show with dir() (dir([]) shows those slots).
> 
> I couldn't reproduce this. I suspect that it had already been fixed in an 
> earlier snapshot.
> 
Thanks, I had seen some of those items already in your changelog.

I am in the business of trying my bindings for QwtPlot3D with your sip-snapshots (I tried
the 3 december sip) and noticed that enum fields are not accessible.
(Continue reading)

Detlev Offenbach | 5 Dec 2004 17:17
Picon
Favicon

ANN: new eric3 snapshot

Hi,

this is to let you know about a new snapshot release. This one includes a 
surprise for all people who use the right operating system. Go get it and 
see, if you find the surprise.

As usual it is available via http://www.die-offenbachs.de/detlev/eric3.html in 
the snapshots section.

Regards,
Detlev
--

-- 
Detlev Offenbach
detlev <at> die-offenbachs.de

Thorsten Horstmann | 6 Dec 2004 15:32
Picon

list problem

there was a problem with the mailing list during the last days (I think 
since 11/30/04); the Mailman qrunner daemon died.

I hope no mails have been lost.

Best regards,
   -Thorsten

Per Gummedal | 1 Dec 2004 21:06
Picon
Favicon

QSyntaxHighlighter

Hi

I belive there is a missing /TransferThis/ in qsyntaxhighlighter.sip
QSyntaxHighlighter(QTextEdit * /TransferThis/);

(PyQt 3.13)

regards,
Per Gummedal

Phil Thompson | 5 Dec 2004 10:50
Picon

Re: SIP issues.

On Tuesday 23 November 2004 8:51 pm, Gerard Vermeulen wrote:
> Hi,
>
> When trying to wrap QwtPlot3D (http://qwtplot3d.sourceforge.net), I
> encountered several issues with SIP:
> (1) Problems in getting an (abstract) virtual operator() working. Finally,

Virtual (and abstract) operators are now supported in the current SIP v4 
snapshot. Also operator() and the __call__ slot no longer require 
%MethodCode.

> (2) Why does the PyName annotation only apply to functions?
>     class def { public: double yield; }; can only be wrapped if PyName
>     can also be used for class names and variable names.

You can now apply /PyName/ to classes, variables, enums and enum members.

> (3) Slots like __getitem__, __len__, and __setitem__ of a Python type
> defined in a SIP file do not show with dir() (dir([]) shows those slots).

I couldn't reproduce this. I suspect that it had already been fixed in an 
earlier snapshot.

Phil

Maurizio Colucci | 2 Dec 2004 23:13
Picon

kio.move and kio.copy missing?

Hello there,

I cannot find the static methods kio.copy and kio.move in PyKDE 3.11.3. 
Sad news for my file manager... :)
Is there some equivalent technique?

Thanks a lot,

Maurizio Colucci
http://onefinger.sf.net

Maurizio Colucci | 2 Dec 2004 11:27
Picon

kio.move and kio.copy missing?

Hello there,

I cannot find the static methods kio.copy and kio.move in PyKDE 3.11.3. 
Sad news for my file manager... :)
Is there some equivalent method?

Thanks a lot,

Maurizio Colucci
http://onefinger.sf.net


Gmane