×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    101

    custom QWidget and QStackedWidget in Qlayout

    hi , all

    my main widget QVBoxLayout two custom widget

    a custom qwidget and a qstackedwidget in it.

    QVBoxLayout::addWidget(qstackedwidget);
    QVBoxLayout::addWidget(qwidget );

    qstackedwidget include a qlabel with a qpixmap

    a custom qwidget and a qstackedwidget implement sizeHint,

    but when main widget invoke showMaximized , find the qwidget not show in screen.

    but when main widget invoke showFullScreen, find the qwidget show in screen

    How to control the size of qstackedwidget??

    or What should I pay attention. about qstackedwidget??

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    166

    Re: custom QWidget and QStackedWidget in Qlayout

    Its quite confusing the way you wrote your question. Can you please ask question again and describe it properly. can you also paste your code.
    http://kunalmaemo.blogspot.com/

Similar Threads

  1. Replies: 1
    Last Post: 2010-11-19, 06:36
  2. How to make custom QWidget animatable?
    By forceoflight in forum Qt
    Replies: 1
    Last Post: 2010-10-19, 21:11
  3. Losing dimension of QStackedWidget?
    By novemberox in forum Qt
    Replies: 9
    Last Post: 2010-07-19, 12:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×