[Qt-interest] One Widget on top of Another Problem
Sujan Dasmahapatra
sujan.dasmahapatra at gmail.com
Tue May 11 13:44:04 CEST 2010
*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.*
*QTextEdit edit1, edit2;
*
*if(radio_1->isChecked()==true) {*
*edit2->hide();*
*edit1->show();*
*}*
*else {*
*edit1->hide();*
*edit2->show()*
*}
--*
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/eb5c5659/attachment.html
More information about the Qt-interest-old
mailing list