#include <TGo4ConditionInfo.h>
Public Types | |
enum | PropertyIndex { CONTITLE, CONCLASS, CONDIM, CONX, CONY, CONCOUNTS, CONRESULT, CONMODE, CONSIZE, CONTIME } |
Public Slots | |
virtual void | ConInfoButton_clicked () |
virtual void | ConPrintButton_clicked () |
virtual void | ConEditButton_clicked () |
virtual void | PrintLog_clicked () |
Public Member Functions | |
TGo4ConditionInfo (QWidget *parent=0, const char *name=0) | |
virtual bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) |
virtual void | DropItem (const char *itemname, TClass *cl, int kind) |
virtual void | linkedObjectUpdated (const char *linkname, TObject *obj) |
virtual void | WorkWithCondition (const char *itemname) |
virtual void | ResetWidget () |
virtual void | RefreshWidget (TGo4Condition *cond) |
Definition at line 23 of file TGo4ConditionInfo.h.
Definition at line 29 of file TGo4ConditionInfo.h.
TGo4ConditionInfo::TGo4ConditionInfo | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 25 of file TGo4ConditionInfo.cpp.
void TGo4ConditionInfo::ConEditButton_clicked | ( | ) | [virtual, slot] |
Definition at line 62 of file TGo4ConditionInfo.cpp.
References QGo4Widget::EditItem().
void TGo4ConditionInfo::ConInfoButton_clicked | ( | ) | [virtual, slot] |
Definition at line 52 of file TGo4ConditionInfo.cpp.
References WorkWithCondition().
void TGo4ConditionInfo::ConPrintButton_clicked | ( | ) | [virtual, slot] |
Definition at line 57 of file TGo4ConditionInfo.cpp.
References QGo4Widget::ServiceCall().
void TGo4ConditionInfo::DropItem | ( | const char * | itemname, | |
TClass * | cl, | |||
int | kind | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 38 of file TGo4ConditionInfo.cpp.
References WorkWithCondition().
bool TGo4ConditionInfo::IsAcceptDrag | ( | const char * | itemname, | |
TClass * | cl, | |||
int | kind | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 33 of file TGo4ConditionInfo.cpp.
void TGo4ConditionInfo::linkedObjectUpdated | ( | const char * | linkname, | |
TObject * | obj | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 45 of file TGo4ConditionInfo.cpp.
References RefreshWidget().
void TGo4ConditionInfo::PrintLog_clicked | ( | ) | [virtual, slot] |
Definition at line 67 of file TGo4ConditionInfo.cpp.
References CONCLASS, CONCOUNTS, CONDIM, CONMODE, CONRESULT, CONSIZE, CONTIME, CONTITLE, CONX, CONY, and TGo4Log::Message().
Referenced by RefreshWidget().
void TGo4ConditionInfo::RefreshWidget | ( | TGo4Condition * | cond | ) | [virtual] |
Definition at line 132 of file TGo4ConditionInfo.cpp.
References CONCLASS, CONCOUNTS, CONDIM, CONMODE, CONRESULT, CONSIZE, CONTIME, CONTITLE, CONX, CONY, TGo4Condition::Counts(), TGo4Condition::FixedResult(), TGo4Condition::GetMemorySize(), TGo4WinCond::GetValues(), TGo4Log::IsAutoEnabled(), TGo4Condition::IsEnabled(), TGo4Condition::IsTrue(), PrintLog_clicked(), and TGo4Condition::TrueCounts().
Referenced by linkedObjectUpdated(), and WorkWithCondition().
void TGo4ConditionInfo::ResetWidget | ( | ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 112 of file TGo4ConditionInfo.cpp.
References CONCLASS, CONCOUNTS, CONDIM, CONMODE, CONRESULT, CONSIZE, CONTIME, CONTITLE, CONX, and CONY.
Referenced by WorkWithCondition().
void TGo4ConditionInfo::WorkWithCondition | ( | const char * | itemname | ) | [virtual] |
Definition at line 97 of file TGo4ConditionInfo.cpp.
References QGo4Widget::AddLink(), QGo4Widget::GetLinked(), RefreshWidget(), and ResetWidget().
Referenced by ConInfoButton_clicked(), DropItem(), and TGo4MainWindow::editorServiceSlot().