PDA

View Full Version : ShowFullScreen on QStackWidget don't work



Ratheendrans
6th May 2010, 16:30
Hi All,

I am using stackwidget in my application to show other widgets, now showFullScreen() method is not working on stackwidget object. I mean geometry don't change after calling this method.

So can any one guide on implementing showFullScreen() Method.


Ratheendran

totem
7th May 2010, 09:00
Maybe the showFullScreen() should be called on the current widget of the QStackedWidget ?
something like



QStackedWidget *pStackedWidget = new QStackedWidget(...) ;

// ... fill it with widgets

pStackedWidget->currentWidget()->showFullScreen() ;

Ratheendrans
10th May 2010, 18:34
Hi,

Tried the code above, it didn't work.

Can you suggest any other alternative.

Ratheendran