<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Rerender Widget depending on QComboBox current index]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am working on an application that must do kind of different rendering on the GLWidget depending on the value of the QComboBox current index.<br />
On the widget I have 2 axis rendered. On the MainWIndow I have 2 comboboxes, for selecting lables for the axis. Depending on the current indexes of comboboxes, i want to render different labels for axis.<br />
How to do that?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.qt.io/topic/30483/rerender-widget-depending-on-qcombobox-current-index</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 17:38:03 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/30483.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Aug 2013 17:30:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Rerender Widget depending on QComboBox current index on Fri, 09 Aug 2013 13:09:16 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for quick answer. It helped.</p>
<p dir="auto">Mikael</p>
]]></description><link>https://forum.qt.io/post/190333</link><guid isPermaLink="true">https://forum.qt.io/post/190333</guid><dc:creator><![CDATA[Mike_newbye]]></dc:creator><pubDate>Fri, 09 Aug 2013 13:09:16 GMT</pubDate></item><item><title><![CDATA[Reply to Rerender Widget depending on QComboBox current index on Thu, 08 Aug 2013 18:24:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi, welcome to devnet.</p>
<p dir="auto">Connect currentIndexChanged(int) signals of your comboboxes to the updateGL() slot of your gl widget. This will call paintGL() whenever you change your selection. Inside the paintGL you check current indices of the combos with currentIndex() and draw based on that.</p>
]]></description><link>https://forum.qt.io/post/190205</link><guid isPermaLink="true">https://forum.qt.io/post/190205</guid><dc:creator><![CDATA[Chris Kawa]]></dc:creator><pubDate>Thu, 08 Aug 2013 18:24:12 GMT</pubDate></item></channel></rss>