PDA

View Full Version : To open new QML when pushButton is clicked



soumya
3rd May 2010, 05:51
Hi All,

I am using Qt-4.7.0 tp.. I am using QML to design my application. In QML i have some pushButtons when i click on the pushButton new QML should open.The same i used to do it in Qt-4.6 to open a new form as shown below,

void Disp::openLineForm()
{
LineForm lineform(this);
lineform.show();
lineform.exec();
}

Anyone can help me out how to do it in QML it would be a great help..


Thanks & Regards,
Soumya