GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
QGo4Widget Class Reference

#include <QGo4Widget.h>

Inheritance diagram for QGo4Widget:

Public Types

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...
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...

Public Slots

void CloseMDIParentSlot ()
void CloseMDIParentSlot ()

Signals

void widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par)
void widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par)

Public Member Functions

 QGo4Widget (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=Qt::Widget)
 QGo4Widget (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=Qt::Widget)
virtual ~QGo4Widget ()
virtual ~QGo4Widget ()
virtual void DropItem (const char *itemname, TClass *cl, int kind)
virtual void DropItem (const char *itemname, TClass *cl, int kind)
virtual bool IsAcceptDrag (const char *itemname, TClass *cl, int kind)
virtual bool IsAcceptDrag (const char *itemname, TClass *cl, int kind)
void ObjectCreatedByWidget (const char *itemname, TClass *cl)
void ObjectCreatedByWidget (const char *itemname, TClass *cl)
void ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot)
void ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot)
virtual void ResetWidget ()
virtual void ResetWidget ()

Static Public Member Functions

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 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 * 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 * CreateChkAction (QMenu *menu, const QString &text, bool checked, bool enabled=true)
static QAction * SetIdAction (QSignalMapper *map, int id, int enabled=-1, int checked=-1)
static QAction * SetIdAction (QSignalMapper *map, int id, int enabled=-1, int checked=-1)

Protected Member Functions

void AddLink (const char *itemname, const char *linkname)
 create link for item with name linkname
void AddLink (const char *itemname, const char *linkname)
 create link for item with name linkname
TGo4SlotAddLink (const char *itemname, TGo4Slot *parent)
 create link for item in dedicated slot parent
