<br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 3:52 PM, Gabriel M. Beddingfield <span dir="ltr"><<a href="mailto:gabrbedd@gmail.com">gabrbedd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
<br>
On Sat, 12 Jun 2010, Jeremy wrote:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
internal UI would be more what I want.  If there is already a system in<br>
place for communicating basic input controls, I don't see why I should<br>
reinvent it simply to use Qt widgets.  However, the fact that I was referred<br>
to using external_ui seems to imply that an internal Qt Gui is not possible.<br>
The fact that ui:GtkGUI exists and ui:QtGUI does not also seems to indicate<br>
so.<br>
</blockquote>
<br></div>
The bottom line is this:<br>
<br>
A. If you want to stick with Qt and have minimal hassles implementing your plugin, go with the external UI.<br>
<br>
B. If you really want an internal UI and want to have minimal hassles implementing your plugin, switch to GTK+ (or gtkmm) and use the internal extension.<br>
<br>
C. If you really want Qt /and/ internal, then be prepared to pave roads for everyone else.  :-)<br>
<br>
D. <flamebait>Establish an extention that is analog to VSTGUI, where the plugins abstractly define their GUI and the host is responsible for drawing them.</flamebait>  If you go this route, you'll need to talk/argue it out on the LV2 dev list.<br>


<br>
All of these are fully respectible options.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This<<a href="http://lists.lv2plug.in/pipermail/devel-lv2plug.in/2010-March/000505.html" target="_blank">http://lists.lv2plug.in/pipermail/devel-lv2plug.in/2010-March/000505.html</a>>mailing<div class="im"><br>
list post says "If<br>
you want to write a Qt GUI, make a URI for a Qt UI type, and<br>
<br>
implement it just as the Gtk ones do."<br>
<br>
Since I can't find any URI for Qt GUIs, does this mean that it hasn't<br>
been made yet?  Or have things changed since that post?<br>
</div></blockquote>
<br>
That is correct... no QtUI type.  Since Drobilla said that to me, I have been occupied elsewhere.  I fully intend to make option C work, if at all possible.<br>
<br>
Torben came up with some stuff that worked back-and-forth using XEmbed... but there was one direction that we couldn't get to work.  (I think we couldn't get a GTK widget to take ownership of the Qt Widget...)<br>

<font color="#888888">
<br>
-gabriel<br>
</font></blockquote></div><br><div>Hi,</div><div><br></div><div>So I've written a GUI, and I've gotten a better understanding of how the Qt framework works.  It seems to me that all that would be necessary is for the host to pass a pointer to a QWidget, which the plugin adds itself to, and the rest can behave exactly like the ui:GtkUI.  If I'm not mistaken, all that would be necessary it to write a new rdf file.</div>

<div><br></div><div>Jeremy</div>