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

#include <TGo4ConditionEditor.h>

+ Inheritance diagram for TGo4ConditionEditor:

Public Slots

virtual void ArrayAll ()
 
virtual void ClearCounters ()
 
virtual void CutTable_contextMenuRequested (const QPoint &)
 
virtual void CutTable_valueChanged (int ncol, int nrow)
 
virtual void DisplayPressed ()
 
virtual void EllipseA1_valueChanged (double r1)
 
virtual void EllipseA2_valueChanged (double r2)
 
virtual void EllipseCircleBox_toggled (bool on)
 
virtual void EllipseCx_valueChanged (double x)
 
virtual void EllipseCy_valueChanged (double y)
 
virtual void EllipseNPoints_valueChanged (int npoint)
 
virtual void EllipseRefreshBox_toggled (bool on)
 
virtual void EllipseTheta_returnPressed ()
 
virtual void EllipseTheta_valueChanged (int deg)
 
virtual void LimitsChanged (const QString &)
 
virtual void LimitsReturnPressed ()
 
virtual void ModifyButton_clicked ()
 
virtual void NPointsSpin_valueChanged (int npoint)
 
virtual void PleaseUpdateSlot ()
 
virtual void PrintConditionLog ()
 
virtual void RefreshClicked ()
 
virtual void SaveCondition ()
 
virtual void SelectedCond (int t)
 
virtual void SetCMaxDraw (bool on)
 
virtual void SetCondVisible (bool on)
 
virtual void SetDrawLimits (bool on)
 
virtual void SetIntDraw (bool on)
 
virtual void SetInvertMode (int mode)
 
virtual void SetLabel (bool on)
 
virtual void SetResultMode (int mode)
 
virtual void SetXMaxDraw (bool on)
 
virtual void SetXMeanDraw (bool on)
 
virtual void SetXRMSDraw (bool on)
 
virtual void SetYMaxDraw (bool on)
 
virtual void SetYMeanDraw (bool on)
 
virtual void SetYRMSDraw (bool on)
 
virtual void UpdatePressed ()
 
- Public Slots inherited from QGo4Widget
void CloseMDIParentSlot ()
 

Public Member Functions

 TGo4ConditionEditor (QWidget *parent=nullptr, const char *name=nullptr)
 
virtual void ChangeConditionProperty (int id, bool on)
 
virtual void DrawCondition (bool useactive)
 
void DropItem (const char *itemname, TClass *cl, int kind) override
 
void enterEvent (QEnterEvent *) override
 
virtual void FillCutWidget (TCutG *cut)
 
virtual void FillEllipseWidget (TGo4ShapedCond *elli)
 
virtual void FillListWidget (TGo4ListCond *lcon)
 
bool IsAcceptDrag (const char *itemname, TClass *cl, int kind) override
 
void leaveEvent (QEvent *) override
 
void linkedObjectRemoved (const char *linkname) override
 
void linkedObjectUpdated (const char *linkname, TObject *obj) override
 
virtual bool PrepareForAnalysis ()
 
virtual void RedrawCondition ()
 
virtual void RefreshWidget (bool checkindex)
 
void ResetWidget () override
 
virtual TGo4ConditionSelectedCondition ()
 
virtual void SetChangeFlag (bool changed)
 
virtual void ShowEllipseWidget (bool show)
 
virtual void UpdateEllipse ()
 
virtual bool UpdateLimits ()
 
virtual void WorkWithCondition (const char *itemname)
 
- Public Member Functions inherited from QGo4Widget
 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 Member Functions

void CutTable_contextMenuHandler (int, bool)
 
- Protected Member Functions inherited from QGo4Widget
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
 
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
 
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 ()
 
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
 
TGo4ViewPanelCreateViewPanel (int ndiv=0)
 
void dragEnterEvent (QDragEnterEvent *e) override
 
void dragMoveEvent (QDragMoveEvent *e) override
 
TGo4ViewPanelDrawItem (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)
 
TGo4ServerProxyGetAnalysis (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
 
TGo4SlotGetTopSlot (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
 
TGo4ViewPanelLastActivePanel ()
 
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)
 
TGo4ViewPanelWhereItemDrawn (const char *itemname)
 

Protected Attributes

bool fbDrawOnNextRefresh {false}
 
bool fbEllipseAutoRefresh {false}
 
bool fbNewWindow {false}
 
bool fbTypingMode {false}
 
int fiLastChangeValue {0}
 
int fiSelectedIndex {0}
 

Additional Inherited Members

- Public Types inherited from QGo4Widget
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...
 
- Signals inherited from QGo4Widget
void widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par)
 
- Static Public Member Functions inherited from QGo4Widget
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)
 

Detailed Description

Definition at line 25 of file TGo4ConditionEditor.h.

Constructor & Destructor Documentation

◆ TGo4ConditionEditor()

