<?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[Q_PROPERTY : problems with DESIGNABLE flag]]></title><description><![CDATA[<p dir="auto">Hi everyone,<br />
I'm using the Q_PROPERTY to create a table, and using the DESIGNABLE flag I want to make sure that one page is visible while in another no.</p>
<pre><code>Q_PROPERTY(QPointF Position READ Position DESIGNABLE false)
</code></pre>
<p dir="auto">With this code works, while if I try to replace with a function it will not work anymore.<br />
Can I put a function? Is there a way to custom it?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.qt.io/topic/80478/q_property-problems-with-designable-flag</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 10:48:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/80478.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Jun 2017 09:58:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Q_PROPERTY : problems with DESIGNABLE flag on Tue, 20 Jun 2017 07:20:43 GMT]]></title><description><![CDATA[<p dir="auto">I would have preferred a quicker way using Q_PROPERTY, but I think the only way is what you've suggested to me.<br />
Thanks so much</p>
]]></description><link>https://forum.qt.io/post/400562</link><guid isPermaLink="true">https://forum.qt.io/post/400562</guid><dc:creator><![CDATA[Gianluca86]]></dc:creator><pubDate>Tue, 20 Jun 2017 07:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to Q_PROPERTY : problems with DESIGNABLE flag on Tue, 20 Jun 2017 06:43:07 GMT]]></title><description><![CDATA[<p dir="auto">Then what about having a method in your class returning a list of the "previewable" properties ? Then you'd query only these properties in your "print preview" page and if you modify your class you only have to update that list of properties.</p>
]]></description><link>https://forum.qt.io/post/400543</link><guid isPermaLink="true">https://forum.qt.io/post/400543</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 20 Jun 2017 06:43:07 GMT</pubDate></item><item><title><![CDATA[Reply to Q_PROPERTY : problems with DESIGNABLE flag on Tue, 20 Jun 2017 06:35:47 GMT]]></title><description><![CDATA[<p dir="auto">I will try to explain it with a practical example.<br />
I have a rectangular object that has the property of the position. I create a property table where I insert the properties. This procedure is used in 2 separate pages, but I would like a page, such as a "print preview", not to display the position, but only other properties.<br />
The class I use to generate the table is always the same.</p>
<p dir="auto">I hope I have explained myself better.</p>
]]></description><link>https://forum.qt.io/post/400540</link><guid isPermaLink="true">https://forum.qt.io/post/400540</guid><dc:creator><![CDATA[Gianluca86]]></dc:creator><pubDate>Tue, 20 Jun 2017 06:35:47 GMT</pubDate></item><item><title><![CDATA[Reply to Q_PROPERTY : problems with DESIGNABLE flag on Mon, 19 Jun 2017 22:02:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You can't use a function there, it's a constant. Either you can use designer to modify that property or you can't.</p>
<p dir="auto">What exactly are you trying to achieve ?</p>
]]></description><link>https://forum.qt.io/post/400477</link><guid isPermaLink="true">https://forum.qt.io/post/400477</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 19 Jun 2017 22:02:16 GMT</pubDate></item></channel></rss>