<div dir="ltr">Hi,<div>I am writing a XML plugin for paraview and I am adding boolean type GUI parameters (appear as checkbox in the property panel) in the following way</div><div><br></div><div><pre class="gmail-de1" style="font-family:monospace,monospace;padding:0px;border:0px none white;color:rgb(0,0,0);background:none rgb(249,249,249);line-height:1.2em;font-stretch:normal;font-size:1em;margin-top:0px;margin-bottom:0px;vertical-align:top"><span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><IntVectorProperty</span> <span class="gmail-re0" style="color:rgb(0,0,102)">name</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"Checkbox 1"</span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"> <span class="gmail-re0" style="color:rgb(0,0,102)">command</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"setProperty1"</span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"> <span class="gmail-re0" style="color:rgb(0,0,102)">number_of_elements</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"1"</span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"> <span class="gmail-re0" style="color:rgb(0,0,102)">default_values</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"1"</span><span class="gmail-re2" style="color:rgb(0,0,0);font-weight:bold">></span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><BooleanDomain</span> <span class="gmail-re0" style="color:rgb(0,0,102)">name</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"bool"</span><span class="gmail-re2" style="color:rgb(0,0,0);font-weight:bold">/></span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"></IntVectorProperty<span class="gmail-re2">></span></span></span></pre><pre class="gmail-de1" style="font-family:monospace,monospace;padding:0px;border:0px none white;color:rgb(0,0,0);background:none rgb(249,249,249);line-height:1.2em;font-stretch:normal;font-size:1em;margin-top:0px;margin-bottom:0px;vertical-align:top"><span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><span class="gmail-re2"><br></span></span></span></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><span class="gmail-sc3" style=""><span class="gmail-re1" style=""><span class="gmail-re2" style=""><pre class="gmail-de1" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;font-weight:normal;background:none rgb(249,249,249);padding:0px;border:0px none white;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><IntVectorProperty</span> <span class="gmail-re0" style="color:rgb(0,0,102)">name</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"Checkbox 2"<br></span></span><span class="gmail-sc3" style="color:rgb(0,153,0)"> <span class="gmail-re0" style="color:rgb(0,0,102)">command</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"setProperty2"<br></span></span><span class="gmail-sc3" style="color:rgb(0,153,0)"> <span class="gmail-re0" style="color:rgb(0,0,102)">number_of_elements</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"1"</span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"> <span class="gmail-re0" style="color:rgb(0,0,102)">default_values</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"1"</span><span class="gmail-re2" style="color:rgb(0,0,0);font-weight:bold">></span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><BooleanDomain</span> <span class="gmail-re0" style="color:rgb(0,0,102)">name</span>=<span class="gmail-st0" style="color:rgb(255,0,0)">"bool"</span><span class="gmail-re2" style="color:rgb(0,0,0);font-weight:bold">/></span></span>
<span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"></IntVectorProperty<span class="gmail-re2">></span></span></span></pre><pre class="gmail-de1" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;font-weight:normal;background:none rgb(249,249,249);padding:0px;border:0px none white;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><span class="gmail-re2"><br></span></span></span></pre>They appear in the GUI like the following</span></span></span></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><br></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><img src="cid:ii_15e80ba2e24573cb" alt="Inline image 1" width="144" height="52" style="margin-right: 0px;"></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><br></pre>I want to <font color="#ff0000"><b>align</b></font> them <b><font color="#0000ff">side by side</font></b>, so that they appear like this<pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><br></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><img src="cid:ii_15e80baed2ff80ae" alt="Inline image 2" width="145" height="25" style="margin-right: 0px;"> <img src="cid:ii_15e80bb3c8f8c716" alt="Inline image 3" width="146" height="25" style="margin-right: 0px;"></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><br></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><br></pre>How do I do that? <br><br><br>Later using the pqServerManager proxy, I need to know what values are set for the checkboxes.<br><br>Any expert clues?<br><br>Thanks in advance.<br>Chiranjib<pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><br></pre><pre class="gmail-de1" style="padding:0px;border:0px none white;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><br><span class="gmail-sc3" style=""><span class="gmail-re1" style=""><span class="gmail-re2" style=""><pre class="gmail-de1" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;font-weight:normal;background:none rgb(249,249,249);padding:0px;border:0px none white;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><span class="gmail-re2"><br></span></span></span></pre><pre class="gmail-de1" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;font-weight:normal;background:none rgb(249,249,249);padding:0px;border:0px none white;line-height:1.2em;font-stretch:normal;margin-top:0px;margin-bottom:0px;vertical-align:top"><span class="gmail-sc3" style="color:rgb(0,153,0)"><span class="gmail-re1" style="color:rgb(0,0,0);font-weight:bold"><span class="gmail-re2"><br></span></span></span></pre></span></span></span></pre></div><div><br></div><div><br></div></div>