--0016363b9bf82a241204890cd810
Content-Type: text/plain; charset=ISO-8859-1On Sat, Jun 12, 2010 at 3:52 PM, Gabriel M. Beddingfield wrote:
>
Hi,
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.
Jeremy
--0016363b9bf82a241204890cd810
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Sat, Jun 12, 2010 at 3:52 PM, Gabriel=
M. Beddingfield <gabrbedd@gmail.com> wrote:
On Sat, 12 Jun 2010, Jeremy wrote:
internal UI would be more what I want. =A0If there is already a system in
place for communicating basic input controls, I don't see why I should<=
br>
reinvent it simply to use Qt widgets. =A0However, the fact that I was refer=
red
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.
The bottom line is this:
A. If you want to stick with Qt and have minimal hassles implementing your =
plugin, go with the external UI.
B. If you really want an internal UI and want to have minimal hassles imple=
menting your plugin, switch to GTK+ (or gtkmm) and use the internal extensi=
on.
C. If you really want Qt /and/ internal, then be prepared to pave roads for=
everyone else. =A0:-)
D. <flamebait>Establish an extention that is analog to VSTGUI, where =
the plugins abstractly define their GUI and the host is responsible for dra=
wing them.</flamebait> =A0If you go this route, you'll need to ta=
lk/argue it out on the LV2 dev list.
All of these are fully respectible options.
This<http://lists.lv2plug.in/pipermail/deve=
l-lv2plug.in/2010-March/000505.html>mailing
list post says "If
you want to write a Qt GUI, make a URI for a Qt UI type, and
implement it just as the Gtk ones do."
Since I can't find any URI for Qt GUIs, does this mean that it hasn'=
;t
been made yet? =A0Or have things changed since that post?
That is correct... no QtUI type. =A0Since Drobilla said that to me, I have =
been occupied elsewhere. =A0I fully intend to make option C work, if at all=
possible.
Torben came up with some stuff that worked back-and-forth using XEmbed... b=
ut there was one direction that we couldn't get to work. =A0(I think we=
couldn't get a GTK widget to take ownership of the Qt Widget...)
-gabriel
Hi,So I've=
written a GUI, and I've gotten a better understanding of how the Qt fr=
amework works. =A0It seems to me that all that would be necessary is for th=
e host to pass a pointer to a QWidget, which the plugin adds itself to, and=
the rest can behave exactly like the ui:GtkUI. =A0If I'm not mistaken,=
all that would be necessary it to write a new rdf file.
Jeremy
--0016363b9bf82a241204890cd810--
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.