Member Function Documentation

◆ ArrayAll

void TGo4ConditionEditor::ArrayAll ( )
virtualslot

Definition at line 522 of file TGo4ConditionEditor.cpp.

Referenced by TGo4ConditionEditor().

◆ ChangeConditionProperty()

◆ ClearCounters

◆ CutTable_contextMenuHandler()

◆ CutTable_contextMenuRequested

void TGo4ConditionEditor::CutTable_contextMenuRequested ( const QPoint & pos)
virtualslot

◆ CutTable_valueChanged

void TGo4ConditionEditor::CutTable_valueChanged ( int ncol,
int nrow )
virtualslot

◆ DisplayPressed

void TGo4ConditionEditor::DisplayPressed ( )
virtualslot

Definition at line 705 of file TGo4ConditionEditor.cpp.

References DrawCondition().

Referenced by TGo4ConditionEditor().

◆ DrawCondition()

◆ DropItem()

void TGo4ConditionEditor::DropItem ( const char * itemname,
TClass * cl,
int kind )
overridevirtual

Reimplemented from QGo4Widget.

Definition at line 122 of file TGo4ConditionEditor.cpp.

References WorkWithCondition().

◆ EllipseA1_valueChanged

void TGo4ConditionEditor::EllipseA1_valueChanged ( double r1)
virtualslot

Definition at line 1186 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

Referenced by TGo4ConditionEditor().

◆ EllipseA2_valueChanged

void TGo4ConditionEditor::EllipseA2_valueChanged ( double r2)
virtualslot

Definition at line 1194 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

Referenced by TGo4ConditionEditor().

◆ EllipseCircleBox_toggled

void TGo4ConditionEditor::EllipseCircleBox_toggled ( bool on)
virtualslot

Definition at line 1210 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

Referenced by TGo4ConditionEditor().

◆ EllipseCx_valueChanged

void TGo4ConditionEditor::EllipseCx_valueChanged ( double x)
virtualslot

◆ EllipseCy_valueChanged

void TGo4ConditionEditor::EllipseCy_valueChanged ( double y)
virtualslot

◆ EllipseNPoints_valueChanged

void TGo4ConditionEditor::EllipseNPoints_valueChanged ( int npoint)
virtualslot

Definition at line 1232 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

Referenced by TGo4ConditionEditor().

◆ EllipseRefreshBox_toggled

void TGo4ConditionEditor::EllipseRefreshBox_toggled ( bool on)
virtualslot

Definition at line 1202 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

Referenced by TGo4ConditionEditor().

◆ EllipseTheta_returnPressed

void TGo4ConditionEditor::EllipseTheta_returnPressed ( )
virtualslot

Definition at line 1217 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

Referenced by TGo4ConditionEditor().

◆ EllipseTheta_valueChanged

void TGo4ConditionEditor::EllipseTheta_valueChanged ( int deg)
virtualslot

◆ enterEvent()

void TGo4ConditionEditor::enterEvent ( QEnterEvent * )
override

◆ FillCutWidget()

void TGo4ConditionEditor::FillCutWidget ( TCutG * cut)
virtual

◆ FillEllipseWidget()

◆ FillListWidget()

void TGo4ConditionEditor::FillListWidget ( TGo4ListCond * lcon)
virtual

◆ IsAcceptDrag()

bool TGo4ConditionEditor::IsAcceptDrag ( const char * itemname,
TClass * cl,
int kind )
overridevirtual

Reimplemented from QGo4Widget.

Definition at line 114 of file TGo4ConditionEditor.cpp.

◆ leaveEvent()

void TGo4ConditionEditor::leaveEvent ( QEvent * )
override

Definition at line 695 of file TGo4ConditionEditor.cpp.

◆ LimitsChanged

void TGo4ConditionEditor::LimitsChanged ( const QString & )
virtualslot

Definition at line 566 of file TGo4ConditionEditor.cpp.

References UpdateLimits().

Referenced by TGo4ConditionEditor().

◆ LimitsReturnPressed

void TGo4ConditionEditor::LimitsReturnPressed ( )
virtualslot

Definition at line 571 of file TGo4ConditionEditor.cpp.

References RedrawCondition(), and UpdateLimits().

Referenced by TGo4ConditionEditor().

◆ linkedObjectRemoved()

void TGo4ConditionEditor::linkedObjectRemoved ( const char * linkname)
overridevirtual

Reimplemented from QGo4Widget.

Definition at line 159 of file TGo4ConditionEditor.cpp.

References QGo4Widget::ShootCloseWidget().

◆ linkedObjectUpdated()

void TGo4ConditionEditor::linkedObjectUpdated ( const char * linkname,
TObject * obj )
overridevirtual

Reimplemented from QGo4Widget.

Definition at line 149 of file TGo4ConditionEditor.cpp.

