<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: UI dont update in my VR plugin in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/ui-dont-update-in-my-vr-plugin/m-p/12789338#M495</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it indeed seems like the update of the texture that is captured from the plugin is not triggered for some reason.&lt;/P&gt;
&lt;P&gt;One thing you can try is to hide the label and show it again after changing the stylesheet:&lt;/P&gt;
&lt;P&gt;label.hide()&lt;/P&gt;
&lt;P&gt;label.show()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 07:47:05 GMT</pubDate>
    <dc:creator>sinje_thiedemann</dc:creator>
    <dc:date>2024-05-22T07:47:05Z</dc:date>
    <item>
      <title>UI dont update in my VR plugin</title>
      <link>https://forums.autodesk.com/t5/vred-forum/ui-dont-update-in-my-vr-plugin/m-p/12772224#M494</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with my plugin, I created a Tool in the VR menu that the user can open to put annotation on a 3d model by clicking on the trigger while aiming with the laser.&lt;/P&gt;&lt;P&gt;This plugin is mean to be used with someone behind the computer, so he can put some text in the annotation, however when I want to change the annotation color (I put 8&amp;nbsp;&lt;SPAN&gt;QPushButton with a different background color and the user just aim them and press the trigger to change the annotation color), I want to display the current color, it works perfectly well on the computer but it doesnt update my vr plugin (I put a qLabel and I setStyleSheet to change the current color) and I need to create another annotation for it to update. And I just found that resizing the plugin window on the computer update my VR plugin UI like I want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you can see in the picture, I picked blue, it updated my computer plugin but not my VR plugin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vreduivr.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1361958iD5240C1416A28BBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vreduivr.png" alt="vreduivr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to update/repaint/processevent on the tool/the widget but I cant make it work, do I need to do something special to update the VR UI ? Or maybe its a QT problem ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adrien.P&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 13:07:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/ui-dont-update-in-my-vr-plugin/m-p/12772224#M494</guid>
      <dc:creator>adrienpeyrard</dc:creator>
      <dc:date>2024-05-14T13:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: UI dont update in my VR plugin</title>
      <link>https://forums.autodesk.com/t5/vred-forum/ui-dont-update-in-my-vr-plugin/m-p/12789338#M495</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it indeed seems like the update of the texture that is captured from the plugin is not triggered for some reason.&lt;/P&gt;
&lt;P&gt;One thing you can try is to hide the label and show it again after changing the stylesheet:&lt;/P&gt;
&lt;P&gt;label.hide()&lt;/P&gt;
&lt;P&gt;label.show()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 07:47:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/ui-dont-update-in-my-vr-plugin/m-p/12789338#M495</guid>
      <dc:creator>sinje_thiedemann</dc:creator>
      <dc:date>2024-05-22T07:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: UI dont update in my VR plugin</title>
      <link>https://forums.autodesk.com/t5/vred-forum/ui-dont-update-in-my-vr-plugin/m-p/12789927#M496</link>
      <description>&lt;P&gt;Thank you it works really well !&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 12:28:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/ui-dont-update-in-my-vr-plugin/m-p/12789927#M496</guid>
      <dc:creator>adrienpeyrard</dc:creator>
      <dc:date>2024-05-22T12:28:51Z</dc:date>
    </item>
  </channel>
</rss>

