<div dir="ltr"><div>Chiranjib</div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>1. Enable a checkbox and a corresponding passive button become active, e.g. (fig from left to fig at right)</div><div><br></div><div><img src="cid:ii_14f917cc6a1ae317" alt="Inline image 1" width="544" height="67"><br></div><div><br></div></div></blockquote><div><br></div><div>In this particular case, we do this by implementing a custom pqPropertyWidget subclass that handles this. The class of interest is pqCubeAxesPropertyWidget.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div>2. How to select enable a drop down menu active, e.g.</div><div><br></div><div><img src="cid:ii_14f917d5419462db" alt="Inline image 2" width="544" height="95"><br></div></div></blockquote><div><br></div><div>In this particular case, this too is managed by a custom widget (pqPointSpriteControls). However, one can use PropertyWidgetDecorators (described here <a href="http://www.paraview.org/Wiki/ParaView/Properties_Panel#pqPropertyWidgetDecorator_.28base-class:_QObject.29">http://www.paraview.org/Wiki/ParaView/Properties_Panel#pqPropertyWidgetDecorator_.28base-class:_QObject.29</a>) for similar effect. Just search for Decorator in the filters.xml and you'll see several examples of using decorator to enable/disable widgets based on values of other properties. You can also define new decorators through plugins.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>3. How to bring a new button after selecting some menu options (checkbox, drop down etc.)</div><div><br></div><div><img src="cid:ii_14f917df9289df62" alt="Inline image 3" width="544" height="77"><br></div><div><br></div><div><br></div></div></blockquote><div><br></div><div>Custom widget here too. You can write a pqPropertyWidget subclass that handles such customizations. A pqPropertyWidget can correspond to a single property or a group of properties.</div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Finally, is it possible to add two checkbox menu side by side. Currently, when I code it I get them in successive lines.</div></div></blockquote><div><br></div><div>You know it...custom widget for two properties. But those in a property group and create a new widget for that group.</div><div><br></div></div></div></div>