QWidget * HelloWorldPlugin::createWidgetPlugin(QWidget *parent, const char *name) { Hello *hello = new Hello(pluginWindow()->caption(), parent, name); hello->setFont(QFont("times",14,QFont::Bold) ); hello->setBackgroundColor(Qt::black); return hello; }