Re: [PyQt] Rotated text in QTableWidget cell

2012-04-12 Thread Bart Kroon
You'll probably have to resort to implementng a delegate with a custom paint method. maybe this link can help you with the actual painting of the text: http://qt-project.org/faq/answer/how_can_i_draw_vertical_text ___ PyQt mailing listPyQt@riverbank

Re: [PyQt] Errors when quitting event loop

2012-04-12 Thread Bart Kroon
When the Python interpreter is shutting down all objects are set to None. When another thread is then accessing the QObject subclass it finds None and gives an error. You say you are not spawning QThreads but are you using Python threads? These errors are mostly harmless but if you must get rid

Re: [PyQt] QTreeView DragDropMode (Copy vs. Move)

2012-04-12 Thread Bart Kroon
In my project I use a special mime type in DropMimeData() to recognise internal moves and handle them accordingly. I have set the view to handle drag and drop operations. You will need to subclass your model for this. ___ PyQt mailing listPyQt@river

[PyQt] PyQt connect Qwidget on click

2012-04-12 Thread Pierre Barthelemy
Hello, I am using PyQt4 and chaco plot to make a data-analysis program.For each analysis script i run, i generate a plot (chaco.plot) contained into a PyQt4.QtGui.QWidget. As i want to have different processes, i embed all the Qwidget generated in a dictionnary, itself part of a "plot_manager" obj

[PyQt] Errors when quitting event loop

2012-04-12 Thread Jugdish
I'm getting some strange error messages every time I close my PyQt app, but not in consistent places. Errors such as these: *pyqtSignal must be bound to a QObject, not 'ImageLoader'* (ImageLoader is a subclass of QObject, and I make sure to call the super's constructor in the __init__) *QObject