<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Why wouldn't you what to just use up/down (tristate) buttons?<br><br>You can set a widget to get mouse events even when the mouse is not down, but I do not know if the enabling changes that.<br><br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><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> Jason H <scorp1us@yahoo.com>; PyQt@riverbankcomputing.com<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, July 31, 2009 2:51:05 PM<br><b><span style="font-weight: bold;">Subject:</span></b> RE: [PyQt] Make widget look
disabled<br></font><br>
<title>Make widget look disabled</title>
<style type="text/css">DIV {
MARGIN:0px;}
</style>
<div><font color="#0000ff" face="Arial" 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></div></div></div><br>
</body></html>