<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 29, 2016 at 8:27 PM, Lais P. Carmo <span dir="ltr"><<a href="mailto:lais.carmo@lnls.br" target="_blank">lais.carmo@lnls.br</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p>
</p>
<p><b style="font-size:12pt">2)</b><span style="font-size:12pt"> How can I create a property which is composed by others? An example of this kind is the property geometry of QWidget class: it is composed by X, Y, Width and Height properties.</span></p></div></div></blockquote><div>Don't over think this, it is not complicated. You have functions used to get and set each property value ... anything can be done inside a function. <i>Anything.</i> Just recombine data in a different format. A property doesn't even have to be connected to a real variable if you have a way of generating the data.<span style="font-family:monospace,monospace"> </span></div><div><br></div><div>David</div></div></div></div>