PDA

View Full Version : Creating custom slots



harb37
23rd June 2008, 16:37
Hello all. I'm new to QT4 and I'm looking into creating my own custom slots for some of the pre-existing widgets. How might I do this? For that matter, how do I edit the source code of my project? I see a "View Code..." option, but this code is un-editable. TIA!

munna
23rd June 2008, 16:58
This (http://www.qtcentre.org/forum/f-qt-programming-2/t-possible-to-connect-defined-signalsavailable-in-qt-designer-to-custom-slots-14159.html) might help

harb37
23rd June 2008, 18:10
Thank you Munna for your response. I feel incredibly dumb about this, but where exactly is the source code and how can I add new header/cpp files for the project I created? All I can really find is the .ui file. This was somewhat glossed over in that post you provided.