TGo4SlotAddLink (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
void AddLink (TGo4Slot *slot, const char *linkname)
 create link for object in slot with name linkname
TGo4SlotAddSlot (const char *slotname)
 add slot with specific name to widget top folder
TGo4SlotAddSlot (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.
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.
TGo4BrowserProxyBrowser ()
TGo4BrowserProxyBrowser ()
bool BrowserItemRemote (const char *itemname)
bool BrowserItemRemote (const char *itemname)
void CallPanelFunc (int id, TPad *pad=nullptr)
void CallPanelFunc (int id, TPad *pad=nullptr)
void CallServiceFunc (int id, const char *str=nullptr, void *par=nullptr)
void CallServiceFunc (int id, const char *str=nullptr, void *par=nullptr)
void closeEvent (QCloseEvent *e) override
void closeEvent (QCloseEvent *e) override
void ConnectPad (TPad *pad)
 connect pad axis change signals to react on such signals
void ConnectPad (TPad *pad)
 connect pad axis change signals to react on such signals
TGo4ViewPanelCreateViewPanel (int ndiv=0)
TGo4ViewPanelCreateViewPanel (int ndiv=0)
void dragEnterEvent (QDragEnterEvent *e) override
void dragEnterEvent (QDragEnterEvent *e) override
void dragMoveEvent (QDragMoveEvent *e) override
void dragMoveEvent (QDragMoveEvent *e) override
TGo4ViewPanelDrawItem (const QString &itemname, TGo4ViewPanel *panel=nullptr, TPad *pad=nullptr, bool activate=true, int updatelevel=-1)
TGo4ViewPanelDrawItem (const QString &itemname, TGo4ViewPanel *panel=nullptr, TPad *pad=nullptr, bool activate=true, int updatelevel=-1)
void dropEvent (QDropEvent *e) override
void dropEvent (QDropEvent *e) override
void EditItem (const QString &itemname)
void EditItem (const QString &itemname)
void EditObjectInSlot (TGo4Slot *slot)
void EditObjectInSlot (TGo4Slot *slot)
TGo4ServerProxyGetAnalysis (const char *itemname=nullptr)
TGo4ServerProxyGetAnalysis (const char *itemname=nullptr)
TObject * GetLinked (const char *linkname, int updatelevel=0)
TObject * GetLinked (const char *linkname, int updatelevel=0)
template<class T>
T * GetLinkedCast (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 (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
const char * GetLinkedName (TGo4Slot *slot)
 returns name of item, which was linked in that slot
TGo4SlotGetTopSlot (bool force=false)
 return top slot of structure, corresponding to this widget
TGo4SlotGetTopSlot (bool force=false)
 return top slot of structure, corresponding to this widget
void HelpWindow (const char *filename, const char *msg=nullptr)
void HelpWindow (const char *filename, const char *msg=nullptr)
void InformThatObjectCreated (const char *itemname, TClass *cl)
void InformThatObjectCreated (const char *itemname, TClass *cl)
bool IsUpdateBlocked () const
bool IsUpdateBlocked () const
TGo4ViewPanelLastActivePanel ()
TGo4ViewPanelLastActivePanel ()
virtual void linkedObjectRemoved (const char *linkname)
virtual void linkedObjectRemoved (const char *linkname)
virtual void linkedObjectUpdated (const char *linkname, TObject *obj)
virtual void linkedObjectUpdated (const char *linkname, TObject *obj)
virtual void linkedRemoved (TGo4Slot *slot, TObject *obj)
virtual void linkedRemoved (TGo4Slot *slot, TObject *obj)
virtual void linkedUpdated (TGo4Slot *slot, TObject *obj)
virtual void linkedUpdated (TGo4Slot *slot, TObject *obj)
void RemoveAllLinks (bool blockreset=true)
void RemoveAllLinks (bool blockreset=true)
void RemoveLink (const char *linkname, bool blockreset=true)
void RemoveLink (const char *linkname, bool blockreset=true)
void RemoveLinksMasked (const char *startedwith=nullptr, bool blockreset=true)
void RemoveLinksMasked (const char *startedwith=nullptr, bool blockreset=true)
virtual void requestedObjectCreated (const char *itemname, TClass *cl)
virtual void requestedObjectCreated (const char *itemname, TClass *cl)
bool SaveItemToFile (const char *itemname, const char *subfolder=nullptr)
bool SaveItemToFile (const char *itemname, const char *subfolder=nullptr)
QString SaveObjectInMemory (const char *foldername, TObject *obj)
QString SaveObjectInMemory (const char *foldername, TObject *obj)
void ServiceCall (const char *name, void *par=nullptr)
void ServiceCall (const char *name, void *par=nullptr)
void setCanDestroyWidget (bool on=true)
void setCanDestroyWidget (bool on=true)
void SetLinkedName (TGo4Slot *slot, const char *itemname)
 set name of item, which was linked by this slot
void SetLinkedName (TGo4Slot *slot, const char *itemname)
 set name of item, which was linked by this slot
void ShootCloseWidget (bool closeparent=false)
void ShootCloseWidget (bool closeparent=false)
void ShootResetWidget ()
void ShootResetWidget ()
void ShowItemInfo (const QString &itemname)
void ShowItemInfo (const QString &itemname)
void StartHotstart (const char *filename)
void StartHotstart (const char *filename)
void StatusMessage (const QString &message)
void StatusMessage (const QString &message)
void UndrawItem (const char *itemname)
void UndrawItem (const char *itemname)
bool UpdateItemInAnalysis (const char *itemname, TObject *obj=nullptr)
bool UpdateItemInAnalysis (const char *itemname, TObject *obj=nullptr)
TGo4ViewPanelWhereItemDrawn (const char *itemname)
TGo4ViewPanelWhereItemDrawn (const char *itemname)

Private Attributes

bool fBlockUpdate {false}
 indicates that reset widget timer is shoot
TGo4BrowserProxyfBrowserProxy {nullptr}
 set when automatic reset must be blocked
bool fCanDestroyWidget {false}
bool fResetWidgetShooted {false}
 indicate that widget can be destroyed
bool fWaitsForObjectCreation {false}

Friends

class TGo4MainWindow

Detailed Description

Definition at line 38 of file QGo4Widget.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

pointer on browser proxy

Enumerator
service_DragEnter 
service_DropEvent 
service_CreateItem 
service_DrawItem 
service_EditItem 
service_ShowInfo 
service_EditInSlot 
service_SaveItem 
service_UpdateAnalysisItem 
service_StatusMessage 
service_CreateViewPanel 
service_BrowserItemRemote 
service_Browser 
service_SaveToMemory 
service_GetAnalysis 
service_AddEditorLink 
service_AddDirectLink 
service_AddLinkInSlot 
service_GetTopSlot 
service_AddEditorSlot 
service_SetLinkedName 
service_GetLinkedName 
service_GetLinkedName2 
service_GetLinked0 
service_GetLinked1 
service_GetLinked2 
service_RemoveLink 
service_RemoveAllLinks 
service_ObjectCreated 
service_ConnectPad 
service_LastActivePanel 
service_WhereItemDrawn 
service_UndrawItem 
service_General 
service_PanelTimer 
service_HelpWindow 
service_HotStart 
panel_Activated 
panel_Modified 
panel_Updated 
panel_ActiveUpdated 
panel_PadDeleted 
panel_Deleted 

Definition at line 53 of file QGo4Widget.h.

◆ anonymous enum

anonymous enum

pointer on browser proxy

Enumerator
service_DragEnter 
service_DropEvent 
service_CreateItem 
service_DrawItem 
service_EditItem 
service_ShowInfo 
service_EditInSlot 
service_SaveItem 
service_UpdateAnalysisItem 
service_StatusMessage 
service_CreateViewPanel 
service_BrowserItemRemote 
service_Browser 
service_SaveToMemory 
service_GetAnalysis 
service_AddEditorLink 
service_AddDirectLink 
service_AddLinkInSlot 
service_GetTopSlot 
service_AddEditorSlot 
service_SetLinkedName 
service_GetLinkedName 
service_GetLinkedName2 
service_GetLinked0 
service_GetLinked1 
service_GetLinked2 
service_RemoveLink 
service_RemoveAllLinks 
service_ObjectCreated 
service_ConnectPad 
service_LastActivePanel 
service_WhereItemDrawn 
service_UndrawItem 
service_General 
service_PanelTimer 
service_HelpWindow 
service_HotStart 
panel_Activated 
panel_Modified 
panel_Updated 
panel_ActiveUpdated 
panel_PadDeleted 
panel_Deleted 

Definition at line 53 of file QGo4Widget.h.

Constructor & Destructor Documentation

◆ QGo4Widget() [1/2]

◆ ~QGo4Widget() [1/2]

QGo4Widget::~QGo4Widget ( )
virtual

Definition at line 37 of file QGo4Widget.cpp.

References RemoveLinksMasked().

◆ QGo4Widget() [2/2]

QGo4Widget::QGo4Widget ( QWidget * parent = nullptr,
const char * name = nullptr,
Qt::WindowFlags f = Qt::Widget )

◆ ~QGo4Widget() [2/2]

virtual QGo4Widget::~QGo4Widget ( )
virtual

Member Function Documentation

◆ AddIdAction() [1/4]

QAction * QGo4Widget::AddIdAction ( QMenu * menu,
QSignalMapper * map,
const QIcon & icon,
const QString & text,
int id,
int enabled = -1,
int checked = -1 )
static

Definition at line 453 of file QGo4Widget.cpp.

◆ AddIdAction() [2/4]

QAction * QGo4Widget::AddIdAction ( QMenu * menu,
QSignalMapper * map,
const QIcon & icon,
const QString & text,
int id,
int enabled = -1,
int checked = -1 )
static

◆ AddIdAction() [3/4]

QAction * QGo4Widget::AddIdAction ( QMenu * menu,
QSignalMapper * map,
const QString & text,
int id,
int enabled = -1,
int checked = -1 )
static

◆ AddIdAction() [4/4]

QAction * QGo4Widget::AddIdAction ( QMenu * menu,
QSignalMapper * map,
const QString & text,
int id,
int enabled = -1,
int checked = -1 )
static

◆ AddLink() [1/6]

◆ AddLink() [2/6]

void QGo4Widget::AddLink ( const char * itemname,
const char * linkname )
protected

create link for item with name linkname

◆ AddLink() [3/6]

TGo4Slot * QGo4Widget::AddLink ( const char * itemname,
TGo4Slot * parent )
protected

create link for item in dedicated slot parent

Definition at line 127 of file QGo4Widget.cpp.

References service_AddLinkInSlot, and widgetService().

◆ AddLink() [4/6]

TGo4Slot * QGo4Widget::AddLink ( const char * itemname,
TGo4Slot * parent )
protected

create link for item in dedicated slot parent

◆ AddLink() [5/6]

void QGo4Widget::AddLink ( TGo4Slot * slot,
const char * linkname )
protected

create link for object in slot with name linkname

Definition at line 122 of file QGo4Widget.cpp.

References service_AddDirectLink, and widgetService().

◆ AddLink() [6/6]

void QGo4Widget::AddLink ( TGo4Slot * slot,
const char * linkname )
protected

create link for object in slot with name linkname

◆ AddSlot() [1/2]

TGo4Slot * QGo4Widget::AddSlot ( const char * slotname)
protected

◆ AddSlot() [2/2]

TGo4Slot * QGo4Widget::AddSlot ( const char * slotname)
protected

add slot with specific name to widget top folder

◆ AskToCreateObject() [1/2]

void QGo4Widget::AskToCreateObject ( TClass * cl,
int isremote )
protected

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.

Definition at line 275 of file QGo4Widget.cpp.

References fWaitsForObjectCreation, service_CreateItem, and widgetService().

Referenced by TGo4EditDynEntry::ConNewButton_clicked(), TGo4EditDynEntry::HisCreateButton_clicked(), and TGo4TreeViewer::NewHistBtn_clicked().

◆ AskToCreateObject() [2/2]

void QGo4Widget::AskToCreateObject ( TClass * cl,
int isremote )
protected

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.

◆ Browser() [1/2]

◆ Browser() [2/2]

TGo4BrowserProxy * QGo4Widget::Browser ( )
protected

◆ BrowserItemRemote() [1/2]

◆ BrowserItemRemote() [2/2]

bool QGo4Widget::BrowserItemRemote ( const char * itemname)
protected

◆ CallPanelFunc() [1/2]

◆ CallPanelFunc() [2/2]

void QGo4Widget::CallPanelFunc ( int id,
TPad * pad = nullptr )
protected

◆ CallServiceFunc() [1/2]

void QGo4Widget::CallServiceFunc ( int id,
const char * str = nullptr,
void * par = nullptr )
protected

Definition at line 393 of file QGo4Widget.cpp.

References widgetService().

Referenced by ServiceCall(), and TGo4ViewPanel::ShootRepaintTimer().

◆ CallServiceFunc() [2/2]

void QGo4Widget::CallServiceFunc ( int id,
const char * str = nullptr,
void * par = nullptr )
protected

◆ closeEvent() [1/2]

void QGo4Widget::closeEvent ( QCloseEvent * e)
overrideprotected

Definition at line 93 of file QGo4Widget.cpp.

References fCanDestroyWidget.

Referenced by widgetService().

◆ closeEvent() [2/2]

void QGo4Widget::closeEvent ( QCloseEvent * e)
overrideprotected

◆ CloseMDIParentSlot [1/2]

◆ CloseMDIParentSlot [2/2]

void QGo4Widget::CloseMDIParentSlot ( )
slot

◆ ConnectPad() [1/2]

void QGo4Widget::ConnectPad ( TPad * pad)
protected

connect pad axis change signals to react on such signals

Definition at line 229 of file QGo4Widget.cpp.

References service_ConnectPad, and widgetService().

Referenced by TGo4ViewPanel::SetSlotPad().

◆ ConnectPad() [2/2]

void QGo4Widget::ConnectPad ( TPad * pad)
protected

connect pad axis change signals to react on such signals

◆ CreateChkAction() [1/2]

QAction * QGo4Widget::CreateChkAction ( QMenu * menu,
const QString & text,
bool checked,
bool enabled = true )
static

◆ CreateChkAction() [2/2]

QAction * QGo4Widget::CreateChkAction ( QMenu * menu,
const QString & text,
bool checked,
bool enabled = true )
static

◆ CreateViewPanel() [1/2]

◆ CreateViewPanel() [2/2]

TGo4ViewPanel * QGo4Widget::CreateViewPanel ( int ndiv = 0)
protected

◆ dragEnterEvent() [1/2]

void QGo4Widget::dragEnterEvent ( QDragEnterEvent * e)
overrideprotected

Definition at line 102 of file QGo4Widget.cpp.

References service_DragEnter, and widgetService().

Referenced by widgetService().

◆ dragEnterEvent() [2/2]

void QGo4Widget::dragEnterEvent ( QDragEnterEvent * e)
overrideprotected

◆ dragMoveEvent() [1/2]

void QGo4Widget::dragMoveEvent ( QDragMoveEvent * e)
overrideprotected

Definition at line 107 of file QGo4Widget.cpp.

References service_DragEnter, and widgetService().

Referenced by widgetService().

◆ dragMoveEvent() [2/2]

void QGo4Widget::dragMoveEvent ( QDragMoveEvent * e)
overrideprotected

◆ DrawItem() [1/2]

◆ DrawItem() [2/2]

TGo4ViewPanel * QGo4Widget::DrawItem ( const QString & itemname,
TGo4ViewPanel * panel = nullptr,
TPad * pad = nullptr,
bool activate = true,
int updatelevel = -1 )
protected

◆ dropEvent() [1/2]

void QGo4Widget::dropEvent ( QDropEvent * e)
overrideprotected

Definition at line 112 of file QGo4Widget.cpp.

References service_DropEvent, and widgetService().

Referenced by widgetService().

◆ dropEvent() [2/2]

void QGo4Widget::dropEvent ( QDropEvent * e)
overrideprotected

◆ DropItem() [1/2]

◆ DropItem() [2/2]

◆ EditItem() [1/2]

◆ EditItem() [2/2]

void QGo4Widget::EditItem ( const QString & itemname)
protected

◆ EditObjectInSlot() [1/2]

void QGo4Widget::EditObjectInSlot ( TGo4Slot * slot)
protected

Definition at line 350 of file QGo4Widget.cpp.

References service_EditInSlot, and widgetService().

Referenced by TGo4ParaEdit::EditFitter().

◆ EditObjectInSlot() [2/2]

void QGo4Widget::EditObjectInSlot ( TGo4Slot * slot)
protected

◆ GetAnalysis() [1/2]

TGo4ServerProxy * QGo4Widget::GetAnalysis ( const char * itemname = nullptr)
protected

◆ GetAnalysis() [2/2]

TGo4ServerProxy * QGo4Widget::GetAnalysis ( const char * itemname = nullptr)
protected

◆ GetLinked() [1/2]

◆ GetLinked() [2/2]

TObject * QGo4Widget::GetLinked ( const char * linkname,
int updatelevel = 0 )
protected

◆ GetLinkedCast() [1/2]

template<class T>
T * QGo4Widget::GetLinkedCast ( const char * linkname,
int updatelevel = 0 )
inlineprotected

Definition at line 157 of file QGo4Widget.h.

References GetLinked().

Referenced by TGo4Browser::BrowserProxy(), TGo4ConditionEditor::ClearCounters(), TGo4EditDynEntry::ClearHistogramClicked(), TGo4EditDynEntry::ConXnameEdit_textChanged(), TGo4EditDynEntry::ConYnameEdit_textChanged(), TGo4EditDynEntry::CutExprEdit_textChanged(), TGo4ConditionEditor::DrawCondition(), TGo4EditDynEntry::DrawExprEdit_textChanged(), TGo4EditDynEntry::DropCondition(), TGo4EditDynEntry::DropHistogram(), TGo4EditDynEntry::DropTree(), TGo4EditDynEntry::DynIntervalSpin_valueChanged(), TGo4AnalysisConfiguration::EnableAutoSaveSlot(), TGo4ConditionEditor::enterEvent(), TGo4EditDynEntry::EntryEnabledButton_toggled(), TGo4EditDynEntry::EvXnameEdit_textChanged(), TGo4EditDynEntry::EvYnameEdit_textChanged(), TGo4EditDynEntry::EvZnameEdit_textChanged(), TGo4FitPanel::GetFitter(), TGo4AnalysisConfiguration::LineEdit_AutoSaveFile(), TGo4AnalysisConfiguration::linkedObjectUpdated(), TGo4AnalysisConfiguration::LoadConfiguration(), TGo4ConditionEditor::ModifyButton_clicked(), TGo4EditDynEntry::PrepareEntryForAnalysis(), TGo4ConditionEditor::PrepareForAnalysis(), TGo4ConditionEditor::PrintConditionLog(), TGo4ConditionEditor::RedrawCondition(), TGo4AnalysisConfiguration::RefreshWidget(), TGo4ConditionEditor::RefreshWidget(), TGo4EditDynEntry::RefreshWidget(), TGo4AnalysisConfiguration::RequestAnalysisStatus(), TGo4AnalysisConfiguration::SaveConfiguration(), TGo4ParaEdit::saveFile(), TGo4ConditionEditor::SelectedCondition(), TGo4AnalysisConfiguration::SetAutoSaveInterval(), TGo4AnalysisConfiguration::SetAutoSaveOverwrite(), TGo4ConditionEditor::SetChangeFlag(), TGo4AnalysisConfiguration::SetCompressionLevel(), TGo4ConditionEditor::WorkWithCondition(), TGo4ConditionInfo::WorkWithCondition(), TGo4EditDynEntry::WorkWithEntry(), TGo4HistogramInfo::WorkWithHistogram(), TGo4ParaEdit::WorkWithParameter(), and TGo4AnalysisConfiguration::WriteAutoSave().

◆ GetLinkedCast() [2/2]

template<class T>
T * QGo4Widget::GetLinkedCast ( const char * linkname,
int updatelevel = 0 )
inlineprotected

Definition at line 157 of file QGo4Widget.h.

References GetLinked().

◆ GetLinkedName() [1/4]

◆ GetLinkedName() [2/4]

const char * QGo4Widget::GetLinkedName ( const char * linkname)
protected

returns name of item, which was linked with linkname

◆ GetLinkedName() [3/4]

const char * QGo4Widget::GetLinkedName ( TGo4Slot * slot)
protected

returns name of item, which was linked in that slot

Definition at line 162 of file QGo4Widget.cpp.

References service_GetLinkedName2, and widgetService().

◆ GetLinkedName() [4/4]

const char * QGo4Widget::GetLinkedName ( TGo4Slot * slot)
protected

returns name of item, which was linked in that slot

◆ GetTopSlot() [1/2]

TGo4Slot * QGo4Widget::GetTopSlot ( bool force = false)
protected

return top slot of structure, corresponding to this widget

Definition at line 134 of file QGo4Widget.cpp.

References service_GetTopSlot, and widgetService().

Referenced by TGo4ViewPanel::GetPanelSlot(), and widgetService().

◆ GetTopSlot() [2/2]

TGo4Slot * QGo4Widget::GetTopSlot ( bool force = false)
protected

return top slot of structure, corresponding to this widget

◆ HelpWindow() [1/2]

void QGo4Widget::HelpWindow ( const char * filename,
const char * msg = nullptr )
protected

Definition at line 328 of file QGo4Widget.cpp.

References service_HelpWindow, and widgetService().

Referenced by TGo4CommandLine::PrintHelp().

◆ HelpWindow() [2/2]

void QGo4Widget::HelpWindow ( const char * filename,
const char * msg = nullptr )
protected

◆ InformThatObjectCreated() [1/2]

void QGo4Widget::InformThatObjectCreated ( const char * itemname,
TClass * cl )
protected

Definition at line 282 of file QGo4Widget.cpp.

References service_ObjectCreated, and widgetService().

Referenced by TGo4AnalysisWindow::linkedObjectUpdated().

◆ InformThatObjectCreated() [2/2]

void QGo4Widget::InformThatObjectCreated ( const char * itemname,
TClass * cl )
protected

◆ IsAcceptDrag() [1/2]

◆ IsAcceptDrag() [2/2]

◆ IsUpdateBlocked() [1/2]

bool QGo4Widget::IsUpdateBlocked ( ) const
inlineprotected

Definition at line 208 of file QGo4Widget.h.

References fBlockUpdate.

Referenced by ProcessSignal().

◆ IsUpdateBlocked() [2/2]

bool QGo4Widget::IsUpdateBlocked ( ) const
inlineprotected

Definition at line 208 of file QGo4Widget.h.

References fBlockUpdate.

◆ LastActivePanel() [1/2]

◆ LastActivePanel() [2/2]

TGo4ViewPanel * QGo4Widget::LastActivePanel ( )
protected

◆ linkedObjectRemoved() [1/2]

◆ linkedObjectRemoved() [2/2]

◆ linkedObjectUpdated() [1/2]

◆ linkedObjectUpdated() [2/2]

◆ linkedRemoved() [1/2]

void QGo4Widget::linkedRemoved ( TGo4Slot * slot,
TObject * obj )
protectedvirtual

Reimplemented in TGo4FitPanel, TGo4ViewPanel, and TGo4ViewPanel.

Definition at line 271 of file QGo4Widget.cpp.

Referenced by ProcessSignal().

◆ linkedRemoved() [2/2]

virtual void QGo4Widget::linkedRemoved ( TGo4Slot * slot,
TObject * obj )
protectedvirtual

Reimplemented in TGo4FitPanel, TGo4ViewPanel, and TGo4ViewPanel.

◆ linkedUpdated() [1/2]

void QGo4Widget::linkedUpdated ( TGo4Slot * slot,
TObject * obj )
protectedvirtual

Reimplemented in TGo4ViewPanel, and TGo4ViewPanel.

Definition at line 267 of file QGo4Widget.cpp.

Referenced by ProcessSignal().

◆ linkedUpdated() [2/2]

virtual void QGo4Widget::linkedUpdated ( TGo4Slot * slot,
TObject * obj )
protectedvirtual

Reimplemented in TGo4ViewPanel, and TGo4ViewPanel.

◆ ObjectCreatedByWidget() [1/2]

void QGo4Widget::ObjectCreatedByWidget ( const char * itemname,
TClass * cl )

Definition at line 42 of file QGo4Widget.cpp.

References fWaitsForObjectCreation, and requestedObjectCreated().

Referenced by TGo4MainWindow::editorServiceSlot().

◆ ObjectCreatedByWidget() [2/2]

void QGo4Widget::ObjectCreatedByWidget ( const char * itemname,
TClass * cl )

◆ ProcessSignal() [1/2]

void QGo4Widget::ProcessSignal ( const char * linkname,
bool assigned,
TObject * obj,
TGo4Slot * slot )

◆ ProcessSignal() [2/2]

void QGo4Widget::ProcessSignal ( const char * linkname,
bool assigned,
TObject * obj,
TGo4Slot * slot )

◆ RemoveAllLinks() [1/2]

void QGo4Widget::RemoveAllLinks ( bool blockreset = true)
protected

◆ RemoveAllLinks() [2/2]

void QGo4Widget::RemoveAllLinks ( bool blockreset = true)
protected

◆ RemoveLink() [1/2]

◆ RemoveLink() [2/2]

void QGo4Widget::RemoveLink ( const char * linkname,
bool blockreset = true )
protected

◆ RemoveLinksMasked() [1/2]

void QGo4Widget::RemoveLinksMasked ( const char * startedwith = nullptr,
bool blockreset = true )
protected

◆ RemoveLinksMasked() [2/2]

void QGo4Widget::RemoveLinksMasked ( const char * startedwith = nullptr,
bool blockreset = true )
protected

◆ requestedObjectCreated() [1/2]

void QGo4Widget::requestedObjectCreated ( const char * itemname,
TClass * cl )
protectedvirtual

Reimplemented in TGo4EditDynEntry, TGo4EditDynEntry, TGo4TreeViewer, and TGo4TreeViewer.

Definition at line 288 of file QGo4Widget.cpp.

Referenced by ObjectCreatedByWidget().

◆ requestedObjectCreated() [2/2]

virtual void QGo4Widget::requestedObjectCreated ( const char * itemname,
TClass * cl )
protectedvirtual

◆ ResetWidget() [1/2]

◆ ResetWidget() [2/2]

◆ SaveItemToFile() [1/2]

bool QGo4Widget::SaveItemToFile ( const char * itemname,
const char * subfolder = nullptr )
protected

◆ SaveItemToFile() [2/2]

bool QGo4Widget::SaveItemToFile ( const char * itemname,
const char * subfolder = nullptr )
protected

◆ SaveObjectInMemory() [1/2]

QString QGo4Widget::SaveObjectInMemory ( const char * foldername,
TObject * obj )
protected

◆ SaveObjectInMemory() [2/2]

QString QGo4Widget::SaveObjectInMemory ( const char * foldername,
TObject * obj )
protected

◆ ServiceCall() [1/2]

◆ ServiceCall() [2/2]

void QGo4Widget::ServiceCall ( const char * name,
void * par = nullptr )
protected

◆ setCanDestroyWidget() [1/2]

void QGo4Widget::setCanDestroyWidget ( bool on = true)
inlineprotected

◆ setCanDestroyWidget() [2/2]

void QGo4Widget::setCanDestroyWidget ( bool on = true)
inlineprotected

Definition at line 201 of file QGo4Widget.h.

References fCanDestroyWidget.

◆ SetIdAction() [1/2]

QAction * QGo4Widget::SetIdAction ( QSignalMapper * map,
int id,
int enabled = -1,
int checked = -1 )
static

◆ SetIdAction() [2/2]

QAction * QGo4Widget::SetIdAction ( QSignalMapper * map,
int id,
int enabled = -1,
int checked = -1 )
static

◆ SetLinkedName() [1/2]

void QGo4Widget::SetLinkedName ( TGo4Slot * slot,
const char * itemname )
protected

set name of item, which was linked by this slot

Definition at line 148 of file QGo4Widget.cpp.

References service_SetLinkedName, and widgetService().

Referenced by TGo4ViewPanel::AddDrawObject(), TGo4MainWindow::editorServiceSlot(), and widgetService().

◆ SetLinkedName() [2/2]

void QGo4Widget::SetLinkedName ( TGo4Slot * slot,
const char * itemname )
protected

set name of item, which was linked by this slot

◆ ShootCloseWidget() [1/2]

◆ ShootCloseWidget() [2/2]

void QGo4Widget::ShootCloseWidget ( bool closeparent = false)
protected

◆ ShootResetWidget() [1/2]

void QGo4Widget::ShootResetWidget ( )
protected

Definition at line 61 of file QGo4Widget.cpp.

References fResetWidgetShooted, and ResetWidget().

Referenced by linkedObjectRemoved().

◆ ShootResetWidget() [2/2]

void QGo4Widget::ShootResetWidget ( )
protected

◆ ShowItemInfo() [1/2]

void QGo4Widget::ShowItemInfo ( const QString & itemname)
protected

◆ ShowItemInfo() [2/2]

void QGo4Widget::ShowItemInfo ( const QString & itemname)
protected

◆ StartHotstart() [1/2]

void QGo4Widget::StartHotstart ( const char * filename)
protected

Definition at line 333 of file QGo4Widget.cpp.

References service_HotStart, and widgetService().

Referenced by TGo4CommandLine::enterPressedSlot().

◆ StartHotstart() [2/2]

void QGo4Widget::StartHotstart ( const char * filename)
protected

◆ StatusMessage() [1/2]

◆ StatusMessage() [2/2]

void QGo4Widget::StatusMessage ( const QString & message)
protected

◆ UndrawItem() [1/2]

void QGo4Widget::UndrawItem ( const char * itemname)
protected

Definition at line 323 of file QGo4Widget.cpp.

References service_UndrawItem, and widgetService().

Referenced by TGo4ViewPanel::AddDrawObject().

◆ UndrawItem() [2/2]

void QGo4Widget::UndrawItem ( const char * itemname)
protected

◆ UpdateItemInAnalysis() [1/2]

bool QGo4Widget::UpdateItemInAnalysis ( const char * itemname,
TObject * obj = nullptr )
protected

◆ UpdateItemInAnalysis() [2/2]

bool QGo4Widget::UpdateItemInAnalysis ( const char * itemname,
TObject * obj = nullptr )
protected

◆ WhereItemDrawn() [1/2]

◆ WhereItemDrawn() [2/2]

TGo4ViewPanel * QGo4Widget::WhereItemDrawn ( const char * itemname)
protected

◆ widgetService [1/2]

◆ widgetService [2/2]

void QGo4Widget::widgetService ( QGo4Widget * editor,
int serviceid,
const char * str,
void * par )
signal

References QGo4Widget().

◆ TGo4MainWindow

Definition at line 42 of file QGo4Widget.h.

References TGo4MainWindow.

Referenced by TGo4MainWindow.

Field Documentation

◆ fBlockUpdate

bool QGo4Widget::fBlockUpdate {false}
private

indicates that reset widget timer is shoot

Definition at line 48 of file QGo4Widget.h.

Referenced by QGo4Widget(), IsUpdateBlocked(), RemoveAllLinks(), RemoveLink(), and RemoveLinksMasked().

◆ fBrowserProxy

TGo4BrowserProxy * QGo4Widget::fBrowserProxy {nullptr}
private

set when automatic reset must be blocked

Definition at line 50 of file QGo4Widget.h.

Referenced by QGo4Widget(), and Browser().

◆ fCanDestroyWidget

bool QGo4Widget::fCanDestroyWidget {false}
private

Definition at line 46 of file QGo4Widget.h.

Referenced by QGo4Widget(), closeEvent(), and setCanDestroyWidget().

◆ fResetWidgetShooted

bool QGo4Widget::fResetWidgetShooted {false}
private

indicate that widget can be destroyed

Definition at line 47 of file QGo4Widget.h.

Referenced by QGo4Widget(), ResetWidget(), ShootCloseWidget(), and ShootResetWidget().

◆ fWaitsForObjectCreation

bool QGo4Widget::fWaitsForObjectCreation {false}
private

Definition at line 45 of file QGo4Widget.h.

Referenced by QGo4Widget(), AskToCreateObject(), ObjectCreatedByWidget(), and ResetWidget().


The documentation for this class was generated from the following files: