#include <QUserPanel.h>
Public Slots | |
| virtual void | InfoBtn_clicked () |
| virtual void | EditBtn_clicked () |
| virtual void | DrawBtn_clicked () |
| virtual void | CanvasDropEventSlot (QDropEvent *, TPad *) |
Public Member Functions | |
| QUserPanel (QWidget *parent=0, const char *name=0) | |
| virtual | ~QUserPanel () |
| virtual QString | kindString (int kind) |
| 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 | linkedObjectRemoved (const char *linkname) |
| virtual void | PrintObject (TObject *obj) |
| virtual void | DrawObjectOnCanvas (const char *itemname) |
Definition at line 20 of file QUserPanel.h.
| QUserPanel::QUserPanel | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Definition at line 58 of file QUserPanel.cpp.
References CanvasDropEventSlot(), DrawBtn_clicked(), EditBtn_clicked(), and InfoBtn_clicked().
| QUserPanel::~QUserPanel | ( | ) | [virtual] |
Definition at line 76 of file QUserPanel.cpp.
| void QUserPanel::CanvasDropEventSlot | ( | QDropEvent * | event, | |
| TPad * | pad | |||
| ) | [virtual, slot] |
Definition at line 218 of file QUserPanel.cpp.
References DrawObjectOnCanvas().
Referenced by QUserPanel().
| void QUserPanel::DrawBtn_clicked | ( | ) | [virtual, slot] |
Definition at line 186 of file QUserPanel.cpp.
References QGo4Widget::DrawItem().
Referenced by QUserPanel().
| void QUserPanel::DrawObjectOnCanvas | ( | const char * | itemname | ) | [virtual] |
Definition at line 227 of file QUserPanel.cpp.
References QGo4Widget::AddLink(), QGo4Widget::GetLinked(), and QGo4Widget::RemoveLink().
Referenced by CanvasDropEventSlot(), and DropItem().
| void QUserPanel::DropItem | ( | const char * | itemname, | |
| TClass * | cl, | |||
| int | kind | |||
| ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 125 of file QUserPanel.cpp.
References QGo4Widget::AddLink(), DrawObjectOnCanvas(), QGo4Widget::GetLinked(), kindString(), PrintObject(), and QGo4Widget::RemoveLink().
| void QUserPanel::EditBtn_clicked | ( | ) | [virtual, slot] |
Definition at line 181 of file QUserPanel.cpp.
References QGo4Widget::EditItem().
Referenced by QUserPanel().
| void QUserPanel::InfoBtn_clicked | ( | ) | [virtual, slot] |
Definition at line 176 of file QUserPanel.cpp.
References QGo4Widget::ShowItemInfo().
Referenced by QUserPanel().
| bool QUserPanel::IsAcceptDrag | ( | const char * | itemname, | |
| TClass * | cl, | |||
| int | kind | |||
| ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 103 of file QUserPanel.cpp.
References kindString().
| QString QUserPanel::kindString | ( | int | kind | ) | [virtual] |
Definition at line 81 of file QUserPanel.cpp.
References TGo4Access::kndDataMember, TGo4Access::kndEventElement, TGo4Access::kndFolder, TGo4Access::kndGo4Param, TGo4Access::kndNone, TGo4Access::kndObject, TGo4Access::kndTreeBranch, and TGo4Access::kndTreeLeaf.
Referenced by DropItem(), and IsAcceptDrag().
| void QUserPanel::linkedObjectRemoved | ( | const char * | linkname | ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 164 of file QUserPanel.cpp.
References PrintObject(), and QGo4Widget::RemoveLink().
| void QUserPanel::linkedObjectUpdated | ( | const char * | linkname, | |
| TObject * | obj | |||
| ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 151 of file QUserPanel.cpp.
References PrintObject().
| void QUserPanel::PrintObject | ( | TObject * | obj | ) | [virtual] |
Definition at line 191 of file QUserPanel.cpp.
Referenced by DropItem(), linkedObjectRemoved(), and linkedObjectUpdated().
1.7.1