Re: [PyQt] QtDBus not wrapped, trouble using dbus-python (communication hangs)

2008-03-13 Thread Jim Bublitz
On Thursday 13 March 2008 15:50, Adeodato Simó wrote: > * Phil Thompson [Thu, 13 Mar 2008 22:03:08 +]: > > You need to create the QApplication before the main loop. > > Oh, changing that makes the example work, thank you. > However, if I change QApplication to KApplication, I get this error: >

Re: [PyQt] QtDBus not wrapped, trouble using dbus-python (communication hangs)

2008-03-13 Thread Adeodato Simó
* Phil Thompson [Thu, 13 Mar 2008 22:03:08 +]: > You need to create the QApplication before the main loop. Oh, changing that makes the example work, thank you. However, if I change QApplication to KApplication, I get this error: QMutex::lock: Deadlock detected in thread -1210529600 And the

Re: [PyQt] QtDBus not wrapped, trouble using dbus-python (communication hangs)

2008-03-13 Thread Phil Thompson
On Thursday 13 March 2008, Adeodato Simó wrote: > Hello. > > I've read in the list archives that QtDBus is not wrapped because there > would be severe limitations in the bindings, and a more pythonic version > of the bindings exists (dbus-python). > > However, I'm having trouble with exporting an i

[PyQt] QtDBus not wrapped, trouble using dbus-python (communication hangs)

2008-03-13 Thread Adeodato Simó
Hello. I've read in the list archives that QtDBus is not wrapped because there would be severe limitations in the bindings, and a more pythonic version of the bindings exists (dbus-python). However, I'm having trouble with exporting an interface using those bindings. I've started with the example

[PyQt] use c++ files from PyQt

2008-03-13 Thread Linos
Should be possible to create a model (QAbstractTableModel subclass) and a view (QTableView subclass) in c++ and use it from a PyQt program with sip or any other way? Regards, Miguel Angel. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www

Re: [PyQt] PyQt book "Rapid GUI Programming with Python and Qt"

2008-03-13 Thread Gustavo A. Díaz
Done ;) I'm really glad you like it and hope it will prove to be really useful! > > (And if you felt like it, maybe add a nice comment on amazon:-) -- Gustavo A. Díaz GDNet Projects www.gdnet.com.ar ___ PyQt mailing listPyQt@riverbankcomputing.

Re: [PyQt] Multiple Inheritance

2008-03-13 Thread Hans-Peter Jansen
[Ivan, two things first: keep discussions on this fairly low volume list, and do not top post, if remotely possible] Am Donnerstag, 13. März 2008 schrieb Ivan Coronado: > I want to create class that inherits Qmainwindow and qthread support, but > now i'm thinking about create two diferent classes

Re: [PyQt] Multiple Inheritance

2008-03-13 Thread Hans-Peter Jansen
Am Donnerstag, 13. März 2008 schrieb Ivan Coronado: > Is possible the Multiple Inheritance from qt classes with PyQt?? Yes and no, since at most one sip generated class can be involved. The question is, what's your purpose? Pete ___ PyQt mailing list

Re: [PyQt] Multiple Inheritance

2008-03-13 Thread Phil Thompson
On Thursday 13 March 2008, Ivan Coronado wrote: > Is possible the Multiple Inheritance from qt classes with PyQt?? No. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Multiple Inheritance

2008-03-13 Thread Ivan Coronado
Is possible the Multiple Inheritance from qt classes with PyQt?? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QGridLayout doesn't remove widgets

2008-03-13 Thread Phil Thompson
On Wednesday 12 March 2008, Dr. Katja Wegner wrote: > Hello, > > I have a QWidget with a QVBoxLayout and inside is a QGridLayout to show a > text and a combo box in each line. If the user pushes the button "change > grid", the current boxes and labels shall be removed and new boxes and > labels sha