<br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 3:14 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">
Can you tell me where I might find some documentation on the external UI<br>
extension?  When I followed that link, I followed the URI in the header file<br>
to<br>
<br>
#define LV2_EXTERNAL_UI_URI "<a href="http://lv2plug.in/ns/extensions/ui#external" target="_blank">http://lv2plug.in/ns/extensions/ui#external</a>"<br>
</blockquote>
<br></div>
The header is also the documentation, as is the DSSI-like universal "wrapper" example.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If that is the *internal* UI extension, and seperate from the *external* UI<br>
extension, is there some other wiki page about the external UI extension?<br>
<br>
Also, what is the difference?  I understand the concept of an external UI,<br>
which is a seperate window launched by the plugin host which controls the<br>
plugin inputs, but I don't really understand what an internal UI would be.<br>
Wouldn't that just be the generic GUI generated by the host?<br>
</blockquote>
<br></div>
The difference:<br>
<br>
How does the UI and the plugin communicate?<br>
<br>
    Internal: Via LV2 Event messages.<br>
    External: Via any inter-process communication system<br>
              you can figure out... often OSC.<br>
<br>
Who does the UI communicate with?<br>
<br>
    Internal: The LV2 host application.<br>
    External: The plugin via the IPC mechanism.<br>
<br>
Who does the plugin communicate with?<br>
<br>
    Internal: The LV2 host application.<br>
    External: Both the LV2 host application and<br>
              anyone connected to it's IPC channel.<br>
<br>
Who is responsible for drawing the GUI components?<br>
<br>
    Internal: The LV2 host application.<br>
    External: An external process is spawned and<br>
              is responsible for all I/O.<br>
<br>
Hope this helps!<br><font color="#888888">
<br>
-gabriel<br>
</font></blockquote></div><br><div>Thanks, that helps a lot.</div><div><br></div><div>Now that I unde<font class="Apple-style-span" face="arial, helvetica, sans-serif">rstand things better, I think I realize that using an internal UI would be more what I want.  If there is already a system in place for communicating basic input controls, I don't see why I should reinvent it simply to use Qt widgets.  However, the fact that I was referred to using external_ui seems to imply that an internal Qt Gui is not possible.  The fact that ui:GtkGUI exists and ui:QtGUI does not also seems to indicate so.</font></div>

<div><br></div><div><a href="http://lists.lv2plug.in/pipermail/devel-lv2plug.in/2010-March/000505.html">This</a> mailing list post says "<span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre; ">If you want to write a Qt GUI, make a URI for a Qt UI type, and</span></div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><pre>implement it just as the Gtk ones do."</pre>
<pre>
<font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="white-space: normal; font-size: small;">Since I can't find any URI for Qt GUIs, does this mean that it hasn't been made yet?  Or have things changed since that post?</span></font></pre>

<pre><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="white-space: normal; font-size: small;">Jeremy</span></font></pre></span>