21 #ifndef LVTK_QT4UI_HPP 22 #define LVTK_QT4UI_HPP 24 #include <lvtk/ui.hpp> 37 template <
bool Required = true>
41 template <
class Derived>
42 struct I : Extension<Required>
44 I() : p_widget (0) { }
48 if (p_widget && ! p_widget->parent())
67 return (p_widget != 0);
81 if (p_widget == plugin_gui)
89 p_widget = plugin_gui;
97 return widget_cast (p_widget);
LV2UI_Widget * widget()
Definition: qt4ui.hpp:95
static void map_feature_handlers(FeatureHandlerMap &hmap)
Definition: qt4ui.hpp:56
bool check_ok()
Definition: qt4ui.hpp:65
void set_widget(QWidget *plugin_gui)
Definition: qt4ui.hpp:79
Definition: feature.hpp:34
map< string, FeatureHandler > FeatureHandlerMap
Definition: feature.hpp:57