[PyQt] SIP hello world problem

2009-04-17 Thread Pim Schellart
Dear Users/Developers, I would like to combine some C++ code with my Python programs. I have looked at several options: - Boost - Swig and of course SIP. SIP seems to be best suited to my goal but when building a simple hello world program I ran into the following problem: c++ -c -pipe -fPIC

Re: [PyQt] SIP hello world problem

2009-04-17 Thread piotr maliński
in the sip generated config you have: LIBS = -lhello and ld won't see this if your library won't be in paths visible to ld. SIP isn't documented like for example PyQt4 so it's a bit hard to use ;) 2009/4/17 Pim Schellart p.schell...@student.science.ru.nl Dear Users/Developers, I would like

[PyQt] AutoExpanding Contents QComboBox - Windows

2009-04-17 Thread Darryl Wallace
Hello Everyone, I'm using Windows with Qt4.4.0 and PyQt4.3.3. I have a QComboBox where the contents are wider than the combobox itself. In Linux, when you click on the combobox it expands to the width of the contents. In Windows it cuts the contents off and the view is the same width as

[PyQt] Compiling SIP example

2009-04-17 Thread Pim Schellart
Dear Users/Developers, After failing to compile a simple hello world program with SIP I tried to compile the simple C++ example from the website: http://www.riverbankcomputing.com/static/Docs/sip4/sipref.html#a-simple-c-example I created the files using copy paste and followed the instructions

Re: [PyQt] Compiling SIP example

2009-04-17 Thread piotr maliński
The examples aren't 100% compleate. They only show the bindings, not the library beeing binded. Look at this: http://www.rkblog.rk.edu.pl/w/p/making-pyqt4-widgets-sip/ 2009/4/17 Pim Schellart p.schell...@student.science.ru.nl Dear Users/Developers, After failing to compile a simple hello

Re: [PyQt] tooltips in menu: how?

2009-04-17 Thread V. Armando Solé
Hi! I encounter the same problem as the original poster. The tooltips of QActions in a QMenu are not shown. Is there a solution? My system is Windows XP, python 2.5, Qt 4.4.3 and PyQt 4.4.4 Thanks, Armando Paolo Milani wrote: Hi! :) I'm a newbie. I've searched in the docs, but I haven't

Re: [PyQt] tooltips in menu: how?

2009-04-17 Thread Andreas Pakulat
On 17.04.09 19:57:29, V. Armando Solé wrote: Hi! I encounter the same problem as the original poster. The tooltips of QActions in a QMenu are not shown. Is there a solution? You can set the statustip on the actions, which makes the text show up in the statusbar (at least in KDE apps,

[PyQt] Inverse setModel

2009-04-17 Thread F.A. Pinkse
Hello All, Yes I know it is probably the wrong group, but Am I missing the reverse of QAbstractItemModel.setModel...getModel or has it a different name? If it is not implemented would it not be a nice one to add? Keeping sync with an editable view and the model is not easy. Hmmm

Re: [PyQt] tooltips in menu: how?

2009-04-17 Thread V. Armando Solé
Andreas Pakulat wrote: On 17.04.09 19:57:29, V. Armando Solé wrote: Hi! I encounter the same problem as the original poster. The tooltips of QActions in a QMenu are not shown. Is there a solution? You can set the statustip on the actions, which makes the text show up in the

Re: [PyQt] Inverse setModel

2009-04-17 Thread Lukas Hetzenecker
Hello, did you mean QAbstractItemView.setModel and QAbstractItemView.model? Am Freitag 17 April 2009 21:15:44 schrieb F.A. Pinkse: Hello All, Yes I know it is probably the wrong group, but Am I missing the reverse of QAbstractItemModel.setModel...getModel or has it a different name?

Re: [PyQt] Inverse setModel

2009-04-17 Thread Arnold Krille
Hi, On Friday 17 April 2009 21:15:44 F.A. Pinkse wrote: Yes I know it is probably the wrong group, but Am I missing the reverse of QAbstractItemModel.setModel...getModel or has it a different name? I think you mean QAbstractItemView as there is no actual reason to ask for the model of

Re: [PyQt] Creating PyQt4 bindings with SIP

2009-04-17 Thread David Boddie
On Thu Apr 16 13:30:43 BST 2009, NARCISO, Rui wrote: I have donwloaded a Qt4 widget from teh internet and I'm trying to create the PyQt4 bindings for it. I notice that you're trying to wrap the PictureFlow widget. You may be interested to know that there's already a set of bindings for it on

[PyQt] using myodbc

2009-04-17 Thread Mario Daniel Carugno
Hi there, i'm developing a mysql based application and pyqt. The qt version is 4.3 or higher On linux, there is no problem. I have the compiled mysql driver. Now, if i want to run it on windows, i know that i can compile qt with mysql support. But i don't want to compile the qt lib on windows. I