[PyQt] Deleting a PyQt object

2007-11-21 Thread Fabian Steiner
Hello! I'm currently working on a programm which adds a QTableWidget to an existing QGridLayout using QGridLayout.addWidget(). When the user pushes button btn1, this QTableWidget should disappear and the layout should free the space. In order to achieve this aim I tried the following: [...] se

Re: [PyQt] QProcess arguments list problem

2007-11-21 Thread Mark Summerfield
On 2007-11-21, kib2 wrote: > Hi, > > I'm using QProcess to launch some commands, no problem with basic ones, > ie to launch a LaTeX file with pdflatex I use: > > self.proc.start("pdflatex", QtCore.QStringList(["my_file.tex"])) > > Now, I wanted to launch the following command : > > "lout my_file.lo

Re: [PyQt] import speed overhead question

2007-11-21 Thread Phil Thompson
On Wednesday 21 November 2007, Linos wrote: > Hello all, > i have a question about speed optimization with PyQt, i cant find any > clear explanation about this question in google, i am developing an app > with many .py files, in the beginning i am using this imports. > > from PyQt4.QtCore imp

[PyQt] import speed overhead question

2007-11-21 Thread Linos
Hello all, i have a question about speed optimization with PyQt, i cant find any clear explanation about this question in google, i am developing an app with many .py files, in the beginning i am using this imports. from PyQt4.QtCore import * from PyQt4.QtGui import * from PyQt4.QtSql im

Re: [PyQt] QProcess arguments list problem

2007-11-21 Thread kib2
Ingmar Steen a écrit : Hi, That won't work because the '>' (redirect) you use in a shell environment doesn't 'magically' work. The shell (bash, ksh, etc) performs the job of capturing the child process' 'stdout' (the regular output of the process) and redirects it to a file. To achieve that

Re: [PyQt] QProcess arguments list problem

2007-11-21 Thread Ingmar Steen
On Nov 21, 2007 7:53 PM, kib2 <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using QProcess to launch some commands, no problem with basic ones, > ie to launch a LaTeX file with pdflatex I use: > > self.proc.start("pdflatex", QtCore.QStringList(["my_file.tex"])) > > Now, I wanted to launch the following

[PyQt] QProcess arguments list problem

2007-11-21 Thread kib2
Hi, I'm using QProcess to launch some commands, no problem with basic ones, ie to launch a LaTeX file with pdflatex I use: self.proc.start("pdflatex", QtCore.QStringList(["my_file.tex"])) Now, I wanted to launch the following command : "lout my_file.lout > my_file.ps" I've made these tries

Re: [PyQt] QItemDelegate

2007-11-21 Thread Alexandre Badez
On Nov 21, 2007 5:06 PM, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > [...] > You can't, unless you copy the code, translate it to python and put it > into your own delegate. Only whats documented in the API docs can be > used without copying it, everything else in Qt's code is private. > > Andre

Re: [PyQt] QItemDelegate

2007-11-21 Thread Andreas Pakulat
On 21.11.07 16:02:31, Alexandre Badez wrote: > Good afternoon everyone, > > I'm developing a "little" application for my own purpose, using Qt model > view. > > I've develop my own model, for my own data, witch is quiet like a tree (to > make it simple). > > I've got many tree view connected to

Re: [PyQt] impossible to install PyQt 4.3.1 under rh5

2007-11-21 Thread Phil Thompson
On Wednesday 21 November 2007, vincent vauchey wrote: > hello everybody, > > I installed Pyqt4.3.1, SIP-4.7 and QT 4.3.1 on redhat3 and now I want to > install the same software under redhat5. > > I install, QT 4.3.1, SIP-4.7 without error, but when I want to configure > Pyqt4.3.1 (with -w flag) I

[PyQt] impossible to install PyQt 4.3.1 under rh5

2007-11-21 Thread vincent vauchey
hello everybody, I installed Pyqt4.3.1, SIP-4.7 and QT 4.3.1 on redhat3 and now I want to install the same software under redhat5. I install, QT 4.3.1, SIP-4.7 without error, but when I want to configure Pyqt4.3.1 (with -w flag) I obtain following error: [EMAIL PROTECTED] PyQt-x11-gpl-4.3.1]# p

[PyQt] QItemDelegate

2007-11-21 Thread Alexandre Badez
Good afternoon everyone, I'm developing a "little" application for my own purpose, using Qt model view. I've develop my own model, for my own data, witch is quiet like a tree (to make it simple). I've got many tree view connected to my single model and that works great. For one of those view, I

[PyQt] Message boxes or OSD

2007-11-21 Thread Sundance
Nahuel wrote: > I wonder if I could make nice notifications similar to kdialog's or > maybe something like amarok osd. Hi Nahuel, I'd make it a custom QWidget with the FramelessWindowHint flag. I refer you to the 'Shaped Clock' example of the Qt documentation: http://doc.trolltech.com/4.3/widge

Re: [PyQt] Message boxes or OSD

2007-11-21 Thread Hans-Peter Jansen
Am Mittwoch, 21. November 2007 schrieb Nahuel Defossé: > Hi List, > I'm creating a little app which monitors file system alterations using > pyinotify. It works, but notifications are made with kde's kdialog, with > the --passivepopup dialog, and popen. > I wonder if I could make nice notifications

Re: [PyQt] Custom widgets, dynamic properties and css

2007-11-21 Thread Mark Summerfield
On 2007-11-20, Richard Smith wrote: > Mark Summerfield wrote: > > I think for styles you must call setStyle() rather than update() to > > apply a new (or modified) style. > > Nope, that segfaulted... It did update the style before it segfaulted > though. Well, if you're not mixing painting with ca