GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Slots | Public Member Functions | Protected Attributes | List of all members
TGo4ConditionEditor Class Reference

#include <TGo4ConditionEditor.h>

+ Inheritance diagram for TGo4ConditionEditor:

Public Slots

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

Public Member Functions

 TGo4ConditionEditor (QWidget *parent=0, const char *name=0)
 
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 WorkWithCondition (const char *itemname)
 
virtual void ResetWidget ()
 
virtual void RefreshWidget (bool checkindex)
 
virtual TGo4ConditionSelectedCondition ()
 
virtual bool UpdateLimits ()
 
virtual void ChangeConditionProperty (int id, bool on)
 
virtual void enterEvent (QEvent *)
 
virtual void leaveEvent (QEvent *)
 
virtual void SetChangeFlag (bool changed)
 
virtual void DrawCondition (bool useactive)
 
virtual void RedrawCondition ()
 
virtual bool PrepareForAnalysis ()
 
virtual void FillCutWidget (TCutG *cut)
 
virtual void FillEllipseWidget (TGo4ShapedCond *elli)
 
virtual void ShowEllipseWidget (bool show)
 
virtual void UpdateEllipse ()
 
- Public Member Functions inherited from QGo4Widget
 QGo4Widget (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0)
 
virtual ~QGo4Widget ()
 
void ObjectCreatedByWidget (const char *itemname, TClass *cl)
 
void ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot)
 

Protected Attributes

bool fbTypingMode
 
int fiSelectedIndex
 
bool fbDrawOnNextRefresh
 
int fiLastChangeValue
 
bool fbEllipseAutoRefresh
 
bool fbNewWindow
 

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
}
 
- Signals inherited from QGo4Widget
void widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par)
 
- Protected Member Functions inherited from QGo4Widget
virtual void closeEvent (QCloseEvent *e)
 
virtual void dragEnterEvent (QDragEnterEvent *e)
 
virtual void dragMoveEvent (QDragMoveEvent *e)
 
virtual void dropEvent (QDropEvent *e)
 
void AddLink (const char *itemname, const char *linkname)
 
void AddLink (TGo4Slot *slot, const char *linkname)
 
TGo4SlotAddLink (const char *itemname, TGo4Slot *parent)
 
TGo4SlotGetTopSlot (bool force=false)
 
TGo4SlotAddSlot (const char *slotname)
 
void SetLinkedName (TGo4Slot *slot, const char *itemname)
 
const char * GetLinkedName (const char *linkname)
 
const char * GetLinkedName (TGo4Slot *slot)
 
TObject * GetLinked (const char *linkname, int updatelevel)
 
void RemoveLink (const char *linkname, bool blockreset=true)
 
void RemoveAllLinks (bool blockreset=true)
 
void RemoveLinksMasked (const char *startedwith=0, bool blockreset=true)
 
bool BrowserItemRemote (const char *itemname)
 
TGo4BrowserProxyBrowser ()
 
void StatusMessage (const QString &message)
 
void AskToCreateObject (TClass *cl, int isremote)
 
void ShowItemInfo (const QString &itemname)
 
TGo4ViewPanelCreateViewPanel (int ndiv=0)
 
TGo4ViewPanelDrawItem (const QString &itemname, TGo4ViewPanel *panel=0, TPad *pad=0, bool activate=true, int updatelevel=-1)
 
TGo4ViewPanelWhereItemDrawn (const char *itemname)
 
void HelpWindow (const char *filename, const char *msg=0)
 
void UndrawItem (const char *itemname)
 
TGo4ViewPanelLastActivePanel ()
 
void EditItem (const QString &itemname)
 
void EditObjectInSlot (TGo4Slot *slot)
 
QString SaveObjectInMemory (const char *foldername, TObject *obj)
 
bool SaveItemToFile (const char *itemname, const char *subfolder=0)
 
bool UpdateItemInAnalysis (const char *itemname, TObject *obj=0)
 
void InformThatObjectCreated (const char *itemname, TClass *cl)
 
TGo4ServerProxyGetAnalysis (const char *itemname=0)
 
void StartHotstart (const char *filename)
 
void ConnectPad (TPad *pad)
 
void CallServiceFunc (int id, const char *str=0, void *par=0)
 
void ServiceCall (const char *name, void *par=0)
 
virtual void requestedObjectCreated (const char *itemname, TClass *cl)
 
virtual void linkedUpdated (TGo4Slot *slot, TObject *obj)
 
virtual void linkedRemoved (TGo4Slot *slot, TObject *obj)
 
void setCanDestroyWidget (bool on=true)
 
void CallPanelFunc (int id, TPad *pad=0)
 
void ShootResetWidget ()
 
void ShootCloseWidget (bool closeparent=false)
 
bool IsUpdateBlocked () const
 

Detailed Description

Definition at line 25 of file TGo4ConditionEditor.h.

Constructor & Destructor Documentation

TGo4ConditionEditor::TGo4ConditionEditor ( QWidget *  parent = 0,
const char *  name = 0 
)

Member Function Documentation

void TGo4ConditionEditor::ArrayAll ( )
virtualslot

