Hi Phil,
The SIP-4 API feels great and I can RECOMMEND sip-4 to newbies because
handwritten code is much easier to write.
While adapting PyQwt for sip-4, I ran into the following warnings indicating
that event handlers are getting objects of the wrong type:
TypeError: argument 1 of
On Thu, 23 Oct 2003 09:48:59 -0700
James Lamanna [EMAIL PROTECTED] wrote:
I've noticed that setCaption() doesn't appear to be working in the
NC-Windows version of PyQt.
Using this test program:
from qt import *
import sys
class MyWidget(QMainWindow):
def __init__(self):
I tried this on the qt-interest list, but didn't get any replies. Perhaps
someone here will be able to help me?
I have a window which contain a QLabel, which I've set to hold an image. When
the user makes the window bigger, I fetch the size of the QLabel and scale
the image to be that big.
Le Lundi 27 Octobre 2003 09:13, Derek Fountain a écrit :
I want the user to be able to push the window smaller, then have the image
rescaled smaller. What do I need to enable/disable to make this happen?
Have you tried to set the minimum size to (0,0)?
You can do it with setMinimumSize(0,0).
On Monday 27 October 2003 16:28, Aurélien Gâteau wrote:
Le Lundi 27 Octobre 2003 09:13, Derek Fountain a écrit :
I want the user to be able to push the window smaller, then have the
image rescaled smaller. What do I need to enable/disable to make this
happen?
Have you tried to set the
On Monday 27 October 2003 7:31 am, Gerard Vermeulen wrote:
Hi Phil,
The SIP-4 API feels great and I can RECOMMEND sip-4 to newbies because
handwritten code is much easier to write.
I'm most of the way through adding support for pointers and references to base
types (eg. int ) so you won't
On Monday 27 October 2003 9:07 am, Aurélien Gâteau wrote:
Hi list!
I'm trying to bind some special connect functions with SIP 3.7. The C++
code looks like this:
/--
namespace DolSphinx {
void connectVolumeChanged(QObject* object, const char* receiver);
}
--/
Based on the QTimer sip
Le Lundi 27 Octobre 2003 11:50, Aurélien Gâteau a écrit :
I just tried it. The SIP file compiles correctly, but whenever I call the
connect method, I get this new error:
/--
RuntimeError: Signal has wrong argument types for slot
--/
How do I convince Python that my slot is using the correct
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
The following code works as expected:
QListViewItem(self.element_list, foo)
But now I'm trying to subclass a QListViewItem:
class ElementItem(QListViewItem):
def __init__(self, parent, elem):
QListViewItem.__init__(parent,
On Mon, 27 Oct 2003 08:44:02 +0100, Gerard Vermeulen
[EMAIL PROTECTED] wrote:
I am sure that it works without the self.tr() call. However, you'll see
an annoying [FreeWare] Internationalization Example, but I think that
is a feature of Qt-NC.
Removing the tr() call and using the program below, I
On Monday 27 October 2003 5:24 pm, Peter Bienstman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
The following code works as expected:
QListViewItem(self.element_list, foo)
But now I'm trying to subclass a QListViewItem:
class ElementItem(QListViewItem):
def
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 27 October 2003 18:51, you wrote:
On Monday 27 October 2003 5:24 pm, Peter Bienstman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
The following code works as expected:
QListViewItem(self.element_list, foo)
On Mon, 27 Oct 2003 19:28:56 +0100, Gerard Vermeulen
[EMAIL PROTECTED] wrote:
You are sure of this? See:
Python 2.2.2 (#1, Oct 23 2002, 12:12:09)
There might be two differences between your example and mine.
#1 You are using Python 2.2.2, I'm running 2.3.2
#2 (Which I suspect is the culprit) I
On Mon, 27 Oct 2003 13:36:08 -0500, Andrew Bushnell [EMAIL PROTECTED] wrote:
No as James pointed out in a separate email to me, the ; is not the
problem and is ok syntax. I misspoke when I mentioned the ; as a
potential issue (for some reason, I had it in my mind that I had
problems when using
On Mon, 27 Oct 2003 10:40:54 -0800
James Lamanna [EMAIL PROTECTED] wrote:
On Mon, 27 Oct 2003 19:28:56 +0100, Gerard Vermeulen
[EMAIL PROTECTED] wrote:
You are sure of this? See:
Python 2.2.2 (#1, Oct 23 2002, 12:12:09)
There might be two differences between your example and mine.
On Mon, 27 Oct 2003 20:01:20 +0100, Gerard Vermeulen
[EMAIL PROTECTED] wrote:
I know what I am talking about. Pretty sure that if you buy a license,
your problem will disappear.
Buy a license for $1500 for my own personal use, just so setCaption() will
work?
Umm, probably not.
I write free,
I want to bind Ctrl-Left Arrow and Ctrl-Right Arrow to switch to the previous
or next open document (tab) in Eric, does anyone know how to do this? The KDE
konsole does this by default and I became so addicted to it's functionality
that I configured Konqueror to do the same. No I hope to be
I have a qlistview with 2 columns and a set number of rows. I've filled in the
row names into column 0 in designer; my code now just fills in the values in
column 1 when it gets the information.
The problem is the qlistview is defaulting to having sorting on column 0. The
code pyuic generates
18 matches
Mail list logo