there is a script which generated basic framework for my plugin code and i followed that and added functionality to it . There is no code in my knowledge which would do job of connecting clicked() signal of ok button with function pbnOK_clicked() (ya it is declared as function); In other plugins this is working well. There is no such connection code. Is it possible? or am i missing sth?
currently in my code i had made pbnOK_clicked() as a public slot and connected it to clicked event in constructor of CockGUI class. I hope it will work
CockGui::CockGui() : CockGuiBase()
{
setupUi(this);
connect(pbnOK,SIGNAL(clicked()),this,SLOT(pbnOK_clicked()));
}
CockGui::CockGui() : CockGuiBase()
{
setupUi(this);
connect(pbnOK,SIGNAL(clicked()),this,SLOT(pbnOK_clicked()));
}
To copy to clipboard, switch view to plain text mode
Bookmarks