GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <QUserPanel.h>
Public Slots | |
virtual void | CanvasDropEventSlot (QDropEvent *, TPad *) |
virtual void | CanvasDropEventSlot (QDropEvent *, TPad *) |
virtual void | DrawBtn_clicked () |
virtual void | DrawBtn_clicked () |
virtual void | EditBtn_clicked () |
virtual void | EditBtn_clicked () |
virtual void | InfoBtn_clicked () |
virtual void | InfoBtn_clicked () |
![]() | |
void | CloseMDIParentSlot () |
Public Member Functions | |
QUserPanel (QWidget *parent=nullptr, const char *name=nullptr) | |
QUserPanel (QWidget *parent=nullptr, const char *name=nullptr) | |
virtual | ~QUserPanel () |
virtual | ~QUserPanel () |
virtual void | DrawObjectOnCanvas (const char *itemname) |
virtual void | DrawObjectOnCanvas (const char *itemname) |
void | DropItem (const char *itemname, TClass *cl, int kind) override |
void | DropItem (const char *itemname, TClass *cl, int kind) override |
bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) override |
bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) override |
virtual QString | kindString (int kind) |
virtual QString | kindString (int kind) |
void | linkedObjectRemoved (const char *linkname) override |
void | linkedObjectRemoved (const char *linkname) override |
void | linkedObjectUpdated (const char *linkname, TObject *obj) override |
void | linkedObjectUpdated (const char *linkname, TObject *obj) override |
virtual void | PrintObject (TObject *obj) |
virtual void | PrintObject (TObject *obj) |
![]() | |
QGo4Widget (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=Qt::Widget) | |
virtual | ~QGo4Widget () |
void | ObjectCreatedByWidget (const char *itemname, TClass *cl) |
void | ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot) |
virtual void | ResetWidget () |
Additional Inherited Members | |
![]() | |
enum | { service_DragEnter = 1 , service_DropEvent = 2 , service_CreateItem = 3 , service_DrawItem = 4 , service_EditItem = 5 , service_ShowInfo = 6 , service_EditInSlot = 7 , service_SaveItem = 8 , service_UpdateAnalysisItem = 9 , service_StatusMessage = 15 , service_CreateViewPanel = 17 , service_BrowserItemRemote = 18 , service_Browser = 19 , service_SaveToMemory = 20 , service_GetAnalysis = 21 , service_AddEditorLink = 22 , service_AddDirectLink = 23 , service_AddLinkInSlot = 24 , service_GetTopSlot = 25 , service_AddEditorSlot = 26 , service_SetLinkedName = 27 , service_GetLinkedName = 28 , service_GetLinkedName2 = 29 , service_GetLinked0 = 30 , service_GetLinked1 = 31 , service_GetLinked2 = 32 , service_RemoveLink = 33 , service_RemoveAllLinks = 34 , service_ObjectCreated = 35 , service_ConnectPad = 36 , service_LastActivePanel = 37 , service_WhereItemDrawn = 38 , service_UndrawItem = 39 , service_General = 40 , service_PanelTimer = 41 , service_HelpWindow = 42 , service_HotStart = 43 , panel_Activated = 101 , panel_Modified = 102 , panel_Updated = 103 , panel_ActiveUpdated = 104 , panel_PadDeleted = 105 , panel_Deleted = 106 } |
pointer on browser proxy More... | |
![]() | |
void | widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par) |
![]() | |
static QAction * | AddIdAction (QMenu *menu, QSignalMapper *map, const QIcon &icon, const QString &text, int id, int enabled=-1, int checked=-1) |
static QAction * | AddIdAction (QMenu *menu, QSignalMapper *map, const QString &text, int id, int enabled=-1, int checked=-1) |
static QAction * | CreateChkAction (QMenu *menu, const QString &text, bool checked, bool enabled=true) |
static QAction * | SetIdAction (QSignalMapper *map, int id, int enabled=-1, int checked=-1) |
![]() | |
void | AddLink (const char *itemname, const char *linkname) |
create link for item with name linkname | |
TGo4Slot * | AddLink (const char *itemname, TGo4Slot *parent) |
create link for item in dedicated slot parent | |
void | AddLink (TGo4Slot *slot, const char *linkname) |
create link for object in slot with name linkname | |
TGo4Slot * | AddSlot (const char *slotname) |
add slot with specific name to widget top folder | |
void | AskToCreateObject (TClass *cl, int isremote) |
Function call dialog to create object of appropriate class isremote == 0 - object should be created localy and widget will be informed isremote == 1 - object should be created on analysis side and widget should be informed isremote == -1 - activate creation dialog without restriction (remote or local), widget will not be informed. | |
TGo4BrowserProxy * | Browser () |
bool | BrowserItemRemote (const char *itemname) |
void | CallPanelFunc (int id, TPad *pad=nullptr) |
void | CallServiceFunc (int id, const char *str=nullptr, void *par=nullptr) |
void | closeEvent (QCloseEvent *e) override |
void | ConnectPad (TPad *pad) |
connect pad axis change signals to react on such signals | |
TGo4ViewPanel * | CreateViewPanel (int ndiv=0) |
void | dragEnterEvent (QDragEnterEvent *e) override |
void | dragMoveEvent (QDragMoveEvent *e) override |
TGo4ViewPanel * | DrawItem (const QString &itemname, TGo4ViewPanel *panel=nullptr, TPad *pad=nullptr, bool activate=true, int updatelevel=-1) |
void | dropEvent (QDropEvent *e) override |
void | EditItem (const QString &itemname) |
void | EditObjectInSlot (TGo4Slot *slot) |
TGo4ServerProxy * | GetAnalysis (const char *itemname=nullptr) |
TObject * | GetLinked (const char *linkname, int updatelevel=0) |
template<class T> | |
T * | GetLinkedCast (const char *linkname, int updatelevel=0) |
const char * | GetLinkedName (const char *linkname) |
returns name of item, which was linked with linkname | |
const char * | GetLinkedName (TGo4Slot *slot) |
returns name of item, which was linked in that slot | |
TGo4Slot * | GetTopSlot (bool force=false) |
return top slot of structure, corresponding to this widget | |
void | HelpWindow (const char *filename, const char *msg=nullptr) |
void | InformThatObjectCreated (const char *itemname, TClass *cl) |
bool | IsUpdateBlocked () const |
TGo4ViewPanel * | LastActivePanel () |
virtual void | linkedRemoved (TGo4Slot *slot, TObject *obj) |
virtual void | linkedUpdated (TGo4Slot *slot, TObject *obj) |
void | RemoveAllLinks (bool blockreset=true) |
void | RemoveLink (const char *linkname, bool blockreset=true) |
void | RemoveLinksMasked (const char *startedwith=nullptr, bool blockreset=true) |
virtual void | requestedObjectCreated (const char *itemname, TClass *cl) |
bool | SaveItemToFile (const char *itemname, const char *subfolder=nullptr) |
QString | SaveObjectInMemory (const char *foldername, TObject *obj) |
void | ServiceCall (const char *name, void *par=nullptr) |
void | setCanDestroyWidget (bool on=true) |
void | SetLinkedName (TGo4Slot *slot, const char *itemname) |
set name of item, which was linked by this slot | |
void | ShootCloseWidget (bool closeparent=false) |
void | ShootResetWidget () |
void | ShowItemInfo (const QString &itemname) |
void | StartHotstart (const char *filename) |
void | StatusMessage (const QString &message) |
void | UndrawItem (const char *itemname) |
bool | UpdateItemInAnalysis (const char *itemname, TObject *obj=nullptr) |
TGo4ViewPanel * | WhereItemDrawn (const char *itemname) |
Definition at line 22 of file QUserPanel.h.
QUserPanel::QUserPanel | ( | QWidget * | parent = nullptr, |
const char * | name = nullptr ) |
Definition at line 55 of file QUserPanel.cpp.
References QGo4Widget::QGo4Widget(), QRootCanvas::CanvasDropEvent(), CanvasDropEventSlot(), DrawBtn_clicked(), EditBtn_clicked(), and InfoBtn_clicked().
|
virtual |
Definition at line 74 of file QUserPanel.cpp.
QUserPanel::QUserPanel | ( | QWidget * | parent = nullptr, |
const char * | name = nullptr ) |
|
virtual |
|
virtualslot |
Definition at line 219 of file QUserPanel.cpp.
References DrawObjectOnCanvas().
Referenced by QUserPanel().
|
virtualslot |
|
virtualslot |
Definition at line 182 of file QUserPanel.cpp.
References QGo4Widget::DrawItem().
Referenced by QUserPanel().
|
virtualslot |
|
virtual |
Definition at line 227 of file QUserPanel.cpp.
References QGo4Widget::AddLink(), QGo4Widget::GetLinked(), and QGo4Widget::RemoveLink().
Referenced by CanvasDropEventSlot(), and DropItem().
|
virtual |
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 123 of file QUserPanel.cpp.
References QGo4Widget::AddLink(), DrawObjectOnCanvas(), QGo4Widget::GetLinked(), kindString(), PrintObject(), and QGo4Widget::RemoveLink().
|
overridevirtual |
Reimplemented from QGo4Widget.
|
virtualslot |
Definition at line 177 of file QUserPanel.cpp.
References QGo4Widget::EditItem().
Referenced by QUserPanel().
|
virtualslot |
|
virtualslot |
Definition at line 172 of file QUserPanel.cpp.
References QGo4Widget::ShowItemInfo().
Referenced by QUserPanel().
|
virtualslot |
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 101 of file QUserPanel.cpp.
References kindString().
|
overridevirtual |
Reimplemented from QGo4Widget.
|
virtual |
Definition at line 79 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().
|
virtual |
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 161 of file QUserPanel.cpp.
References PrintObject(), and QGo4Widget::RemoveLink().
|
overridevirtual |
Reimplemented from QGo4Widget.
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 149 of file QUserPanel.cpp.
References PrintObject().
|
overridevirtual |
Reimplemented from QGo4Widget.
|
virtual |
Definition at line 187 of file QUserPanel.cpp.
Referenced by DropItem(), linkedObjectRemoved(), and linkedObjectUpdated().
|
virtual |