<div dir="ltr">Hi Bob,<div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 3, 2015 at 3:57 PM, Robert Michael O'Bara <span dir="ltr"><<a href="mailto:bob.obara@kitware.com" target="_blank">bob.obara@kitware.com</a>></span> wrote:<br><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 style="word-wrap:break-word">Hi Folks,<div><br></div><div>I have a conceptual question concerning how Views work w/r operators:</div><div><br></div><div>Who creates and maintains the attribute system which contains all of the operator attribute specifications?</div><div><br></div><div>qtModelOperationWidget (through setCurrentOperation) - modifies the root view by adding an instance view for the operator - does this ever get deleted?</div><div><br></div></div></blockquote><div><br></div><div>The qtModelOperationWidget holds references of the qtInstancedView for operators once they are requested, and they will be deleted once the qtModelOperationWidget is removed from the system.</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 style="word-wrap:break-word"><div></div><div>It looks like the root view is never processed by the qtUIManager - only the instanced is processed - Am I correct?  If I am, why?</div></div></blockquote><div><br></div><div>This is another typical use of the "view" system before. We have a simple template, and all we need is a qtInstancedView to present the UI for the template, and we don't really need anything from the root view, but the way it was set up, we have to use the root view to get the UI for instanced view.</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 style="word-wrap:break-word"><div>Now that we can add new qtViewWdigets to the UI Manager - do we need to create a operator specific qt view class?</div></div></blockquote><div><br></div><div> I would think not. To me this is a very simple use case for the new view system, and this is also how we generate the meshing panel in cmbV4. I am not sure how other projects are using the view system, but I think this is a common case. Basically, we have a template, and we want to use the qtInstancedView for it. </div><div> </div><div>Yumin</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 style="word-wrap:break-word"><div><div><div><br>
</div>
<br></div></div></div><br>_______________________________________________<br>
Smtk-developers mailing list<br>
<a href="mailto:Smtk-developers@smtk.org">Smtk-developers@smtk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/smtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/smtk-developers</a><br>
<br></blockquote></div><br></div></div>