Re: [PyKDE] QWidgetFactory problems

2005-02-09 Thread Hans-Peter Jansen
On Wednesday 09 February 2005 09:59, Eli Yukelzon wrote: > Hi there. > > Sorry to be a nag, but can any of you suggest atleast some > temporary (even ugly) solution for my closeEvent problem, until a > better solution (wink in Torsten's direction) is available ? see attached file. Seems like the s

Re: [PyKDE] QWidgetFactory problems

2005-02-09 Thread Ken Godee
Sorry to be a nag, but can any of you suggest atleast some temporary (even ugly) solution for my closeEvent problem, until a better solution (wink in Torsten's direction) is available ? Ugly solution - Some window managers (ie. icewm) allow you to remove the "X" close button. __

Re: [PyKDE] Writing with QTextStrem

2005-02-09 Thread Giovanni Bajo
Eric Jardim <[EMAIL PROTECTED]> wrote: > I was trying to do a simple write of a strings to a text file, but the > "<<" does not work with Python like it do in C++. > > What is the corresponding way of doing that in PyQt: > > QFile file("file.txt"); > QTextStream ts(&file); > ts << "My string" <<

[PyKDE] Writing with QTextStrem

2005-02-09 Thread Eric Jardim
Hi, I was trying to do a simple write of a strings to a text file, but the "<<" does not work with Python like it do in C++. What is the corresponding way of doing that in PyQt: QFile file("file.txt"); QTextStream ts(&file); ts << "My string" << "\n"; file.close(); I read somewhere that the "

Re: [PyKDE] QWidgetFactory problems

2005-02-09 Thread Eli Yukelzon
Hi there. Sorry to be a nag, but can any of you suggest atleast some temporary (even ugly) solution for my closeEvent problem, until a better solution (wink in Torsten's direction) is available ? This is rather critical for the application I'm working on, and if i can't find a solution, i will ha