42 QPalette* npal=
new QPalette(widg->palette());
44 npal->setBrush(QPalette::Window,QPixmap(
":/scale.png"));
45 widg->setPalette(*npal);
46 widg->setAutoFillBackground(
true);
58 return "Go4 Custom Widgets";
63 return QIcon(
":/go4logo2.png");
68 return "Standard QtROOT canvas";
73 return "ROOT canvas embedded into QWidget";
83 return "<widget class=\"QRootCanvas\" name=\"QRootCanvas\">\n"
84 " <property name=\"geometry\">\n"
88 " <width>100</width>\n"
89 " <height>100</height>\n"
97 return "QRootCanvas.h";
QString includeFile() const
Graphic Qt Widget based Canvas.
QWidget * createWidget(QWidget *parent)
QString whatsThis() const
QRootCanvasPlugin(QObject *parent=0)
void initialize(QDesignerFormEditorInterface *core)
bool isInitialized() const