// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #include "QGo4BrowserTreeWidget.h" #include "QGo4BrowserTreeWidgetPlugin.h" #include QGo4BrowserTreeWidgetPlugin::QGo4BrowserTreeWidgetPlugin(QObject *parent) : QObject(parent) { initialized = false; } void QGo4BrowserTreeWidgetPlugin::initialize(QDesignerFormEditorInterface * /* core */) { if (initialized) return; initialized = true; } bool QGo4BrowserTreeWidgetPlugin::isInitialized() const { return initialized; } QWidget *QGo4BrowserTreeWidgetPlugin::createWidget(QWidget *parent) { return new QGo4BrowserTreeWidget(parent); } QString QGo4BrowserTreeWidgetPlugin::name() const { return "QGo4BrowserTreeWidget"; } QString QGo4BrowserTreeWidgetPlugin::group() const { return "Go4 Custom Widgets"; } QIcon QGo4BrowserTreeWidgetPlugin::icon() const { return QIcon(":/go4logo2.png"); } QString QGo4BrowserTreeWidgetPlugin::toolTip() const { return "Go4browser list view"; } QString QGo4BrowserTreeWidgetPlugin::whatsThis() const { return "List view, used in browser to handle start drag event of its items"; } bool QGo4BrowserTreeWidgetPlugin::isContainer() const { return false; } QString QGo4BrowserTreeWidgetPlugin::domXml() const { return "\n" " \n" " \n" " 0\n" " 0\n" " 100\n" " 100\n" " \n" " \n" "\n"; } QString QGo4BrowserTreeWidgetPlugin::includeFile() const { return "QGo4BrowserTreeWidget.h"; }