<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.2.99">
</HEAD>
<BODY>
Hello,
<BR>
<BR>
I'm using PyQt-3.1
<BR>
I'm very new to using PyQt and I'm having problems with tables and signals..
<BR>
The signals from all the other widgets I've tried seem to work.
<BR>
<BR>
Using designer, I've created a simple table named Table1.
<BR>
The name of the form is BrowseForm.
<BR>
I get the following error when i run the code.
<BR>
<BR>
QObject::connect: No such slot QMainWindow::Table1_clicked(int,int,int,const QPoint&)
<BR>
QObject::connect: (sender name: 'Table1')
<BR>
QObject::connect: (receiver name: 'BrowseForm')
<BR>
<BR>
This happens with any signal I try to add from a TABLE
<BR>
<BR>
Using designer, I add a Signal Handler clicked(int,int,int,const QPoint&) .
<BR>
Save the file.
<BR>
The browse.ui code contains
<BR>
<connection>
<BR>
<sender>Table1</sender>
<BR>
<signal>clicked(int,int,int,const QPoint&amp;)</signal>
<BR>
<receiver>BrowseForm</receiver>
<BR>
<slot>Table1_clicked(int,int,int,const QPoint&amp;)</slot>
<BR>
</connection>
<BR>
<BR>
I then gererate the py with
<BR>
pyuic -o browse.py -x browse.ui
<BR>
<BR>
The file browse.py contains
<BR>
self.connect(self.Table1,SIGNAL("clicked(int,int,int,const QPoint&)"),self,SLOT("Table1_clicked(int,int,int,const QPoint&)"))
<BR>
and
<BR>
def Table1_clicked(self,a0,a1,a2,a3):
<BR>
print "BrowseForm.Table1_clicked(int, int, int, const QPoint&): Not implemented yet"
<BR>
<BR>
<BR>
When i run python browse.py I get the error
<BR>
<BR>
QObject::connect: No such slot QMainWindow::Table1_clicked(int,int,int,const QPoint&)
<BR>
QObject::connect: (sender name: 'Table1')
<BR>
QObject::connect: (receiver name: 'BrowseForm')
<BR>
<BR>
Any help or ideas, or am I doing this all wrong ????
<BR>
<BR>
Thanks
<BR>
TC
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>