[Qt-interest] Newbie question about setting a simple signal and slot with creator based code.
Knapp
magick.crow at gmail.com
Mon Feb 16 22:39:22 CET 2009
I had all this understood and working well in pyQT but here I am lost.
Creator has made a working gui and I want to add a custom signal and
slot and its method.
I have the files main.cpp
mainwindow.cpp
mainwindow.h
ui_mainwindow.h
So the first question is where do I put it? In python the custom stuff
would be in main.cpp (of sorts)
The next question is what is the code exactly?
Lets say I have a MYslider and MYlabel. Slide the slider making an int
signal and put 2 times that amount into the MYlabel.
Can someone please just give me the code to do this? I have read lots
of tutorials but am still lost, do to my weak C++. I have all the
overview understanding from having written in pyQT. You would not
think it would be that hard but I am lost after 3 days of trying!
Sorry about the dumb question. :-(
Thanks,
--
Douglas E Knapp
What is the sound of one hand clapping?
More information about the Qt-interest-old
mailing list