Re: [LAD] Qt GUI for LV2 Plugin

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gabriel M. Beddingfield <gabrbedd@...>
Cc: Linux Audio Developers <linux-audio-dev@...>
Date: Tuesday, June 15, 2010 - 7:49 am

--0016363b9bf82a241204890cd810
Content-Type: text/plain; charset=ISO-8859-1

On 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&#39=
;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--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Qt GUI for LV2 Plugin, Jeremy, (Sat Jun 12, 7:16 am)
Re: [LAD] Qt GUI for LV2 Plugin, Paul Davis, (Sat Jun 12, 12:41 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Sat Jun 12, 5:44 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Lars , (Sat Jun 12, 8:42 am)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Sat Jun 12, 6:11 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Sat Jun 12, 6:21 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Sat Jun 12, 7:05 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Sat Jun 12, 7:14 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Sat Jun 12, 7:39 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Sat Jun 12, 7:52 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Tue Jun 15, 7:49 am)
Re: [LAD] Qt GUI for LV2 Plugin, Paul Davis, (Tue Jun 15, 11:34 am)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Tue Jun 15, 4:30 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Paul Davis, (Tue Jun 15, 6:14 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Tue Jun 15, 7:50 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Tue Jun 15, 7:59 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Tue Jun 15, 8:35 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Tue Jun 15, 8:48 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Tue Jun 15, 10:11 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Tue Jun 15, 5:43 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Tue Jun 15, 12:13 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Luis Garrido, (Tue Jun 15, 8:16 am)
Re: [LAD] Qt GUI for LV2 Plugin, Jeremy, (Tue Jun 15, 4:39 pm)
Re: [LAD] Qt GUI for LV2 Plugin, Gabriel M. Beddingfield, (Tue Jun 15, 11:35 am)
Re: [LAD] Qt GUI for LV2 Plugin, Louigi Verona, (Tue Jun 15, 9:03 am)
Re: [LAD] Qt GUI for LV2 Plugin, Rui Nuno Capela, (Tue Jun 15, 10:05 am)
Re: [LAD] Qt GUI for LV2 Plugin, Louigi Verona, (Tue Jun 15, 10:21 am)
Re: [LAD] Qt GUI for LV2 Plugin, Luis Garrido, (Tue Jun 15, 11:38 am)
Re: [LAD] Qt GUI for LV2 Plugin, michael noble, (Tue Jun 15, 12:44 pm)