<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Make widget look disabled</TITLE>
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.5730.13" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=565154718-31072009>I have
4 widgets. The widget that is currently active has a border around the
frame. I want the user to be able to select the other 3 widgets, but while
they are not selected I want them to look disabled. When I disable using
setEnabled(False), I can't get the mouse events for those widgets to unselect
the last frame and draw a border around the newly selected
frame.</SPAN></FONT></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Jason H
[mailto:scorp1us@yahoo.com]<BR><B>Sent:</B> Friday, July 31, 2009 2:46
PM<BR><B>To:</B> Anita Westman; PyQt@riverbankcomputing.com<BR><B>Subject:</B>
Re: [PyQt] Make widget look disabled<BR><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV>What in the world you are trying to do?<BR><BR>I seriously question your
logic...<BR><BR>And it's not a PyQt question.<BR><BR>But what about setting
the stylesheet to match a disabled one?<BR><BR></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><BR>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><FONT
face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Anita Westman
<AWestman@evertz.com><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B>
PyQt@riverbankcomputing.com<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, July 31, 2009 2:02:25
PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [PyQt] Make
widget look disabled<BR></FONT><BR>
<P><FONT face=Arial size=2>How would I make a widget look disabled with it
actually being enabled?</FONT>
</P></DIV></DIV></DIV><BR></BLOCKQUOTE></BODY></HTML>