Hi Phil,

attached .ui demonstrates a few issues of pyuic4:

 - ignores stretch factors in verticalLayout
 - ignores all tableView attributes

As a bonus, I've attached a minor bugfix for the chart example ;-).
The pie "rubber band" selection still does not work correct (it arbitrarily 
selects pie slices under "certain" conditions), but at least, it doesn't 
throw exceptions anymore..

Pete

Attachment: untitled.ui
Description: application/designer

--- chart.py~	2009-06-16 10:37:46.000000000 +0200
+++ chart.py	2009-07-11 10:41:24.687592864 +0200
@@ -206,6 +206,7 @@ class PieView(QtGui.QAbstractItemView):
 
     def mouseMoveEvent(self, event):
         if self.rubberBand:
+            origin = event.pos()
             self.rubberBand.setGeometry(QtCore.QRect(origin, event.pos()).normalized())
 
         super(PieView, self).mouseMoveEvent(event)
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to