Anshuman
27th April 2011, 10:14
hello friends
Actually i face a problem while going form one Mainwindow to another Mainwindow..
suppose i have mainwindow name Mainwindow1 and another mainwindow name Mainwindow2...now on the pushbutton of Mainwindow1 when i want to go to Mainwindow2 then it works but the layout of the mainwindow changes..its size decreses..
the code i have wrritten in pushbutton of Mainwindow is..
void MainWindow1::on_Clicked_pushButton()
{
MainWindow2 *m=new Mainwindow();
m.showFullscreen();
}
but when i perform same task by using diaglog its works fine..so whats the problem..if anyone please suggest..
with regards
Anshuman
Actually i face a problem while going form one Mainwindow to another Mainwindow..
suppose i have mainwindow name Mainwindow1 and another mainwindow name Mainwindow2...now on the pushbutton of Mainwindow1 when i want to go to Mainwindow2 then it works but the layout of the mainwindow changes..its size decreses..
the code i have wrritten in pushbutton of Mainwindow is..
void MainWindow1::on_Clicked_pushButton()
{
MainWindow2 *m=new Mainwindow();
m.showFullscreen();
}
but when i perform same task by using diaglog its works fine..so whats the problem..if anyone please suggest..
with regards
Anshuman