[Qt-interest] Generic Question
aashish sheshadri
aashish1989 at hotmail.com
Tue Nov 1 05:55:30 CET 2011
How to use signal from base class and slot from the inherited class.
OpenCViso::OpenCViso():MainWindow() //constructor for class OpenCViso inheriting (public) class Mainwindow
{
connect(this,SIGNAL(BeginExec()),this,SLOT(LoadCalibParam()));
}
BeginExec() is defined in the class MainWindow as a signal.LoadCalibParam() is defined in OpenCViso as a public slot.
I get the following error
Object::connect: No such slot MainWindow::LoadCalibParam() in opencviso.cpp:6
Object::connect: (sender name: 'MainWindow')
Object::connect: (receiver name: 'MainWindow')
I am a novice.
Thanks
> From: qt-interest-request at qt.nokia.com
> Subject: Qt-interest Digest, Vol 11, Issue 107
> To: qt-interest at qt.nokia.com
> Date: Mon, 31 Oct 2011 17:59:34 +0100
>
> Send Qt-interest mailing list submissions to
> qt-interest at qt.nokia.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
> or, via email, send a message with subject or body 'help' to
> qt-interest-request at qt.nokia.com
>
> You can reach the person managing the list at
> qt-interest-owner at qt.nokia.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qt-interest digest..."
>
>
> Today's Topics:
>
> 1. Re: qmake (Graham Labdon)
> 2. Re: Qt 4.7.4 - animation (John Weeks)
> 3. Directory Dialog Performance Issue (Sudheesh Krishnankutty)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Oct 2011 15:33:03 +0000
> From: Graham Labdon <Graham.Labdon at avalonsciences.com>
> Subject: Re: [Qt-interest] qmake
> To: Thiago Macieira <thiago at kde.org>, "qt-interest at qt.nokia.com"
> <qt-interest at qt.nokia.com>
> Message-ID:
> <DA78E044FB673F438F102FC52CA4A62C0535032A at ASLUKEXSVR.avalonsciences.local>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Thanks!
>
> -----Original Message-----
> From: qt-interest-bounces+graham.labdon=avalonsciences.com at qt.nokia.com [mailto:qt-interest-bounces+graham.labdon=avalonsciences.com at qt.nokia.com] On Behalf Of Thiago Macieira
> Sent: 31 October 2011 15:08
> To: qt-interest at qt.nokia.com
> Subject: Re: [Qt-interest] qmake
>
> On Monday, 31 de October de 2011 14:56:05 Graham Labdon wrote:
> > Hello list
> >
> > I have a .pro file that when I run qmake under windows generates
> > Makefile Makefile.release Makefile.debug
> >
> > When I run qmake on the same .profile under linux I only get a single
> > make file that produces a release verison
> >
> > Why are these different?
>
> Because your Qt on Windows was built in debug-and-release mode, while the one on Linux was probably built on release-only mode.
>
> > How can I get a debug version on Linux?
>
> qmake CONFIG-=release CONFIG+=debug
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel Open Source Technology Center
> PGP/GPG: 0x6EF45358; fingerprint:
> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 31 Oct 2011 09:26:23 -0700
> From: John Weeks <john at wavemetrics.com>
> Subject: Re: [Qt-interest] Qt 4.7.4 - animation
> To: Ridvan Sonmez <rsonmez2002 at yahoo.com>
> Cc: "qt-interest at qt.nokia.com" <qt-interest at qt.nokia.com>
> Message-ID: <D09E9AFC-970D-4825-824D-CC89C820E0B2 at wavemetrics.com>
> Content-Type: text/plain; charset="us-ascii"
>
>
> On 31-Oct-2011, at 12:31 AM, Ridvan Sonmez wrote:
>
> > Hello
> >
> > i am trying to understand from your (Qt) documentation example for animations named "stickman". There is a
> > problem for me - what is type of these resource files "chilling","dancing" etc. inside of "resources" dir. How i see they
> > are bin files but how do you (with which tool) create them ? i suppose this is not secret - becouse there isn't Do you may help me - i want to create similar
> > animation scene and learn animation in better way or even "improve" some things inside of these classes.
>
> I would read the file animation.cpp. There are suggestively-named methods there, like Animation::save and Animation::load.
>
> Regards, John Weeks
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.qt.nokia.com/pipermail/qt-interest/attachments/20111031/289ae013/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Mon, 31 Oct 2011 22:29:23 +0530
> From: "Sudheesh Krishnankutty" <sudheesh at softjin.com>
> Subject: [Qt-interest] Directory Dialog Performance Issue
> To: <qt-interest at qt.nokia.com>
> Message-ID: <000c01cc97ee$7183b790$548b26b0$@com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
>
>
> In the attached project, I am using two types of directory browse dialogs.
> One using the static method QFileDialog::getExistingDirectory() and the
> other one by sub-classing the QFileDialog class.
>
> My observation is that when there are many mapped drives ( z mapped to
> <file:///\\pc1\share1> \\pc1\share1 y mapped to <file:///\\pc2\share2>
> \\pc2\share2 etc..) the MyFileDialog is very slow. If any of the mapped
> systems are offline, then the MyFileDialog becomes even slower.
>
> can you pls explain why MyFileDialog is very very slow when compared to the
> Native dialog (static method).
>
> We prefer using the MyFileDialog. Is there a way I can speed up the
> MyFileDialog?
>
>
>
> Regards,
>
> Sudheesh
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.qt.nokia.com/pipermail/qt-interest/attachments/20111031/d8a98f51/attachment.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: DirDialog.zip
> Type: application/octet-stream
> Size: 20940 bytes
> Desc: not available
> Url : http://lists.qt.nokia.com/pipermail/qt-interest/attachments/20111031/d8a98f51/attachment.obj
>
> ------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
> End of Qt-interest Digest, Vol 11, Issue 107
> ********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111101/aa3d0564/attachment.html
More information about the Qt-interest-old
mailing list