<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<p>The "*" key expands all children but you can easily implement
your own expand / collapse subtree functionality.<br>
</p>
<p>bests<br>
Zoli<br>
</p>
<br>
On 2011.04.19. 23:09, James Polk wrote:
<blockquote cite="mid:129321.31648.qm@web38302.mail.mud.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top"><br>
Greetings All,<br>
<br>
In a typical QTreeView,...the default behaviour of
clicking on a "plus box",<br>
i.e. the branch boxes of the tree, yields a "single box
open", or in the case<br>
of collapsing, a "single box closed" event.<br>
<br>
Is there any way to use a keyboard modifier, like SHIFT,
CTRL, and/or ALT,<br>
to expand or collapse the *whole* tree?<br>
<br>
Many other similiar tree structures in other software have
this feature.<br>
For example, holding down CTRL and ALT and clicking on any
box will<br>
unfold/expand (or collapse) all nodes/branches from that
node and all below.<br>
Is there something I'm overlooking? Is this
(re-)implementable ?<br>
<br>
Many Thanks,<br>
-Jim<br>
</td>
</tr>
</tbody>
</table>
<pre wrap=""><a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
<br>
</body>
</html>