// $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. //----------------------------------------------------------------------- #ifndef TGO4CONDITIONINFO_H #define TGO4CONDITIONINFO_H #include "QGo4Widget.h" #include "ui_TGo4ConditionInfo.h" class TGo4Condition; class TGo4ConditionInfo : public QGo4Widget, public Ui::TGo4ConditionInfo { Q_OBJECT public: enum PropertyIndex { CONTITLE, CONCLASS, CONDIM, CONX, CONY, CONCOUNTS, CONRESULT, CONMODE, CONSIZE, CONTIME }; TGo4ConditionInfo(QWidget *parent = nullptr, const char *name = nullptr); public: bool IsAcceptDrag(const char *itemname, TClass *cl, int kind) override; void DropItem(const char *itemname, TClass *cl, int kind) override; void linkedObjectUpdated(const char *linkname, TObject *obj) override; virtual void WorkWithCondition(const char *itemname); void ResetWidget() override; virtual void RefreshWidget(TGo4Condition *cond); public slots: virtual void ConInfoButton_clicked(); virtual void ConPrintButton_clicked(); virtual void ConEditButton_clicked(); virtual void PrintLog_clicked(); }; #endif