// $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 "QGo4CommandsHistory.h" #include "QGo4CommandsHistoryPlugin.h" #include QGo4CommandsHistoryPlugin::QGo4CommandsHistoryPlugin(QObject *parent) : QObject(parent) { initialized = false; } void QGo4CommandsHistoryPlugin::initialize(QDesignerFormEditorInterface * /* core */) { if (initialized) return; initialized = true; } bool QGo4CommandsHistoryPlugin::isInitialized() const { return initialized; } QWidget *QGo4CommandsHistoryPlugin::createWidget(QWidget *parent) { return new QGo4CommandsHistory(parent); } QString QGo4CommandsHistoryPlugin::name() const { return "QGo4CommandsHistory"; } QString QGo4CommandsHistoryPlugin::group() const { return "Go4 Custom Widgets"; } QIcon QGo4CommandsHistoryPlugin::icon() const { return QIcon(":/go4logo2.png"); } QString QGo4CommandsHistoryPlugin::toolTip() const { return "Command line combo box with history"; } QString QGo4CommandsHistoryPlugin::whatsThis() const { return "ComboBox with command line functionality: enter key will execute command, history of commands is available"; } bool QGo4CommandsHistoryPlugin::isContainer() const { return false; } QString QGo4CommandsHistoryPlugin::domXml() const { return "\n" " \n" " \n" " 0\n" " 0\n" " 100\n" " 100\n" " \n" " \n" "\n"; } QString QGo4CommandsHistoryPlugin::includeFile() const { return "QGo4CommandsHistory.h"; }