
Originally Posted by
talk2amulya
hey, do you mind sharing some code/psuedocode of how ur code is, how u create objects, so its more clearer
QWindow1::QWindow1()
{
setupUi(this);
QDialog1 *pDialog=new QDialog1;
...
connect(pDialog,SIGNAL(mysignal()),this,SLOT(function1()));
}
QWindow1::QWindow1()
{
setupUi(this);
QDialog1 *pDialog=new QDialog1;
...
connect(pDialog,SIGNAL(mysignal()),this,SLOT(function1()));
}
To copy to clipboard, switch view to plain text mode
in QDialog1:
QDialog1::QDialog1()
{
setupUi(this);
connect(pButton1,SIGNAL(clicked()),this,SLOT(runButton1()));
...
}
void QDialog1::runButton1()
{
emit mysignal();
}
QDialog1::QDialog1()
{
setupUi(this);
connect(pButton1,SIGNAL(clicked()),this,SLOT(runButton1()));
...
}
void QDialog1::runButton1()
{
emit mysignal();
}
To copy to clipboard, switch view to plain text mode
Bookmarks