[Qt-interest] One Widget on top of Another Problem
Sujan Dasmahapatra
sujan.dasmahapatra at gmail.com
Tue May 11 14:29:01 CEST 2010
Hi Andre
I am not sure about that I may have to look into it , Thanks for the help
On Tue, May 11, 2010 at 5:34 PM, Andre Somers <andre at familiesomers.nl>wrote:
> On 11-5-2010 13:44, Sujan Dasmahapatra wrote:
>
> *Dear Friends*
> *One Widget is on top of snother, when a radio button is checked first
> should pop up, and when the second radio button is checked the second
> widget should pop up...I have tried using show(), hide() slots.. but it
> didnt work. Any idea would be highly appreciated. See the code snippet
> below.*
> *Using Qt- designer I have placed two widgets on of one another.*
>
>
> Look into QStackedWidget. You can put each of your editors onto different
> pages of the stack.
>
> Apart from that, your code looks like you are creating widgets on the
> stack. Don't.
>
> André
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
--
Thanks & Regards
Sujan Dasmahapatra
B.E. (Aeronautics)
Bangalore, India
Ph:91-9900839788
Office:91-80-66470248
mail id : sujan.dasmahapatra at gmail.com
yahoo msn : dasmahapatra.aerodynamics at yahoo.co.in
icq # 556023244
skype:sujan.dasmahapatra at skyepe.com <skype%3Asujan.dasmahapatra at skyepe.com>
msn: sujan.dasmahapatra at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100511/d4b833b1/attachment.html
More information about the Qt-interest-old
mailing list