GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <QGo4Widget.h>
Public Slots | |
void | CloseMDIParentSlot () |
Signals | |
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) | |
virtual | ~QGo4Widget () |
virtual void | DropItem (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 | ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot) |
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 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) |
Protected Member Functions | |
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 | linkedObjectUpdated (const char *linkname, TObject *obj) |
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) |
Private Attributes | |
bool | fBlockUpdate {false} |
indicates that reset widget timer is shoot | |
TGo4BrowserProxy * | fBrowserProxy {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 |
Definition at line 38 of file QGo4Widget.h.
anonymous enum |
pointer on browser proxy
Definition at line 53 of file QGo4Widget.h.
QGo4Widget::QGo4Widget | ( | QWidget * | parent = nullptr, |
const char * | name = nullptr, | ||
Qt::WindowFlags | f = Qt::Widget ) |
Definition at line 25 of file QGo4Widget.cpp.
References fBlockUpdate, fBrowserProxy, fCanDestroyWidget, fResetWidgetShooted, and fWaitsForObjectCreation.
Referenced by QUserPanel::QUserPanel(), TGo4AnalysisConfiguration::TGo4AnalysisConfiguration(), TGo4AnalysisStatusMonitor::TGo4AnalysisStatusMonitor(), TGo4AnalysisWindow::TGo4AnalysisWindow(), TGo4Browser::TGo4Browser(), TGo4BrowserOptions::TGo4BrowserOptions(), TGo4CommandLine::TGo4CommandLine(), TGo4ConditionEditor::TGo4ConditionEditor(), TGo4ConditionInfo::TGo4ConditionInfo(), TGo4EditDynEntry::TGo4EditDynEntry(), TGo4EventInfo::TGo4EventInfo(), TGo4FitPanel::TGo4FitPanel(), TGo4HisDrawOptionsShort::TGo4HisDrawOptionsShort(), TGo4HistogramInfo::TGo4HistogramInfo(), TGo4LogInfo::TGo4LogInfo(), TGo4MBSViewer::TGo4MBSViewer(), TGo4ParaEdit::TGo4ParaEdit(), TGo4ScaleOptions::TGo4ScaleOptions(), TGo4TreeViewer::TGo4TreeViewer(), TGo4UserCommands::TGo4UserCommands(), TGo4ViewPanel::TGo4ViewPanel(), and widgetService().
|
virtual |
Definition at line 37 of file QGo4Widget.cpp.
References RemoveLinksMasked().
|
static |
Definition at line 453 of file QGo4Widget.cpp.
|
static |
Definition at line 413 of file QGo4Widget.cpp.
Referenced by TGo4FitPanel::TGo4FitPanel(), TGo4ViewPanel::TGo4ViewPanel(), TGo4FitPanel::AboutToShowFitterMenu(), TGo4FitPanel::AboutToShowViewMenu(), and TGo4ViewPanel::UpdatePanelCaption().
|
protected |
create link for item with name linkname
Definition at line 117 of file QGo4Widget.cpp.
References service_AddEditorLink, and widgetService().
Referenced by TGo4FitPanel::CreateFitSlotLink(), TGo4ConditionEditor::DrawCondition(), QUserPanel::DrawObjectOnCanvas(), QUserPanel::DropItem(), TGo4FitPanel::Fitter_NewForActivePad(), TGo4FitPanel::panelSlot(), TGo4TreeViewer::ProcessDropEvent(), TGo4FitPanel::SetFitter(), TGo4Browser::StartWorking(), TGo4BrowserOptions::StartWorking(), TGo4FitPanel::UpdateObjectReferenceInSlot(), widgetService(), TGo4AnalysisConfiguration::WorkWithAnalysis(), TGo4ConditionEditor::WorkWithCondition(), TGo4ConditionInfo::WorkWithCondition(), TGo4AnalysisWindow::WorkWithDebugOutput(), TGo4EditDynEntry::WorkWithEntry(), TGo4FitPanel::WorkWithFitter(), TGo4FitPanel::WorkWithFitterInSlot(), TGo4HistogramInfo::WorkWithHistogram(), TGo4LogInfo::WorkWithInfo(), TGo4ParaEdit::WorkWithParameter(), TGo4AnalysisStatusMonitor::WorkWithRatemeter(), and TGo4AnalysisWindow::WorkWithUpdateObjectCmd().
create link for item in dedicated slot parent
Definition at line 127 of file QGo4Widget.cpp.
References service_AddLinkInSlot, and widgetService().
|
protected |
create link for object in slot with name linkname
Definition at line 122 of file QGo4Widget.cpp.
References service_AddDirectLink, and widgetService().
|
protected |
add slot with specific name to widget top folder
Definition at line 141 of file QGo4Widget.cpp.
References service_AddEditorSlot, and widgetService().
Referenced by TGo4ParaEdit::EditFitter(), TGo4EventInfo::RefreshClicked(), widgetService(), TGo4HistogramInfo::WorkWithHistogram(), and TGo4ParaEdit::WorkWithParameter().
|
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().
|
protected |
Definition at line 219 of file QGo4Widget.cpp.
References fBrowserProxy, service_Browser, and widgetService().
Referenced by TGo4ViewPanel::AddDrawObject(), TGo4ParaEdit::ApplyClicked(), TGo4BrowserOptions::ClearBtn_clicked(), TGo4ConditionEditor::ClearCounters(), TGo4EditDynEntry::ClearHistogramClicked(), TGo4ConditionEditor::DrawCondition(), TGo4ViewPanel::DropOnPad(), TGo4UserCommands::ExecuteAnalysisMacro(), TGo4BrowserOptions::FilterBox_activated(), TGo4ViewPanel::GetConditionBtn_clicked(), TGo4ViewPanel::IsAcceptDrag(), TGo4Browser::ItemDropAcceptSlot(), TGo4Browser::ItemDropProcessSlot(), TGo4AnalysisWindow::linkedObjectUpdated(), TGo4EventInfo::MbsButton_clicked(), TGo4ViewPanel::MenuCommandExecutedSlot(), TGo4EditDynEntry::PrintDynList(), TGo4EditDynEntry::ProcessDropEvent(), TGo4TreeViewer::ProcessDropEvent(), TGo4ViewPanel::ProcessPictureRedraw(), TGo4EditDynEntry::ProcessTreeDropEvent(), TGo4BrowserOptions::RefreshBtn_clicked(), TGo4EventInfo::RefreshClicked(), TGo4ConditionEditor::RefreshWidget(), TGo4EditDynEntry::RefreshWidget(), TGo4ParaEdit::RefreshWidget(), TGo4ParaEdit::saveFile(), TGo4BrowserOptions::StartMonitorBtn_clicked(), TGo4BrowserOptions::StopMonitorBtn_clicked(), TGo4TreeViewer::TreeDrawBtn_clicked(), TGo4MBSViewer::TrendHisto(), TGo4BrowserOptions::UpdateView(), TGo4EventInfo::WorkWithEvent(), TGo4HistogramInfo::WorkWithHistogram(), and TGo4ParaEdit::WorkWithParameter().
|
protected |
Definition at line 212 of file QGo4Widget.cpp.
References service_BrowserItemRemote, and widgetService().
Referenced by TGo4ParaEdit::ApplyClicked(), TGo4TreeViewer::NewHistBtn_clicked(), TGo4ViewPanel::RefreshButtons(), TGo4ConditionEditor::UpdatePressed(), TGo4ConditionEditor::WorkWithCondition(), TGo4EditDynEntry::WorkWithEntry(), and TGo4ParaEdit::WorkWithParameter().
|
protected |
Definition at line 234 of file QGo4Widget.cpp.
References widgetService().
Referenced by TGo4ViewPanel::~TGo4ViewPanel(), TGo4ViewPanel::AddDrawObject(), TGo4ViewPanel::OptionsMenuItemActivated(), TGo4ViewPanel::PadRangeAxisChanged(), TGo4ViewPanel::PadRangeAxisChanged(), TGo4ViewPanel::ProcessPadClear(), TGo4ViewPanel::ProcessPadModifiedSignal(), TGo4ViewPanel::ProcessPadRedraw(), TGo4ViewPanel::SelectMenuItemActivated(), and TGo4ViewPanel::SetActivePad().
|
protected |
Definition at line 393 of file QGo4Widget.cpp.
References widgetService().
Referenced by ServiceCall(), and TGo4ViewPanel::ShootRepaintTimer().
|
overrideprotected |
Definition at line 93 of file QGo4Widget.cpp.
References fCanDestroyWidget.
Referenced by widgetService().
|
slot |
Definition at line 79 of file QGo4Widget.cpp.
References ShootCloseWidget().
Referenced by TGo4ConditionEditor::TGo4ConditionEditor(), TGo4EditDynEntry::TGo4EditDynEntry(), TGo4ParaEdit::TGo4ParaEdit(), TGo4AnalysisWindow::~TGo4AnalysisWindow(), and widgetService().
|
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().
|
static |
Definition at line 403 of file QGo4Widget.cpp.
Referenced by TGo4ViewPanel::TGo4ViewPanel(), TGo4MainWindow::AddSettingMenu(), and TGo4Browser::Header_customContextMenuRequested().
|
protected |
Definition at line 297 of file QGo4Widget.cpp.
References service_CreateViewPanel, and widgetService().
Referenced by TGo4FitPanel::Button_FitterDraw(), TGo4Browser::DisplaySelectedItems(), TGo4ViewPanel::ProcessPadDoubleClick(), and TGo4Browser::SuperImposeSelectedItems().
|
overrideprotected |
Definition at line 102 of file QGo4Widget.cpp.
References service_DragEnter, and widgetService().
Referenced by widgetService().
|
overrideprotected |
Definition at line 107 of file QGo4Widget.cpp.
References service_DragEnter, and widgetService().
Referenced by widgetService().
|
protected |
Definition at line 305 of file QGo4Widget.cpp.
References service_DrawItem, and widgetService().
Referenced by TGo4Browser::DisplaySelectedItems(), QUserPanel::DrawBtn_clicked(), TGo4EditDynEntry::DrawButton_clicked(), TGo4ConditionEditor::DrawCondition(), TGo4HistogramInfo::HisDrawButton_clicked(), TGo4Browser::ListView_doubleClicked(), TGo4Browser::SuperImposeSelectedItems(), and TGo4TreeViewer::TreeDrawBtn_clicked().
|
overrideprotected |
Definition at line 112 of file QGo4Widget.cpp.
References service_DropEvent, and widgetService().
Referenced by widgetService().
|
virtual |
Reimplemented in QUserPanel, QUserPanel, TGo4AnalysisConfiguration, TGo4ConditionEditor, TGo4ConditionInfo, TGo4EditDynEntry, TGo4EventInfo, TGo4HistogramInfo, and TGo4ParaEdit.
Definition at line 89 of file QGo4Widget.cpp.
Referenced by TGo4MainWindow::editorServiceSlot().
|
protected |
Definition at line 345 of file QGo4Widget.cpp.
References service_EditItem, and widgetService().
Referenced by TGo4ConditionInfo::ConEditButton_clicked(), TGo4EditDynEntry::ConInfoButton_clicked(), TGo4Browser::ContextMenuActivated(), TGo4ViewPanel::DropOnPad(), QUserPanel::EditBtn_clicked(), TGo4ViewPanel::EditConditionBtn_clicked(), TGo4AnalysisWindow::linkedObjectUpdated(), TGo4Browser::ListView_doubleClicked(), and TGo4ViewPanel::StartConditionEditor().
|
protected |
Definition at line 350 of file QGo4Widget.cpp.
References service_EditInSlot, and widgetService().
Referenced by TGo4ParaEdit::EditFitter().
|
protected |
Definition at line 386 of file QGo4Widget.cpp.
References service_GetAnalysis, and widgetService().
Referenced by TGo4AnalysisWindow::CommandSlot(), and TGo4EventInfo::PrintEventClicked().
|
protected |
Definition at line 172 of file QGo4Widget.cpp.
References service_GetLinked0, service_GetLinked1, service_GetLinked2, and widgetService().
Referenced by TGo4ConditionEditor::ClearCounters(), TGo4FitPanel::CreateFitSlotLink(), QUserPanel::DrawObjectOnCanvas(), QUserPanel::DropItem(), GetLinkedCast(), TGo4ConditionEditor::RefreshClicked(), TGo4EditDynEntry::RefreshClicked(), TGo4FitPanel::UpdateObjectReferenceInSlot(), widgetService(), TGo4ConditionEditor::WorkWithCondition(), TGo4EditDynEntry::WorkWithEntry(), TGo4FitPanel::WorkWithFitter(), and TGo4FitPanel::WorkWithFitterInSlot().
|
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().
|
protected |
returns name of item, which was linked with linkname
Definition at line 153 of file QGo4Widget.cpp.
References service_GetLinkedName, and widgetService().
Referenced by TGo4EditDynEntry::ApplyClicked(), TGo4ViewPanel::CheckForSpecialObjects(), TGo4ConditionEditor::ClearCounters(), TGo4ConditionEditor::DrawCondition(), TGo4ViewPanel::EditConditionBtn_clicked(), TGo4ViewPanel::FindPadWithItem(), TGo4ViewPanel::GetConditionBtn_clicked(), TGo4ViewPanel::GetDrawItemName(), TGo4ViewPanel::GetDrawObjectLinkName(), TGo4ViewPanel::InfoConditionBtn_clicked(), TGo4ViewPanel::MakePictureForPad(), TGo4ConditionEditor::ModifyButton_clicked(), TGo4EditDynEntry::PrintDynList(), TGo4ViewPanel::ProduceSuperimposeObject(), TGo4ConditionEditor::RedrawCondition(), TGo4ViewPanel::RefreshButtons(), TGo4ConditionEditor::RefreshWidget(), TGo4EditDynEntry::RefreshWidget(), TGo4ConditionEditor::SaveCondition(), TGo4EditDynEntry::SaveEntrySlot(), TGo4ParaEdit::saveFile(), TGo4ViewPanel::SetConditionBtn_clicked(), TGo4ViewPanel::StartConditionEditor(), TGo4ViewPanel::UndrawItemOnPanel(), TGo4ConditionEditor::UpdatePressed(), widgetService(), TGo4FitPanel::Wiz_GetSlotSourceInfo(), TGo4ConditionEditor::WorkWithCondition(), TGo4EditDynEntry::WorkWithEntry(), and TGo4ParaEdit::WorkWithParameter().
|
protected |
returns name of item, which was linked in that slot
Definition at line 162 of file QGo4Widget.cpp.
References service_GetLinkedName2, and widgetService().
|
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().
|
protected |
Definition at line 328 of file QGo4Widget.cpp.
References service_HelpWindow, and widgetService().
Referenced by TGo4CommandLine::PrintHelp().
|
protected |
Definition at line 282 of file QGo4Widget.cpp.
References service_ObjectCreated, and widgetService().
Referenced by TGo4AnalysisWindow::linkedObjectUpdated().
|
virtual |
Reimplemented in QUserPanel, QUserPanel, TGo4AnalysisConfiguration, TGo4ConditionEditor, TGo4ConditionInfo, TGo4EditDynEntry, TGo4EventInfo, TGo4FitPanel, TGo4HistogramInfo, TGo4ParaEdit, and TGo4ViewPanel.
Definition at line 84 of file QGo4Widget.cpp.
Referenced by TGo4MainWindow::editorServiceSlot().
|
inlineprotected |
Definition at line 208 of file QGo4Widget.h.
References fBlockUpdate.
Referenced by ProcessSignal().
|
protected |
Definition at line 338 of file QGo4Widget.cpp.
References service_LastActivePanel, and widgetService().
Referenced by TGo4FitPanel::AboutToShowFitterMenu(), TGo4FitPanel::Button_WorkWithPanel(), TGo4ConditionEditor::DrawCondition(), and TGo4FitPanel::Fitter_NewForActivePad().
|
protectedvirtual |
Reimplemented in QUserPanel, QUserPanel, TGo4AnalysisConfiguration, TGo4AnalysisStatusMonitor, TGo4AnalysisWindow, TGo4ConditionEditor, TGo4EventInfo, TGo4FitPanel, and TGo4ParaEdit.
Definition at line 261 of file QGo4Widget.cpp.
References ShootResetWidget().
Referenced by ProcessSignal().
|
protectedvirtual |
Reimplemented in QUserPanel, QUserPanel, TGo4AnalysisConfiguration, TGo4AnalysisStatusMonitor, TGo4AnalysisWindow, TGo4Browser, TGo4BrowserOptions, TGo4ConditionEditor, TGo4ConditionInfo, TGo4EditDynEntry, TGo4EventInfo, TGo4FitPanel, TGo4HistogramInfo, TGo4LogInfo, TGo4ParaEdit, and TGo4ViewPanel.
Definition at line 257 of file QGo4Widget.cpp.
Referenced by ProcessSignal().
|
protectedvirtual |
Reimplemented in TGo4FitPanel, and TGo4ViewPanel.
Definition at line 271 of file QGo4Widget.cpp.
Referenced by ProcessSignal().
|
protectedvirtual |
Reimplemented in TGo4ViewPanel.
Definition at line 267 of file QGo4Widget.cpp.
Referenced by ProcessSignal().
void QGo4Widget::ObjectCreatedByWidget | ( | const char * | itemname, |
TClass * | cl ) |
Definition at line 42 of file QGo4Widget.cpp.
References fWaitsForObjectCreation, and requestedObjectCreated().
Referenced by TGo4MainWindow::editorServiceSlot().
void QGo4Widget::ProcessSignal | ( | const char * | linkname, |
bool | assigned, | ||
TObject * | obj, | ||
TGo4Slot * | slot ) |
Definition at line 244 of file QGo4Widget.cpp.
References IsUpdateBlocked(), linkedObjectRemoved(), linkedObjectUpdated(), linkedRemoved(), and linkedUpdated().
|
protected |
Definition at line 196 of file QGo4Widget.cpp.
References fBlockUpdate, service_RemoveAllLinks, and widgetService().
Referenced by TGo4FitPanel::linkedObjectRemoved(), TGo4EventInfo::RefreshClicked(), and ResetWidget().
|
protected |
Definition at line 188 of file QGo4Widget.cpp.
References fBlockUpdate, service_RemoveLink, and widgetService().
Referenced by TGo4FitPanel::CreateFitSlotLink(), TGo4ConditionEditor::DrawCondition(), QUserPanel::DrawObjectOnCanvas(), QUserPanel::DropItem(), TGo4MainWindow::EstablishRatemeter(), QUserPanel::linkedObjectRemoved(), and TGo4FitPanel::RemoveFitterLink().
|
protected |
Definition at line 204 of file QGo4Widget.cpp.
References fBlockUpdate, service_RemoveAllLinks, and widgetService().
Referenced by ~QGo4Widget(), and TGo4FitPanel::UpdateObjectReferenceInSlots().
|
protectedvirtual |
Reimplemented in TGo4EditDynEntry, and TGo4TreeViewer.
Definition at line 288 of file QGo4Widget.cpp.
Referenced by ObjectCreatedByWidget().
|
virtual |
Reimplemented in TGo4AnalysisConfiguration, TGo4Browser, TGo4ConditionEditor, TGo4ConditionInfo, TGo4EditDynEntry, TGo4EventInfo, TGo4HistogramInfo, TGo4ParaEdit, TGo4TreeViewer, and TGo4ViewPanel.
Definition at line 52 of file QGo4Widget.cpp.
References fResetWidgetShooted, fWaitsForObjectCreation, and RemoveAllLinks().
Referenced by TGo4AnalysisConfiguration::ResetWidget(), TGo4ConditionEditor::ResetWidget(), TGo4ConditionInfo::ResetWidget(), TGo4EditDynEntry::ResetWidget(), TGo4EventInfo::ResetWidget(), TGo4HistogramInfo::ResetWidget(), TGo4ParaEdit::ResetWidget(), TGo4TreeViewer::ResetWidget(), ShootResetWidget(), and TGo4LogInfo::WorkWithInfo().
|
protected |
Definition at line 368 of file QGo4Widget.cpp.
References service_SaveItem, and widgetService().
Referenced by TGo4ConditionEditor::SaveCondition(), TGo4EditDynEntry::SaveEntrySlot(), and TGo4ParaEdit::saveFile().
|
protected |
Definition at line 355 of file QGo4Widget.cpp.
References service_SaveToMemory, and widgetService().
Referenced by TGo4FitPanel::Fitter_SaveToBrowser(), TGo4ViewPanel::ProduceGraphFromMarkers(), TGo4ViewPanel::ProducePicture(), and TGo4FitPanel::SetFitter().
|
protected |
Definition at line 398 of file QGo4Widget.cpp.
References CallServiceFunc(), and service_General.
Referenced by TGo4ViewPanel::CheckActionAtTheEnd(), TGo4AnalysisConfiguration::CloseAnalysis(), TGo4ConditionInfo::ConPrintButton_clicked(), TGo4AnalysisConfiguration::DisplayMbsMonitor(), TGo4ParaEdit::GetFitterFromEditor(), TGo4HistogramInfo::HisPrintButton_clicked(), TGo4AnalysisWindow::linkedObjectRemoved(), TGo4AnalysisWindow::PrintEvent(), TGo4AnalysisWindow::RequestTerminate(), TGo4ViewPanel::SaveCanvas(), TGo4ScaleOptions::SetScaleValues(), TGo4AnalysisConfiguration::SubmitAndStart(), TGo4AnalysisConfiguration::SubmitConfiguration(), TGo4ParaEdit::TableContextMenu(), and TGo4Browser::updateListViewItems().
|
inlineprotected |
Definition at line 201 of file QGo4Widget.h.
References fCanDestroyWidget.
Referenced by TGo4AnalysisConfiguration::TGo4AnalysisConfiguration(), TGo4AnalysisWindow::TGo4AnalysisWindow(), and TGo4Browser::TGo4Browser().
|
static |
Definition at line 440 of file QGo4Widget.cpp.
Referenced by TGo4ViewPanel::AboutToShowOptionsMenu(), TGo4FitPanel::AboutToShowSettMenu(), TGo4FitPanel::AboutToShowViewMenu(), TGo4ViewPanel::OptionsMenuItemActivated(), and TGo4ViewPanel::UpdatePanelCaption().
|
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().
|
protected |
Definition at line 70 of file QGo4Widget.cpp.
References fResetWidgetShooted.
Referenced by CloseMDIParentSlot(), TGo4AnalysisConfiguration::linkedObjectRemoved(), TGo4AnalysisStatusMonitor::linkedObjectRemoved(), TGo4ConditionEditor::linkedObjectRemoved(), TGo4ParaEdit::linkedObjectRemoved(), and TGo4AnalysisConfiguration::WorkWithAnalysis().
|
protected |
Definition at line 61 of file QGo4Widget.cpp.
References fResetWidgetShooted, and ResetWidget().
Referenced by linkedObjectRemoved().
|
protected |
Definition at line 292 of file QGo4Widget.cpp.
References service_ShowInfo, and widgetService().
Referenced by TGo4Browser::ContextMenuActivated(), TGo4EditDynEntry::HisInfoButton_clicked(), QUserPanel::InfoBtn_clicked(), and TGo4ViewPanel::InfoConditionBtn_clicked().
|
protected |
Definition at line 333 of file QGo4Widget.cpp.
References service_HotStart, and widgetService().
Referenced by TGo4CommandLine::enterPressedSlot().
|
protected |
Definition at line 239 of file QGo4Widget.cpp.
References service_StatusMessage, and widgetService().
Referenced by TGo4CommandLine::enterPressedSlot(), TGo4UserCommands::ExecuteAnalysisMacro(), TGo4Browser::ExecuteItem(), TGo4TreeViewer::ProcessDropEvent(), and TGo4TreeViewer::TreeDrawBtn_clicked().
|
protected |
Definition at line 323 of file QGo4Widget.cpp.
References service_UndrawItem, and widgetService().
Referenced by TGo4ViewPanel::AddDrawObject().
|
protected |
Definition at line 379 of file QGo4Widget.cpp.
References service_UpdateAnalysisItem, and widgetService().
Referenced by TGo4EditDynEntry::ApplyClicked(), TGo4ParaEdit::ApplyClicked(), TGo4ViewPanel::SetConditionBtn_clicked(), and TGo4ConditionEditor::UpdatePressed().
|
protected |
Definition at line 316 of file QGo4Widget.cpp.
References service_WhereItemDrawn, and widgetService().
Referenced by TGo4ConditionEditor::DrawCondition(), TGo4Browser::ListView_doubleClicked(), TGo4ConditionEditor::ModifyButton_clicked(), TGo4ConditionEditor::RedrawCondition(), TGo4ConditionEditor::RefreshWidget(), TGo4TreeViewer::TreeDrawBtn_clicked(), and TGo4ConditionEditor::WorkWithCondition().
|
signal |
References QGo4Widget(), AddLink(), AddSlot(), closeEvent(), CloseMDIParentSlot(), dragEnterEvent(), dragMoveEvent(), dropEvent(), GetLinked(), GetLinkedName(), GetTopSlot(), and SetLinkedName().
Referenced by AddLink(), AddLink(), AddLink(), AddSlot(), AskToCreateObject(), Browser(), BrowserItemRemote(), CallPanelFunc(), CallServiceFunc(), TGo4ViewPanel::CanvasDropEventSlot(), TGo4MainWindow::ConnectGo4Widget(), ConnectPad(), CreateViewPanel(), dragEnterEvent(), dragMoveEvent(), DrawItem(), dropEvent(), EditItem(), EditObjectInSlot(), GetAnalysis(), GetLinked(), GetLinkedName(), GetLinkedName(), GetTopSlot(), HelpWindow(), InformThatObjectCreated(), LastActivePanel(), RemoveAllLinks(), RemoveLink(), RemoveLinksMasked(), SaveItemToFile(), SaveObjectInMemory(), SetLinkedName(), ShowItemInfo(), StartHotstart(), StatusMessage(), UndrawItem(), UpdateItemInAnalysis(), and WhereItemDrawn().
|
friend |
Definition at line 42 of file QGo4Widget.h.
References TGo4MainWindow.
Referenced by TGo4MainWindow.
|
private |
indicates that reset widget timer is shoot
Definition at line 48 of file QGo4Widget.h.
Referenced by QGo4Widget(), IsUpdateBlocked(), RemoveAllLinks(), RemoveLink(), and RemoveLinksMasked().
|
private |
set when automatic reset must be blocked
Definition at line 50 of file QGo4Widget.h.
Referenced by QGo4Widget(), and Browser().
|
private |
Definition at line 46 of file QGo4Widget.h.
Referenced by QGo4Widget(), closeEvent(), and setCanDestroyWidget().
|
private |
indicate that widget can be destroyed
Definition at line 47 of file QGo4Widget.h.
Referenced by QGo4Widget(), ResetWidget(), ShootCloseWidget(), and ShootResetWidget().
|
private |
Definition at line 45 of file QGo4Widget.h.
Referenced by QGo4Widget(), AskToCreateObject(), ObjectCreatedByWidget(), and ResetWidget().