Re: [PyQt] Resizing index widgets

2013-01-30 Thread Mads Ipsen
Hi Detlev, We have of the order 60-70 interface plugins available in our 'tool box' - to be able to order them, group them, filter/search them - and still maintain a compact layout - I felt that the QToolBox offered too 'flat' a solution. Let me know your opinion or suggestions for a better ap

Re: [PyQt] Resizing index widgets

2013-01-30 Thread Detlev Offenbach
Hi Mads, why are you using QTreeView? I would use QToolbox for such a layout. Regards, Detlev On Tuesday 29 January 2013, 22:31:14 Mads Ipsen wrote: Hi, We develop a tool for manipulating atomic structures and have embedded all the manipulation widgets in a panel bar (widget on the right in a

Re: [PyQt] button delegate in a tableview

2013-01-30 Thread Mads Ipsen
Hi, You could consider using setIndexWidget() on the TableView. But some care should be taken if you also use a QSortFilterProxyModel for filtering your data. Best, Mads On 01/30/2013 11:32 AM, Cristobal Infante wrote: Hi, Sorry to bump this thread again. I am almost done with my PYQT ap

[PyQt] Unable to figure out error in PolygonItem.setTransformPoint()

2013-01-30 Thread Manoj Kumar
Hello, I was trying to build a small UI using PyQt . It has a window , a button(Rotate) , and a polygon(rectangle) in a QGraphicsView. One aim of the app is to allow the user to rotate the polygon. That is after the button is clicked and the user clicks at a point , the nearest vertex automati

Re: [PyQt] button delegate in a tableview

2013-01-30 Thread Cristobal Infante
Hi, Sorry to bump this thread again. I am almost done with my PYQT application but I still have this glitch on my button delegate.. Are there any alternatives to using buttons delegate in tableviews? But I need a button per row... Best, Cris On 8 November 2012 21:53, Cristobal Infante wrote