References RefreshWidget(), and TGo4Condition::SetChanged().

◆ ModifyButton_clicked

◆ NPointsSpin_valueChanged

void TGo4ConditionEditor::NPointsSpin_valueChanged ( int npoint)
virtualslot

◆ PleaseUpdateSlot

◆ PrepareForAnalysis()

bool TGo4ConditionEditor::PrepareForAnalysis ( )
virtual

◆ PrintConditionLog

void TGo4ConditionEditor::PrintConditionLog ( )
virtualslot

Definition at line 814 of file TGo4ConditionEditor.cpp.

References QGo4Widget::GetLinkedCast().

Referenced by TGo4ConditionEditor().

◆ RedrawCondition()

◆ RefreshClicked

void TGo4ConditionEditor::RefreshClicked ( )
virtualslot

Definition at line 699 of file TGo4ConditionEditor.cpp.

References QGo4Widget::GetLinked(), and RefreshWidget().

Referenced by TGo4ConditionEditor(), and UpdatePressed().

◆ RefreshWidget()

◆ ResetWidget()

void TGo4ConditionEditor::ResetWidget ( )
overridevirtual

Reimplemented from QGo4Widget.

Definition at line 214 of file TGo4ConditionEditor.cpp.

References QGo4Widget::ResetWidget().

Referenced by TGo4ConditionEditor(), and WorkWithCondition().

◆ SaveCondition

void TGo4ConditionEditor::SaveCondition ( )
virtualslot

◆ SelectedCond

void TGo4ConditionEditor::SelectedCond ( int t)
virtualslot

◆ SelectedCondition()

◆ SetChangeFlag()

void TGo4ConditionEditor::SetChangeFlag ( bool changed)
virtual

◆ SetCMaxDraw

void TGo4ConditionEditor::SetCMaxDraw ( bool on)
virtualslot

Definition at line 674 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetCondVisible

void TGo4ConditionEditor::SetCondVisible ( bool on)
virtualslot

Definition at line 679 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetDrawLimits

void TGo4ConditionEditor::SetDrawLimits ( bool on)
virtualslot

Definition at line 634 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetIntDraw

void TGo4ConditionEditor::SetIntDraw ( bool on)
virtualslot

Definition at line 639 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetInvertMode

void TGo4ConditionEditor::SetInvertMode ( int mode)
virtualslot

◆ SetLabel

void TGo4ConditionEditor::SetLabel ( bool on)
virtualslot

Definition at line 628 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetResultMode

void TGo4ConditionEditor::SetResultMode ( int mode)
virtualslot

◆ SetXMaxDraw

void TGo4ConditionEditor::SetXMaxDraw ( bool on)
virtualslot

Definition at line 664 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetXMeanDraw

void TGo4ConditionEditor::SetXMeanDraw ( bool on)
virtualslot

Definition at line 644 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetXRMSDraw

void TGo4ConditionEditor::SetXRMSDraw ( bool on)
virtualslot

Definition at line 649 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetYMaxDraw

void TGo4ConditionEditor::SetYMaxDraw ( bool on)
virtualslot

Definition at line 669 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetYMeanDraw

void TGo4ConditionEditor::SetYMeanDraw ( bool on)
virtualslot

Definition at line 659 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ SetYRMSDraw

void TGo4ConditionEditor::SetYRMSDraw ( bool on)
virtualslot

Definition at line 654 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

Referenced by TGo4ConditionEditor().

◆ ShowEllipseWidget()

void TGo4ConditionEditor::ShowEllipseWidget ( bool show)
virtual

Definition at line 909 of file TGo4ConditionEditor.cpp.

Referenced by RefreshWidget().

◆ UpdateEllipse()

◆ UpdateLimits()

bool TGo4ConditionEditor::UpdateLimits ( )
virtual

◆ UpdatePressed

◆ WorkWithCondition()

Field Documentation

◆ fbDrawOnNextRefresh

bool TGo4ConditionEditor::fbDrawOnNextRefresh {false}
protected

Definition at line 104 of file TGo4ConditionEditor.h.

Referenced by TGo4ConditionEditor(), RefreshWidget(), and WorkWithCondition().

◆ fbEllipseAutoRefresh

◆ fbNewWindow

bool TGo4ConditionEditor::fbNewWindow {false}
protected

Definition at line 107 of file TGo4ConditionEditor.h.

Referenced by TGo4ConditionEditor(), and RefreshWidget().

◆ fbTypingMode

◆ fiLastChangeValue

int TGo4ConditionEditor::fiLastChangeValue {0}
protected

Definition at line 105 of file TGo4ConditionEditor.h.

Referenced by TGo4ConditionEditor(), enterEvent(), and RefreshWidget().

◆ fiSelectedIndex

int TGo4ConditionEditor::fiSelectedIndex {0}
protected

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