<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 3 lug 2019 alle ore 10:34 Rolf-Werner Eilert <<a href="mailto:rwe-sse@osnanet.de">rwe-sse@osnanet.de</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am 03.07.19 um 10:22 schrieb Benoît Minisini:<br>
> Le 03/07/2019 à 09:20, Bruce a écrit :<br>
>> Looks like its possible in QT5 using stylesheets :<br>
>><br>
>> QTreeView::branch:has-siblings:!adjoins-item {<br>
>>      border-image: url(vline.png) 0;<br>
>> }<br>
>><br>
>> QTreeView::branch:has-siblings:adjoins-item {<br>
>>      border-image: url(branch-more.png) 0;<br>
>> }<br>
>><br>
>> QTreeView::branch:!has-children:!has-siblings:adjoins-item {<br>
>>      border-image: url(branch-end.png) 0;<br>
>> }<br>
>><br>
>> QTreeView::branch:has-children:!has-siblings:closed,<br>
>> QTreeView::branch:closed:has-children:has-siblings {<br>
>>          border-image: none;<br>
>>          image: url(branch-closed.png);<br>
>> }<br>
>><br>
>> QTreeView::branch:open:has-children:!has-siblings,<br>
>> QTreeView::branch:open:has-children:has-siblings  {<br>
>>          border-image: none;<br>
>>          image: url(branch-open.png);<br>
>> }<br>
>><br>
>> See <br>
>> <a href="https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview" rel="noreferrer" target="_blank">https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview</a> <br>
>> towards the bottom of the page<br>
>> hth<br>
>><br>
>> b<br>
>><br>
> <br>
> Except that TreeView is not a QT widget anymore. It is entirely written <br>
> in Gambas now.<br>
> <br>
<br>
Oh, that would mean it can be easily tweaked, wouldn't it?<br>
<br>
Rolf<br>
<br></blockquote><div><br></div><div>You can start with try:</div><div> Print TreeView1.Children[0].Name</div><div><br></div><div>:-)</div><div><br></div><div>Regards</div><div>Gianluigi<br> </div></div></div>