[PyQt] disconnect everything connected to an object's signals

2009-06-18 Thread TP
Hi everybody, Qt Assistant says that: Disconnect everything connected to an object's signals: disconnect(myObject, 0, 0, 0) 0 may be used as a wildcard, meaning any signal, any receiving object, or any slot in the receiving object, respectively. But if I do: disconnect(

Re: [PyQt] disconnect everything connected to an object's signals

2009-06-18 Thread Phil Thompson
On Thu, 18 Jun 2009 11:27:20 +0200, TP paratribulati...@free.fr wrote: Hi everybody, Qt Assistant says that: Disconnect everything connected to an object's signals: disconnect(myObject, 0, 0, 0) 0 may be used as a wildcard, meaning any signal, any receiving object, or any

[PyQt] Text orientation in a QTableView Header

2009-06-18 Thread Ben De Luca
Hi List, I was wondering if there was a simple way to change the orientation of the text in a QTableViews QHeaderView? I would like to be able to write the coloumn lables vertically rather than hoziontally for a largenumber of coloumns that contain large labels and single diget numbers

[PyQt] What about qtbrowserplugin?

2009-06-18 Thread piotr maliƄski
QtSoftware has in the add-ons catalog qtbrowserplugin package. I wonder if this framework could get Python API and the possibility to write the plugins in Python? http://www.qtsoftware.com/products/appdev/add-on-products/catalog/4/Utilities/qtbrowserplugin

[PyQt] Page setup for printer defaults

2009-06-18 Thread Robert Norman
Hello PyQt group, My application uses a Brother label printer to spit out labels. I'd like to do a Page Setup, say in my preferences dialog and then save the printer information in a settings so that we don't have to go through a print dialog. Currently I go through the print dialog once then

[PyQt] Function pointers and SIP

2009-06-18 Thread Giovanni Bajo
Hi Phil, given a C++ object where you can register callbacks such as: void registerCallback(void (*cb)(void*), void* user_data); or void registerCallback(std::tr1::functionvoid (void) cb); how would you wrap them in SIP? Is there some code in PyQt that I can look at? -- Giovanni

Re: [PyQt] Function pointers and SIP

2009-06-18 Thread Giovanni Bajo
On gio, 2009-06-18 at 19:01 +0100, Phil Thompson wrote: On Thu, 18 Jun 2009 19:40:08 +0200, Giovanni Bajo ra...@develer.com wrote: Hi Phil, given a C++ object where you can register callbacks such as: void registerCallback(void (*cb)(void*), void* user_data); or