Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-29 Thread David Douard
> Hmm interesting topic, I recently had to switch back from ui files to > py files because I couldnt get py2exe to package the ui files correctly > (Any help appreciated though) I usually use both of them to deal with this problem. My python code which depends on ui files (ie. class which herit

Re: [PyQt] event filters vs subclassing

2010-08-24 Thread David Douard
> On Tue, Aug 3, 2010 at 2:27 PM, Dan Halbert wrote: [...] > The best solution would be if PyQt could be extended with a new > installEventFilter method which also takes an optional list with event > classes you are only interested in. I strongly agree. I would be very helpful to have such python

Re: [PyQt] Examples of Big PyQt application with sources

2010-01-18 Thread David Douard
ed) application, you may have a look at hgview http://www.logilab.org/project/hgview -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 12 Formations Python, Zope, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logi

Re: [PyQt] Two questions about PyQt

2009-11-24 Thread David Douard
ts as attributes of your class, eg. by replacing everywhere "tf1" by "self.tf1" (and so forth). And replace self.connect(update, QtCore.SIGNAL('clicked()'), self, QtCore.SLOT('update_info(self)')) by self.connect(update, QtCore.

Re: [PyQt] Problem with class inheriting QDialog

2009-11-20 Thread David Douard
ed(self): > self.dialog = Dialog(self) > print type(self.dialog) > self.dialog.exec_() -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 12 Formations Python, Zope, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://w

[PyQt] [ANN] hgview 1.1.0

2009-09-25 Thread David Douard
lab.org/pub/hgview/hgview-1.0.0.tar.gz .. _qt4: http://www.qtsoftware.com/products/ .. _pyqt: http://www.riverbankcomputing.co.uk/software/pyqt/intro .. _Python: http://www.python.org .. _Logilab: http://www.logilab.fr -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 1

Re: [PyQt] ANN hgview 1.0.0 released

2009-06-09 Thread David Douard
On Tuesday 09 June 2009 01:29:17 David Boddie wrote: > On Sat Jun 6 12:58:35 BST 2009, David Douard wrote: > > Let me introduce you the latest kid of the Logilab team: `hgview 1.0.0`_. > > > > hgview is a very helpful tool for daily work using the excellent DVCS > > Merc

[PyQt] ANN hgview 1.0.0 released

2009-06-06 Thread David Douard
Python and pyqt (which the reason why I am sending this message on this list). A more detailed annoucement is available on http://www.logilab.org/blogentry/9297 Source code, bugtracker, etc. are on http://www.logilab.org/project/hgview I hope you'll like it. -- David D

Re: [PyQt] Fast way to display an array in a table?

2009-05-28 Thread David Douard
even more). > > Is there a faster way of filling a table than looping through all the > array elements and introducing them in the table cells one by one? > You should use a QTableView with a model you write (which should derivate from QAbstractTableModel) like the fi

Re: [PyQt] faster alternative to QHeaderView's resizeToContents?

2009-05-12 Thread David Douard
sed class and reimplement this method the "smart" way. See Qt doc for more details on this method. -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 12 Formations Python, Numpy, Debian : http://www.logilab.fr/formations Développement logiciel sur m

Re: [PyQt] QSplashScreen with transparent background

2009-03-24 Thread David Douard
o do with the alpha channel, but can't get it > working... > > > Thanks in advance! -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 12 Formations Python, Zope, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logil

Re: [PyQt] empty QDateEdit

2009-02-22 Thread David Douard
: > QDate: PyQt4.QtCore.QDate(2000, 1, 1) > > I want: None or -1. > > Is possible this? > > Thanks > Milan > ___ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt --

Re: [PyQt] How to clear QDateTime

2009-02-01 Thread David Douard
gap in Qt, and it won't happen before a while. See http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=135683 David -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 12 Formations Python, Zope, Debian : http://www.log

Re: [PyQt] Splash Screen

2008-10-06 Thread David Douard
app.processEvents() # start tha main app window mainwindow = ... # ... # now kill the splashscreen splash.finish(mainwindow) -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 12 Formations Python, Zope, Debian : http://

Re: [PyQt] QTableWidget Data Paste Time

2008-07-31 Thread David Douard
Cheshire, Apple Computer, regarding Zero Configuration Networking > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- David DouardLOGILAB, Paris (Fr

Re: [PyQt] QtGui.QMotifStyle not in PyQt?

2008-02-13 Thread David Douard
e that if you write an app with generated layouts, using stylesheet dramatically increase widget creation time, thus an make your application not very reactive. David > > Ulli > > ___ > PyQt mailing listPyQt@riverbankcomputing.com &g

Re: [PyQt] Null dates in QDateEdit

2008-01-10 Thread David Douard
dly... > > Cheers, > Pete > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- David DouardLOGILAB, Paris (France), +33 1 45 32 03 12

Re: [PyQt] signal-slot connect problem

2008-01-09 Thread David Douard
be more incitated to use the pyQtSignature in python code). I mean it is a very common mistake, even for advanced PyQt developers, and it is not always easy to track. It could at least save sometimes one hour or two to many PyQt developpers, I guess ;-) > > Phil > > __