Results 1 to 3 of 3

Thread: ShowFullScreen on QStackWidget don't work

  1. #1
    Join Date
    Nov 2009
    Posts
    60
    Thanks
    3
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default ShowFullScreen on QStackWidget don't work

    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

  2. #2
    Join Date
    Dec 2009
    Posts
    128
    Thanks
    7
    Thanked 14 Times in 14 Posts
    Platforms
    Unix/X11 Windows

    Default Re: ShowFullScreen on QStackWidget don't work

    Maybe the showFullScreen() should be called on the current widget of the QStackedWidget ?
    something like

    Qt Code:
    1. QStackedWidget *pStackedWidget = new QStackedWidget(...) ;
    2.  
    3. // ... fill it with widgets
    4.  
    5. pStackedWidget->currentWidget()->showFullScreen() ;
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Nov 2009
    Posts
    60
    Thanks
    3
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: ShowFullScreen on QStackWidget don't work

    Hi,

    Tried the code above, it didn't work.

    Can you suggest any other alternative.

    Ratheendran

Similar Threads

  1. Replies: 0
    Last Post: 2nd February 2010, 10:55
  2. Replies: 2
    Last Post: 13th December 2009, 20:27
  3. QStackWidget layoutspacing
    By killerwookie99 in forum Qt Programming
    Replies: 2
    Last Post: 14th August 2008, 21:38
  4. Odd behaviour with showFullScreen
    By KShots in forum Qt Programming
    Replies: 4
    Last Post: 17th August 2007, 13:12
  5. Reuse a Qwidget with a QStackWidget
    By ucomesdag in forum Qt Programming
    Replies: 4
    Last Post: 25th April 2007, 02:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.