GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4EditDynEntry.h>
Public Slots | |
virtual void | ApplyClicked () |
virtual void | ClearHistogramClicked () |
virtual void | ConInfoButton_clicked () |
virtual void | ConNewButton_clicked () |
virtual void | ConRemoveButton_clicked () |
virtual void | ConXnameEdit_dropped () |
virtual void | ConXnameEdit_textChanged (const QString &xname) |
virtual void | ConYnameEdit_dropped () |
virtual void | ConYnameEdit_textChanged (const QString &yname) |
virtual void | CutExprEdit_dropped () |
virtual void | CutExprEdit_textChanged (const QString &value) |
virtual void | DrawButton_clicked () |
virtual void | DrawExprEdit_dropped () |
virtual void | DrawExprEdit_textChanged (const QString &value) |
virtual void | DynIntervalSpin_valueChanged (int value) |
virtual void | EntryChangedSlot () |
virtual void | EntryEnabledButton_toggled (bool on) |
virtual void | EvXnameEdit_dropped () |
virtual void | EvXnameEdit_textChanged (const QString &xname) |
virtual void | EvYnameEdit_dropped () |
virtual void | EvYnameEdit_textChanged (const QString &yname) |
virtual void | EvZnameEdit_dropped () |
virtual void | EvZnameEdit_textChanged (const QString &zname) |
virtual void | HisCreateButton_clicked () |
virtual void | HisInfoButton_clicked () |
virtual void | PrintDynList () |
virtual void | RefreshClicked () |
virtual void | SaveEntrySlot () |
virtual void | SetPleaseUpdate (bool on) |
![]() | |
void | CloseMDIParentSlot () |
Public Member Functions | |
TGo4EditDynEntry (QWidget *parent=nullptr, const char *name=nullptr) | |
virtual void | DropCondition (const char *itemname) |
virtual void | DropHistogram (const char *itemname) |
void | DropItem (const char *itemname, TClass *cl, int kind) override |
virtual void | DropTree (const char *itemname) |
virtual QString | GetEventMember (const QString &itemname) |
virtual QString | GetEventName (const QString &itemname) |
bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) override |
void | linkedObjectUpdated (const char *linkname, TObject *obj) override |
virtual bool | PrepareEntryForAnalysis () |
virtual void | ProcessDropEvent (QGo4LineEdit *edt) |
virtual void | ProcessTreeDropEvent (QGo4LineEdit *edt) |
virtual void | RefreshWidget () |
void | requestedObjectCreated (const char *itemname, TClass *cl) override |
void | ResetWidget () override |
virtual void | WorkWithEntry (const char *itemname) |
![]() | |
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) |
Protected Attributes | |
bool | fbTypingMode {false} |
int | fiSelectedType {0} |
Additional Inherited Members | |
![]() | |
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 | linkedObjectRemoved (const char *linkname) |
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) |
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 27 of file TGo4EditDynEntry.h.
Enumerator | |
---|---|
entry_None | |
entry_Histogram | |
entry_Tree |
Definition at line 33 of file TGo4EditDynEntry.h.
TGo4EditDynEntry::TGo4EditDynEntry | ( | QWidget * | parent = nullptr, |
const char * | name = nullptr ) |
Definition at line 30 of file TGo4EditDynEntry.cpp.
References QGo4Widget::QGo4Widget(), ApplyClicked(), ClearHistogramClicked(), QGo4Widget::CloseMDIParentSlot(), ConInfoButton_clicked(), ConNewButton_clicked(), ConRemoveButton_clicked(), ConXnameEdit_dropped(), ConXnameEdit_textChanged(), ConYnameEdit_dropped(), ConYnameEdit_textChanged(), CutExprEdit_dropped(), CutExprEdit_textChanged(), DrawButton_clicked(), DrawExprEdit_dropped(), DrawExprEdit_textChanged(), DynIntervalSpin_valueChanged(), entry_None, EntryEnabledButton_toggled(), EvXnameEdit_dropped(), EvXnameEdit_textChanged(), EvYnameEdit_dropped(), EvYnameEdit_textChanged(), EvZnameEdit_dropped(), EvZnameEdit_textChanged(), fbTypingMode, fiSelectedType, HisCreateButton_clicked(), HisInfoButton_clicked(), PrintDynList(), RefreshClicked(), ResetWidget(), SaveEntrySlot(), and QGo4LineEdit::textDropped().
|
virtualslot |
Definition at line 336 of file TGo4EditDynEntry.cpp.
References QGo4Widget::GetLinkedName(), PrepareEntryForAnalysis(), RefreshWidget(), SetPleaseUpdate(), and QGo4Widget::UpdateItemInAnalysis().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 607 of file TGo4EditDynEntry.cpp.
References QGo4Widget::Browser(), TGo4ServerProxy::ClearAnalysisObject(), TGo4BrowserProxy::DefineAnalysisObject(), TGo4ServerProxy::ExecuteLine(), TGo4BrowserProxy::GetBrowserObject(), and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 471 of file TGo4EditDynEntry.cpp.
References QGo4Widget::EditItem().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 466 of file TGo4EditDynEntry.cpp.
References QGo4Widget::AskToCreateObject().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 628 of file TGo4EditDynEntry.cpp.
References DropCondition().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 383 of file TGo4EditDynEntry.cpp.
References ProcessDropEvent().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 560 of file TGo4EditDynEntry.cpp.
References fbTypingMode, GetEventMember(), GetEventName(), and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 388 of file TGo4EditDynEntry.cpp.
References ProcessDropEvent().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 570 of file TGo4EditDynEntry.cpp.
References fbTypingMode, GetEventMember(), GetEventName(), and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 398 of file TGo4EditDynEntry.cpp.
References ProcessTreeDropEvent().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 587 of file TGo4EditDynEntry.cpp.
References fbTypingMode, and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 602 of file TGo4EditDynEntry.cpp.
References QGo4Widget::DrawItem().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 393 of file TGo4EditDynEntry.cpp.
References ProcessTreeDropEvent().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 580 of file TGo4EditDynEntry.cpp.
References fbTypingMode, and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtual |
Definition at line 283 of file TGo4EditDynEntry.cpp.
References entry_Histogram, EntryChangedSlot(), fiSelectedType, and QGo4Widget::GetLinkedCast().
Referenced by ConRemoveButton_clicked(), DropItem(), and requestedObjectCreated().
|
virtual |
Definition at line 264 of file TGo4EditDynEntry.cpp.
References EntryChangedSlot(), QGo4Widget::GetLinkedCast(), TGo4HistogramEntry::SetHistogramName(), and TGo4TreeHistogramEntry::SetHistogramName().
Referenced by DropItem(), and requestedObjectCreated().
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 79 of file TGo4EditDynEntry.cpp.
References DropCondition(), DropHistogram(), DropTree(), and WorkWithEntry().
|
virtual |
Definition at line 297 of file TGo4EditDynEntry.cpp.
References entry_Tree, EntryChangedSlot(), fiSelectedType, and QGo4Widget::GetLinkedCast().
Referenced by DropItem(), and ProcessTreeDropEvent().
|
virtualslot |
Definition at line 594 of file TGo4EditDynEntry.cpp.
References fbTypingMode, and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 354 of file TGo4EditDynEntry.cpp.
References SetPleaseUpdate().
Referenced by DropCondition(), DropHistogram(), DropTree(), EntryEnabledButton_toggled(), ProcessDropEvent(), and ProcessTreeDropEvent().
|
virtualslot |
Definition at line 522 of file TGo4EditDynEntry.cpp.
References EntryChangedSlot(), fbTypingMode, and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 368 of file TGo4EditDynEntry.cpp.
References ProcessDropEvent().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 530 of file TGo4EditDynEntry.cpp.
References fbTypingMode, GetEventMember(), GetEventName(), and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 373 of file TGo4EditDynEntry.cpp.
References ProcessDropEvent().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 540 of file TGo4EditDynEntry.cpp.
References fbTypingMode, GetEventMember(), GetEventName(), and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 378 of file TGo4EditDynEntry.cpp.
References ProcessDropEvent().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 550 of file TGo4EditDynEntry.cpp.
References fbTypingMode, GetEventMember(), GetEventName(), and QGo4Widget::GetLinkedCast().
Referenced by TGo4EditDynEntry().
|
virtual |
Definition at line 214 of file TGo4EditDynEntry.cpp.
References TGo4Slot::ProduceFolderAndName().
Referenced by ConXnameEdit_textChanged(), ConYnameEdit_textChanged(), EvXnameEdit_textChanged(), EvYnameEdit_textChanged(), and EvZnameEdit_textChanged().
|
virtual |
Definition at line 203 of file TGo4EditDynEntry.cpp.
References TGo4Slot::ProduceFolderAndName().
Referenced by ConXnameEdit_textChanged(), ConYnameEdit_textChanged(), EvXnameEdit_textChanged(), EvYnameEdit_textChanged(), and EvZnameEdit_textChanged().
|
virtualslot |
Definition at line 455 of file TGo4EditDynEntry.cpp.
References QGo4Widget::AskToCreateObject().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 461 of file TGo4EditDynEntry.cpp.
References QGo4Widget::ShowItemInfo().
Referenced by TGo4EditDynEntry().
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 69 of file TGo4EditDynEntry.cpp.
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 93 of file TGo4EditDynEntry.cpp.
References RefreshWidget(), and SetPleaseUpdate().
|
virtual |
Definition at line 486 of file TGo4EditDynEntry.cpp.
References TGo4HistogramEntry::GetConditionName(), TGo4HistogramEntry::GetHistogramName(), TGo4TreeHistogramEntry::GetHistogramName(), QGo4Widget::GetLinkedCast(), TGo4TreeHistogramEntry::GetTreeName(), TGo4Slot::ProduceFolderAndName(), TGo4HistogramEntry::SetConditionName(), TGo4HistogramEntry::SetHistogramName(), TGo4TreeHistogramEntry::SetHistogramName(), and TGo4TreeHistogramEntry::SetTreeName().
Referenced by ApplyClicked(), and SaveEntrySlot().
|
virtualslot |
Definition at line 619 of file TGo4EditDynEntry.cpp.
References QGo4Widget::Browser(), TGo4BrowserProxy::DefineAnalysisObject(), QGo4Widget::GetLinkedName(), and TGo4ServerProxy::PrintDynListEntry().
Referenced by TGo4EditDynEntry().
|
virtual |
Definition at line 403 of file TGo4EditDynEntry.cpp.
References QGo4Widget::Browser(), EntryChangedSlot(), TGo4BrowserProxy::ItemKind(), and TGo4Access::kndDataMember.
Referenced by ConXnameEdit_dropped(), ConYnameEdit_dropped(), EvXnameEdit_dropped(), EvYnameEdit_dropped(), and EvZnameEdit_dropped().
|
virtual |
Definition at line 429 of file TGo4EditDynEntry.cpp.
References QGo4Widget::Browser(), TGo4BrowserProxy::DefineTreeName(), DropTree(), EntryChangedSlot(), TGo4BrowserProxy::ItemKind(), TGo4Access::kndTreeLeaf, and TGo4Slot::ProduceFolderAndName().
Referenced by CutExprEdit_dropped(), and DrawExprEdit_dropped().
|
virtualslot |
Definition at line 330 of file TGo4EditDynEntry.cpp.
References QGo4Widget::GetLinked(), and RefreshWidget().
Referenced by TGo4EditDynEntry().
|
virtual |
Definition at line 101 of file TGo4EditDynEntry.cpp.
References QGo4Widget::Browser(), TGo4BrowserProxy::DefineRelatedObject(), entry_Histogram, entry_None, entry_Tree, fbTypingMode, fiSelectedType, TGo4HistogramEntry::GetConditionName(), TGo4HistogramEntry::GetConEventName(), TGo4HistogramEntry::GetConVarName(), TGo4TreeHistogramEntry::GetCutExp(), TGo4TreeHistogramEntry::GetDynListInterval(), TGo4HistogramEntry::GetHistEventName(), TGo4HistogramEntry::GetHistogramName(), TGo4TreeHistogramEntry::GetHistogramName(), TGo4HistogramEntry::GetHistVarName(), QGo4Widget::GetLinkedCast(), QGo4Widget::GetLinkedName(), TGo4TreeHistogramEntry::GetTreeName(), and TGo4TreeHistogramEntry::GetVarExp().
Referenced by ApplyClicked(), linkedObjectUpdated(), RefreshClicked(), and WorkWithEntry().
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 476 of file TGo4EditDynEntry.cpp.
References DropCondition(), DropHistogram(), entry_None, and fiSelectedType.
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 310 of file TGo4EditDynEntry.cpp.
References entry_None, fiSelectedType, QGo4Widget::ResetWidget(), and SetPleaseUpdate().
Referenced by TGo4EditDynEntry(), and WorkWithEntry().
|
virtualslot |
Definition at line 360 of file TGo4EditDynEntry.cpp.
References QGo4Widget::GetLinkedName(), PrepareEntryForAnalysis(), QGo4Widget::SaveItemToFile(), and SetPleaseUpdate().
Referenced by TGo4EditDynEntry().
|
virtualslot |
Definition at line 346 of file TGo4EditDynEntry.cpp.
Referenced by ApplyClicked(), EntryChangedSlot(), linkedObjectUpdated(), ResetWidget(), SaveEntrySlot(), and WorkWithEntry().
|
virtual |
Definition at line 221 of file TGo4EditDynEntry.cpp.
References QGo4Widget::AddLink(), QGo4Widget::BrowserItemRemote(), QGo4Widget::GetLinked(), QGo4Widget::GetLinkedCast(), QGo4Widget::GetLinkedName(), RefreshWidget(), ResetWidget(), and SetPleaseUpdate().
Referenced by DropItem().
|
protected |
Definition at line 87 of file TGo4EditDynEntry.h.
Referenced by TGo4EditDynEntry(), ConXnameEdit_textChanged(), ConYnameEdit_textChanged(), CutExprEdit_textChanged(), DrawExprEdit_textChanged(), DynIntervalSpin_valueChanged(), EntryEnabledButton_toggled(), EvXnameEdit_textChanged(), EvYnameEdit_textChanged(), EvZnameEdit_textChanged(), and RefreshWidget().
|
protected |
Definition at line 86 of file TGo4EditDynEntry.h.
Referenced by TGo4EditDynEntry(), DropCondition(), DropTree(), RefreshWidget(), requestedObjectCreated(), and ResetWidget().