[PyKDE] how to identify empty space on a qcanvas

2005-05-26 Thread Solly Brown
I've got a qcanvas with a number of canvasitems moving about on it. I need to efficiently identify which areas of the canvas are empty (ie. don't have any objects on them). The simplest implementation is to lay down a grid of qpoints on the canvas, and then just check whether there are collisi

[PyKDE] New Ubuntu Packages with updated PyKDE

2005-05-26 Thread Stephan Hermann
Good Evening, right now I'm working on new source packages for python-kde on Ubuntu. I asked a couple of weeks ago for a workaround for the problems with KConfigSkeleton. Jim answered me in private and told me that he is reviewing the patches mentioned in http://mats.imk.fraunhofer.de/piperma

[PyKDE] [ANNOUNCE] Twenty-fifth release of PythonCAD now available

2005-05-26 Thread Art Haas
I'm pleased to announce the twenty-fifth development release of PythonCAD, a CAD package for open-source software users. As the name implies, PythonCAD is written entirely in Python. The goal of this project is to create a fully scriptable drafting program that will match and eventually exceed feat

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread jul
Hi, I don't have exactly the same behavior, but something like that. 1. I confirm, without task keywords, the problem doesn't occur. 2. When I write a TODO or FIXEME task and save, page scrolls about 20 lines, but not at the end of file 3. If I remove all keywords from sheet by text selection,

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Detlev Offenbach
Hi, thanks all for the help on this bug. It was a bit tricky to fix but it is done over here and will be included in the final release. Please carry on testing eric3 and report all additional bugs and strangenesses found. Thanks, Detlev Am Donnerstag, 26. Mai 2005 15:27 schrieb Brad Ralph: > H

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Detlev Offenbach
Thanks for this detailed instructions. Now I can see your issue and will see, what I can do about it. Detlev Am Donnerstag, 26. Mai 2005 14:56 schrieb Mike Tammerman: > I changed the keywords, added my own keywords which is lowercase todo: > > If the keyword is below the cursor, the page scrolls

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Brad Ralph
Hi, I just tested as per Mikes description in another message. what I find is that the line the cursor is on gets moved to the bottom of the edit window when it was in the middle of the edit window when I pressed save. This is not what I understood his original error report to say as I thought

Re: [PyKDE] Issue with QDialog and lifetime

2005-05-26 Thread Giovanni Bajo
Toby Dickenson <[EMAIL PROTECTED]> wrote: >> Notice that WDestructiveClose does not collect the Python object (of >> course). So you can easily do something like: >> >> class MyDialog(QDialog2): >> # bla bla >> >> def accept(self): >> self.value = self.lineedit.text() >> >> and

Re: [PyKDE] Issue with QDialog and lifetime

2005-05-26 Thread Toby Dickenson
On Thursday 26 May 2005 13:16, Giovanni Bajo wrote: > Toby Dickenson <[EMAIL PROTECTED]> wrote: > > >> class QDialog2(QDialog): > >>def __init__(self, parent=0, name=0, modal=False, flags=0) > >>QDialog.__init__(self, parent, name, modal, flags | > >> Qt.WDestructiveClose) > > Actuall

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Mike Tammerman
I changed the keywords, added my own keywords which is lowercase todo: If the keyword is below the cursor, the page scrolls down. Otherwise, the page scrolls up. But try this behaviour in a long enough file. My files are approximately 500 lines long. An example situation: 1. I put an TODO: keywor

Re: [PyKDE] Issue with QDialog and lifetime

2005-05-26 Thread Giovanni Bajo
Toby Dickenson <[EMAIL PROTECTED]> wrote: >> class QDialog2(QDialog): >>def __init__(self, parent=0, name=0, modal=False, flags=0) >>QDialog.__init__(self, parent, name, modal, flags | >> Qt.WDestructiveClose) Actually, for my project, I'm better off with: class QDialog2(QDialog):

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Detlev Offenbach
Anything more, that might be specific. Have you changed the Task Marker keywords? It is working fine over here. Anybody else out there having seen this? Detlev Am Donnerstag, 26. Mai 2005 13:31 schrieb Mike Tammerman: > Recently I recognized, this only happens when there is a Task Marker > keyw

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Detlev Offenbach
Am Donnerstag, 26. Mai 2005 10:55 schrieb Richard Smith: > > > > Whenever I save a file, the cursor stands at the bottom of the page > > > > and page scrolls. > > > > > > I've noticed something like that as well but I haven't spent any time > > > to see what it was actually doing. > > > > Haven't

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Mike Tammerman
Recently I recognized, this only happens when there is a Task Marker keyword in the file. Sorry for the wrong information in the previous mail. MikeOn 5/26/05, Mike Tammerman <[EMAIL PROTECTED]> wrote: As Richards claims, it occurs when I save a file. The page scrolls until the cursor stands at th

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Mike Tammerman
As Richards claims, it occurs when I save a file. The page scrolls until the cursor stands at the bottom of the page. It doesn't depend any specific file, happens all the time. It seems like the editor scans the file and recoordinates the scroll bar. I am using Debian Testing with Python 2.4.

Re: [PyKDE] Issue with QDialog and lifetime

2005-05-26 Thread Toby Dickenson
On Thursday 26 May 2005 11:24, Giovanni Bajo wrote: > class QDialog2(QDialog): >def __init__(self, parent=0, name=0, modal=False, flags=0) >QDialog.__init__(self, parent, name, modal, flags | > Qt.WDestructiveClose) That works, but Im not sure I would recommend it. It leads to a bigge

Re: [PyKDE] Issue with QDialog and lifetime

2005-05-26 Thread Giovanni Bajo
Toby Dickenson <[EMAIL PROTECTED]> wrote: > On Wednesday 25 May 2005 16:13, Giovanni Bajo wrote: > >> So, I don't see any easy way to take care of this automatically. One >> has to remember to manually destroy the dialog calling deleteLater > > Yes. My PyQt idiom for running a dialog is: > > dl

Re: [PyKDE] Issue with QDialog and lifetime

2005-05-26 Thread Toby Dickenson
On Wednesday 25 May 2005 16:13, Giovanni Bajo wrote: > So, I don't see any easy way to take care of this automatically. One has to > remember to manually destroy the dialog calling deleteLater Yes. My PyQt idiom for running a dialog is: dlg = WhateverDlg(parent) try: ok = dlg.ex

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Richard Smith
> > > Whenever I save a file, the cursor stands at the bottom of the page and > > > page scrolls. > > > > I've noticed something like that as well but I haven't spent any time > > to see what it was actually doing. > > Haven't seen anything like this over here. Could you give more specific > inst

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Detlev Offenbach
Am Mittwoch, 25. Mai 2005 17:37 schrieb Richard Smith: > On 5/25/05, Mike Tammerman <[EMAIL PROTECTED]> wrote: > > I don't know if it is a bug or feature. > > > > Whenever I save a file, the cursor stands at the bottom of the page and > > page scrolls. > > I've noticed something like that as well

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Detlev Offenbach
Am Mittwoch, 25. Mai 2005 06:50 schrieb Brad Ralph: > On Wed, 25 May 2005 03:34 am, Detlev Offenbach wrote: > ... > > > > It is only a really small change so a diff of the affected file is > > > attached if you are interested. (UI/TaskViewer.py) > > > > > > (apologies to Detlev for fiddling with hi