Definition at line 469 of file TGo4ConditionEditor.cpp.

void TGo4ConditionEditor::ChangeConditionProperty ( int  id,
bool  on 
)
virtual
void TGo4ConditionEditor::ClearCounters ( )
virtualslot
void TGo4ConditionEditor::ContextMenuSlot ( int  id)
virtualslot
void TGo4ConditionEditor::CutTable_contextMenuRequested ( const QPoint &  pos)
virtualslot
void TGo4ConditionEditor::CutTable_valueChanged ( int  ncol,
int  nrow 
)
virtualslot
void TGo4ConditionEditor::DisplayPressed ( )
virtualslot

Definition at line 650 of file TGo4ConditionEditor.cpp.

References DrawCondition().

void TGo4ConditionEditor::DrawCondition ( bool  useactive)
virtual
void TGo4ConditionEditor::DropItem ( const char *  itemname,
TClass *  cl,
int  kind 
)
virtual

Reimplemented from QGo4Widget.

Definition at line 73 of file TGo4ConditionEditor.cpp.

References WorkWithCondition().

void TGo4ConditionEditor::EllipseA1_valueChanged ( double  r1)
virtualslot

Definition at line 1065 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

void TGo4ConditionEditor::EllipseA2_valueChanged ( double  r2)
virtualslot

Definition at line 1072 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

void TGo4ConditionEditor::EllipseCircleBox_toggled ( bool  on)
virtualslot

Definition at line 1091 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

void TGo4ConditionEditor::EllipseCx_valueChanged ( double  x)
virtualslot
void TGo4ConditionEditor::EllipseCy_valueChanged ( double  y)
virtualslot
void TGo4ConditionEditor::EllipseNPoints_valueChanged ( int  npoint)
virtualslot

Definition at line 1117 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

void TGo4ConditionEditor::EllipseRefreshBox_toggled ( bool  on)
virtualslot

Definition at line 1080 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

void TGo4ConditionEditor::EllipseTheta_returnPressed ( )
virtualslot

Definition at line 1101 of file TGo4ConditionEditor.cpp.

References fbEllipseAutoRefresh, fbTypingMode, and UpdateEllipse().

void TGo4ConditionEditor::EllipseTheta_valueChanged ( int  deg)
virtualslot
void TGo4ConditionEditor::enterEvent ( QEvent *  )
virtual
void TGo4ConditionEditor::FillCutWidget ( TCutG *  cut)
virtual

Definition at line 805 of file TGo4ConditionEditor.cpp.

References fbTypingMode.

Referenced by ContextMenuSlot(), NPointsSpin_valueChanged(), and RefreshWidget().

void TGo4ConditionEditor::FillEllipseWidget ( TGo4ShapedCond elli)
virtual
bool TGo4ConditionEditor::IsAcceptDrag ( const char *  itemname,
TClass *  cl,
int  kind 
)
virtual

Reimplemented from QGo4Widget.

Definition at line 65 of file TGo4ConditionEditor.cpp.

void TGo4ConditionEditor::leaveEvent ( QEvent *  )
virtual

Definition at line 640 of file TGo4ConditionEditor.cpp.

void TGo4ConditionEditor::LimitsChanged ( const QString &  )
virtualslot

Definition at line 514 of file TGo4ConditionEditor.cpp.

References UpdateLimits().

void TGo4ConditionEditor::LimitsReturnPressed ( )
virtualslot

Definition at line 519 of file TGo4ConditionEditor.cpp.

References RedrawCondition(), and UpdateLimits().

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

Reimplemented from QGo4Widget.

Definition at line 110 of file TGo4ConditionEditor.cpp.

References QGo4Widget::ShootCloseWidget().

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

Reimplemented from QGo4Widget.

Definition at line 100 of file TGo4ConditionEditor.cpp.

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

void TGo4ConditionEditor::ModifyButton_clicked ( )
virtualslot
void TGo4ConditionEditor::NPointsSpin_valueChanged ( int  npoint)
virtualslot
void TGo4ConditionEditor::PleaseUpdateSlot ( )
virtualslot
bool TGo4ConditionEditor::PrepareForAnalysis ( )
virtual
void TGo4ConditionEditor::PrintConditionLog ( )
virtualslot
void TGo4ConditionEditor::RedrawCondition ( )
virtual
void TGo4ConditionEditor::RefreshClicked ( )
virtualslot

Definition at line 644 of file TGo4ConditionEditor.cpp.

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

Referenced by UpdatePressed().

void TGo4ConditionEditor::RefreshWidget ( bool  checkindex)
virtual

Definition at line 200 of file TGo4ConditionEditor.cpp.

