Re: [PyQt] tooltips in menu: how?

2009-04-18 Thread projetmbc
V. Armando Solé is right. With this solution the tooltips come quickly in my computer. The corresponding PyQt code is : #!/usr/bin/env python # -*- coding: utf-8 -*- import sys from PyQt4 import QtCore, QtGui, uic class MainWindow(QtGui.QWidget): def __init__(self, parent=None):

[PyQt] Re: Compiling SIP example

2009-04-18 Thread Pim Schellart
Piotr thank you for the hint! I build the program separately as a static library (dylibs in mac osx are somewhat tricky) and it works now. Is there an example somewhere on howto convert between python and c/c+ + data types. I am in particular looking for a way to convert a c array of

[PyQt] Re: Inverse setModel

2009-04-18 Thread F.A. Pinkse
Hi Lucas and Arnold, Thank you both for pointing me out that Qt dropped the get. Now let's see whether it does what I think it is doing. Frans. Arnold Krille wrote: 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

[PyQt] Re: tooltips in menu: how?

2009-04-18 Thread Wolfgang Rohdewald
On Saturday, 18. April 2009, projetmbc wrote: V. Armando Solé is right. With this solution the tooltips come quickly in my computer. The corresponding PyQt code is : this code works here too - but not always. First place the mouse over the menu and wait until the tooltip Click here... appears

[PyQt] Call for better SIP documentation (perhaps on wiki)

2009-04-18 Thread Pim Schellart
Dear SIP/PyQT Users/Developers, In my opinion the great thing about the Python language is its ability to glue together programs written in other languages. Unfortunately most tools to help ease this task are geared towards C instead of C++. SIP seems to me to be a good candidate for

Re: [PyQt] Call for better SIP documentation (perhaps on wiki)

2009-04-18 Thread David Boddie
On Sat Apr 18 12:44:15 BST 2009, Pim Schellart wrote: Therefore I call upon the SIP developers and users to create such documentation perhaps in the form of a wiki, and make SIP the default choice! Here are two possible starting points: http://www.diotavelli.net/PyQtWiki/MiniSipExample

Re: [PyQt] __setitem__ Problem

2009-04-18 Thread Phil Thompson
On Thu, 16 Apr 2009 12:26:17 -0600 (MDT), Neil Birkbeck birkb...@cs.ualberta.ca wrote: In older versions of sip (4.7.3), I have used __setitem__, __getitem__ to access/set elements from multidimensional quantities of a wrapped c++ object that uses operator()(int,int). For example, the

[PyQt] First bottom-up GUI, acting strange

2009-04-18 Thread Nonyaz
I made an attempt to port over a little command line file DL script I wrote into a GUI as a practice working with PyQt. While I have seemingly achieved that goal, the resulting product is not acting as I suspected. When I start a download, the GUI will continue to update as long as I don't click