[vlc-devel] [PATCH 1/8] Extensions: public include

Jean-Philippe André jpeg at videolan.org
Wed Dec 23 10:09:19 CET 2009


On Wednesday 23 December 2009 00:45:10 Jean-Baptiste Kempf wrote:
> On Tue, Dec 22, 2009 at 11:44:08PM +0100, Jean-Philippe André wrote :
> > +/// Widget types
> > +typedef enum
> > +{
> > +    EXTENSION_WIDGET_LABEL,      ///< Non editable text label
> > +    EXTENSION_WIDGET_BUTTON,     ///< Clickable button
> > +    EXTENSION_WIDGET_IMAGE,      ///< Image label (psz_text is local
> > URI) +    EXTENSION_WIDGET_HTML,       ///< HTML or rich text area (non
> > editable) +    EXTENSION_WIDGET_TEXT_FIELD, ///< Editable text area for
> > user input
> 
> Is this a TextEdit or a LineEdit?

This is a one-line text field. So, yes, it corresponds to a QLineEdit.

> > +    EXTENSION_WIDGET_PASSWORD,   ///< Editable password input (******)
> > +    EXTENSION_WIDGET_DROPDOWN,   ///< Drop-down box
> > +    EXTENSION_WIDGET_LIST,       ///< Vertical list box (of strings)
> > +    EXTENSION_WIDGET_CHECK_BOX,  ///< Checkable box with label
> > +} extension_widget_type_e;
> 
> No Radio Button Box?

No, but it's up to you to add support for them (in Qt, I can do the Lua part) 
once this whole stuff is merged ;-)
Same remark for other widget types.

Best regards,

-- 
Jean-Philippe André (jpeg)



More information about the vlc-devel mailing list