References QGo4Widget::Browser(), TGo4ServerProxy::CanSubmitObjects(), TGo4Condition::Counts(), TGo4BrowserProxy::DefineRelatedObject(), TGo4BrowserProxy::DefineServerObject(), DrawCondition(), fbDrawOnNextRefresh, fbNewWindow, fbTypingMode, fiLastChangeValue, FillCutWidget(), FillEllipseWidget(), TGo4ViewPanel::FindPadWithItem(), fiSelectedIndex, TGo4Condition::FixedResult(), TGo4ViewPanel::GetCanvas(), TGo4Condition::GetCMax(), TGo4PolyCond::GetCut(), TGo4Condition::GetDimension(), TGo4ViewPanel::GetDrawObjectLinkName(), TGo4Condition::GetIntegral(), QGo4Widget::GetLinked(), TGo4Condition::GetLinkedHistogram(), QGo4Widget::GetLinkedName(), TGo4Condition::GetMean(), TGo4CondArray::GetNumber(), TGo4ViewPanel::GetPadHistogram(), TGo4Condition::GetRMS(), TGo4ViewPanel::GetSelectedMarkerIndex(), TGo4ViewPanel::GetSelectedMarkerName(), TGo4Condition::GetXLow(), TGo4Condition::GetXMax(), TGo4Condition::GetXUp(), TGo4Condition::GetYLow(), TGo4Condition::GetYMax(), TGo4Condition::GetYUp(), TGo4ShapedCond::IsBox(), TGo4Condition::IsChanged(), TGo4ShapedCond::IsCircle(), TGo4Condition::IsCMaxDraw(), TGo4ShapedCond::IsEllipse(), TGo4Condition::IsEnabled(), TGo4Condition::IsHistogramLink(), TGo4Condition::IsIntDraw(), TGo4Condition::IsLabelDraw(), TGo4Condition::IsLimitsDraw(), TGo4Condition::IsTrue(), TGo4Condition::IsVisible(), TGo4Condition::IsXMaxDraw(), TGo4Condition::IsXMeanDraw(), TGo4Condition::IsXRMSDraw(), TGo4Condition::IsYMaxDraw(), TGo4Condition::IsYMeanDraw(), TGo4Condition::IsYRMSDraw(), SelectedCondition(), ShowEllipseWidget(), TGo4Condition::TrueCounts(), and QGo4Widget::WhereItemDrawn().

Referenced by ClearCounters(), DrawCondition(), enterEvent(), linkedObjectUpdated(), RefreshClicked(), SaveCondition(), SelectedCond(), UpdatePressed(), and WorkWithCondition().

void TGo4ConditionEditor::ResetWidget ( )
virtual

Reimplemented from QGo4Widget.

Definition at line 165 of file TGo4ConditionEditor.cpp.

References QGo4Widget::ResetWidget().

Referenced by TGo4ConditionEditor(), and WorkWithCondition().

void TGo4ConditionEditor::SaveCondition ( )
virtualslot
void TGo4ConditionEditor::SelectedCond ( int  t)
virtualslot
TGo4Condition * TGo4ConditionEditor::SelectedCondition ( )
virtual
void TGo4ConditionEditor::SetChangeFlag ( bool  changed)
virtual
void TGo4ConditionEditor::SetCMaxDraw ( bool  on)
virtualslot

Definition at line 620 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetCondVisible ( bool  on)
virtualslot

Definition at line 625 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetDrawLimits ( bool  on)
virtualslot

Definition at line 580 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetIntDraw ( bool  on)
virtualslot

Definition at line 585 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetInvertMode ( int  mode)
virtualslot
void TGo4ConditionEditor::SetLabel ( bool  on)
virtualslot

Definition at line 574 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetResultMode ( int  mode)
virtualslot
void TGo4ConditionEditor::SetXMaxDraw ( bool  on)
virtualslot

Definition at line 610 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetXMeanDraw ( bool  on)
virtualslot

Definition at line 590 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetXRMSDraw ( bool  on)
virtualslot

Definition at line 595 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetYMaxDraw ( bool  on)
virtualslot

Definition at line 615 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetYMeanDraw ( bool  on)
virtualslot

Definition at line 605 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::SetYRMSDraw ( bool  on)
virtualslot

Definition at line 600 of file TGo4ConditionEditor.cpp.

References ChangeConditionProperty().

void TGo4ConditionEditor::ShowEllipseWidget ( bool  show)
virtual

Definition at line 855 of file TGo4ConditionEditor.cpp.

Referenced by RefreshWidget().

void TGo4ConditionEditor::UpdateEllipse ( )
virtual
bool TGo4ConditionEditor::UpdateLimits ( )
virtual
void TGo4ConditionEditor::UpdatePressed ( )
virtualslot
void TGo4ConditionEditor::WorkWithCondition ( const char *  itemname)
virtual

Member Data Documentation

bool TGo4ConditionEditor::fbDrawOnNextRefresh
protected

Definition at line 97 of file TGo4ConditionEditor.h.

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

bool TGo4ConditionEditor::fbEllipseAutoRefresh
protected
bool TGo4ConditionEditor::fbNewWindow
protected

Definition at line 100 of file TGo4ConditionEditor.h.

Referenced by RefreshWidget(), and TGo4ConditionEditor().

bool TGo4ConditionEditor::fbTypingMode
protected
int TGo4ConditionEditor::fiLastChangeValue
protected

Definition at line 98 of file TGo4ConditionEditor.h.

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

int TGo4ConditionEditor::fiSelectedIndex
protected

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