GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4ParaEdit.h>
Public Slots | |
virtual void | ApplyClicked () |
virtual void | ChangedTable (int row, int col) |
virtual void | clearTextFields () |
virtual void | DecArrayIndex () |
virtual void | EditFitter () |
virtual void | ExpandShrinkArray () |
virtual void | GetFitterFromEditor () |
virtual void | IncArrayIndex () |
virtual void | RefreshClicked () |
virtual void | saveFile () |
virtual void | TableContextMenu (const QPoint &) |
virtual void | TableDoubleClick (int row, int col) |
![]() | |
void | CloseMDIParentSlot () |
Public Member Functions | |
TGo4ParaEdit (QWidget *parent=nullptr, const char *name=nullptr) | |
virtual | ~TGo4ParaEdit () |
void | DropItem (const char *itemname, TClass *cl, int kind) override |
bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) override |
void | linkedObjectRemoved (const char *linkname) override |
void | linkedObjectUpdated (const char *linkname, TObject *obj) override |
virtual void | RefreshWidget (TGo4Parameter *par) |
virtual void | RefreshWidget (TGo4ParameterStatus *parstatus) |
void | ResetWidget () override |
virtual void | ShowVisibleItems () |
virtual void | WorkWithParameter (const char *itemname, bool isrefresh) |
![]() | |
QGo4Widget (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=Qt::Widget) | |
virtual | ~QGo4Widget () |
void | ObjectCreatedByWidget (const char *itemname, TClass *cl) |
void | ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot) |
Protected Attributes | |
bool | fFillingTable {false} |
int | fiCurrentRow {0} |
QString | fItemName |
TObjArray * | fItems {nullptr} |
Additional Inherited Members | |
![]() | |
void | widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par) |
![]() | |
static QAction * | AddIdAction (QMenu *menu, QSignalMapper *map, const QIcon &icon, const QString &text, int id, int enabled=-1, int checked=-1) |
static QAction * | AddIdAction (QMenu *menu, QSignalMapper *map, const QString &text, int id, int enabled=-1, int checked=-1) |
static QAction * | CreateChkAction (QMenu *menu, const QString &text, bool checked, bool enabled=true) |
static QAction * | SetIdAction (QSignalMapper *map, int id, int enabled=-1, int checked=-1) |
![]() | |
void | AddLink (const char *itemname, const char *linkname) |
create link for item with name linkname | |
TGo4Slot * | AddLink (const char *itemname, TGo4Slot *parent) |
create link for item in dedicated slot parent | |
void | AddLink (TGo4Slot *slot, const char *linkname) |
create link for object in slot with name linkname | |
TGo4Slot * | AddSlot (const char *slotname) |
add slot with specific name to widget top folder | |
void | AskToCreateObject (TClass *cl, int isremote) |
Function call dialog to create object of appropriate class isremote == 0 - object should be created localy and widget will be informed isremote == 1 - object should be created on analysis side and widget should be informed isremote == -1 - activate creation dialog without restriction (remote or local), widget will not be informed. | |
TGo4BrowserProxy * | Browser () |
bool | BrowserItemRemote (const char *itemname) |
void | CallPanelFunc (int id, TPad *pad=nullptr) |
void | CallServiceFunc (int id, const char *str=nullptr, void *par=nullptr) |
void | closeEvent (QCloseEvent *e) override |
void | ConnectPad (TPad *pad) |
connect pad axis change signals to react on such signals | |
TGo4ViewPanel * | CreateViewPanel (int ndiv=0) |
void | dragEnterEvent (QDragEnterEvent *e) override |
void | dragMoveEvent (QDragMoveEvent *e) override |
TGo4ViewPanel * | DrawItem (const QString &itemname, TGo4ViewPanel *panel=nullptr, TPad *pad=nullptr, bool activate=true, int updatelevel=-1) |
void | dropEvent (QDropEvent *e) override |
void | EditItem (const QString &itemname) |
void | EditObjectInSlot (TGo4Slot *slot) |
TGo4ServerProxy * | GetAnalysis (const char *itemname=nullptr) |
TObject * | GetLinked (const char *linkname, int updatelevel=0) |
template<class T> | |
T * | GetLinkedCast (const char *linkname, int updatelevel=0) |
const char * | GetLinkedName (const char *linkname) |
returns name of item, which was linked with linkname | |
const char * | GetLinkedName (TGo4Slot *slot) |
returns name of item, which was linked in that slot | |
TGo4Slot * | GetTopSlot (bool force=false) |
return top slot of structure, corresponding to this widget | |
void | HelpWindow (const char *filename, const char *msg=nullptr) |
void | InformThatObjectCreated (const char *itemname, TClass *cl) |
bool | IsUpdateBlocked () const |
TGo4ViewPanel * | LastActivePanel () |
virtual void | 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) |
Definition at line 30 of file TGo4ParaEdit.h.
Enumerator | |
---|---|
fiColName | |
fiColType | |
fiColValue | |
fiColComment |
Definition at line 36 of file TGo4ParaEdit.h.
TGo4ParaEdit::TGo4ParaEdit | ( | QWidget * | parent = nullptr, |
const char * | name = nullptr ) |
Definition at line 33 of file TGo4ParaEdit.cpp.
References QGo4Widget::QGo4Widget(), ApplyClicked(), ChangedTable(), clearTextFields(), QGo4Widget::CloseMDIParentSlot(), fFillingTable, fItemName, fItems, RefreshClicked(), saveFile(), TableContextMenu(), and TableDoubleClick().
|
virtual |
Definition at line 60 of file TGo4ParaEdit.cpp.
References fItems.
|
virtualslot |
Definition at line 478 of file TGo4ParaEdit.cpp.
References QGo4Widget::Browser(), QGo4Widget::BrowserItemRemote(), fItemName, fItems, TGo4BrowserProxy::ItemClassName(), TGo4Slot::ProduceFolderAndName(), RefreshClicked(), TGo4LockGuard, and QGo4Widget::UpdateItemInAnalysis().
Referenced by TGo4ParaEdit().
|
virtualslot |
Definition at line 284 of file TGo4ParaEdit.cpp.
References fFillingTable, fiColValue, fItems, and TGo4ParameterMember::SetStrValue().
Referenced by TGo4ParaEdit().
|
virtualslot |
Definition at line 270 of file TGo4ParaEdit.cpp.
References fItems, TGo4ParameterMember::SetStrValue(), and ShowVisibleItems().
Referenced by TGo4ParaEdit().
|
virtualslot |
Definition at line 381 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::SetVisible(), and ShowVisibleItems().
Referenced by TableContextMenu().
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 75 of file TGo4ParaEdit.cpp.
References TGo4Access::kndGo4Param, and WorkWithParameter().
|
virtualslot |
Definition at line 393 of file TGo4ParaEdit.cpp.
References QGo4Widget::AddSlot(), TGo4Slot::AssignObject(), QGo4Widget::EditObjectInSlot(), fiCurrentRow, fItems, TGo4ParameterMember::GetObject(), and TGo4ParameterMember::SetObject().
Referenced by TableContextMenu(), and TableDoubleClick().
|
virtualslot |
Definition at line 355 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::IsVisible(), TGo4ParameterMember::SetVisible(), and ShowVisibleItems().
Referenced by TableContextMenu(), and TableDoubleClick().
|
virtualslot |
Definition at line 409 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::IsFitterItem(), QGo4Widget::ServiceCall(), and TGo4ParameterMember::SetObject().
Referenced by TableContextMenu().
|
virtualslot |
Definition at line 369 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::SetVisible(), and ShowVisibleItems().
Referenced by TableContextMenu().
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 68 of file TGo4ParaEdit.cpp.
References TGo4Access::kndGo4Param.
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 91 of file TGo4ParaEdit.cpp.
References QGo4Widget::ShootCloseWidget().
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 82 of file TGo4ParaEdit.cpp.
References RefreshWidget().
|
virtualslot |
Definition at line 473 of file TGo4ParaEdit.cpp.
References WorkWithParameter().
Referenced by TGo4ParaEdit(), and ApplyClicked().
|
virtual |
Definition at line 167 of file TGo4ParaEdit.cpp.
References fItems, TGo4Parameter::GetMemberValues(), and ShowVisibleItems().
Referenced by linkedObjectUpdated(), and WorkWithParameter().
|
virtual |
Definition at line 187 of file TGo4ParaEdit.cpp.
References QGo4Widget::Browser(), TGo4ServerProxy::CanSubmitObjects(), TGo4BrowserProxy::DefineServerObject(), fItemName, fItems, TGo4ParameterStatus::GetMemberValues(), TGo4ObjectStatus::GetObjectClass(), and ShowVisibleItems().
|
overridevirtual |
Reimplemented from QGo4Widget.
Definition at line 147 of file TGo4ParaEdit.cpp.
References fItemName, fItems, QGo4Widget::ResetWidget(), and ShowVisibleItems().
Referenced by WorkWithParameter().
|
virtualslot |
Definition at line 420 of file TGo4ParaEdit.cpp.
References QGo4Widget::Browser(), TGo4ParameterStatus::CreateParameter(), fItemName, fItems, QGo4Widget::GetLinkedCast(), QGo4Widget::GetLinkedName(), TGo4BrowserProxy::ItemClassName(), TGo4Slot::ProduceFolderAndName(), QGo4Widget::SaveItemToFile(), and TGo4LockGuard.
Referenced by TGo4ParaEdit().
|
virtual |
Definition at line 208 of file TGo4ParaEdit.cpp.
References TGo4ParameterMember::CanStrEdit(), fFillingTable, fiColComment, fiColName, fiColType, fiColValue, fItems, TGo4ParameterMember::GetFullName(), TGo4ParameterMember::GetStrValue(), TGo4ParameterMember::GetTypeName(), and TGo4ParameterMember::IsVisible().
Referenced by clearTextFields(), DecArrayIndex(), ExpandShrinkArray(), IncArrayIndex(), RefreshWidget(), RefreshWidget(), and ResetWidget().
|
virtualslot |
Definition at line 309 of file TGo4ParaEdit.cpp.
References DecArrayIndex(), EditFitter(), ExpandShrinkArray(), fiColName, fiCurrentRow, fItems, GetFitterFromEditor(), TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::GetObject(), IncArrayIndex(), TGo4ParameterMember::IsArrayItem(), TGo4ParameterMember::IsFitterItem(), TGo4ParameterMember::IsVisible(), and QGo4Widget::ServiceCall().
Referenced by TGo4ParaEdit().
|
virtualslot |
Definition at line 294 of file TGo4ParaEdit.cpp.
References EditFitter(), ExpandShrinkArray(), fiColName, fiCurrentRow, fItems, TGo4ParameterMember::IsArrayItem(), and TGo4ParameterMember::IsFitterItem().
Referenced by TGo4ParaEdit().
|
virtual |
Definition at line 99 of file TGo4ParaEdit.cpp.
References QGo4Widget::AddLink(), QGo4Widget::AddSlot(), QGo4Widget::Browser(), QGo4Widget::BrowserItemRemote(), fItemName, QGo4Widget::GetLinkedCast(), QGo4Widget::GetLinkedName(), RefreshWidget(), TGo4BrowserProxy::RequestObjectStatus(), and ResetWidget().
Referenced by DropItem(), RefreshClicked(), and TGo4MainWindow::StartParaEdit().
|
protected |
Definition at line 69 of file TGo4ParaEdit.h.
Referenced by TGo4ParaEdit(), ChangedTable(), and ShowVisibleItems().
|
protected |
Definition at line 66 of file TGo4ParaEdit.h.
Referenced by DecArrayIndex(), EditFitter(), ExpandShrinkArray(), GetFitterFromEditor(), IncArrayIndex(), TableContextMenu(), and TableDoubleClick().
|
protected |
Definition at line 68 of file TGo4ParaEdit.h.
Referenced by TGo4ParaEdit(), ApplyClicked(), RefreshWidget(), ResetWidget(), saveFile(), and WorkWithParameter().
|
protected |
Definition at line 67 of file TGo4ParaEdit.h.
Referenced by TGo4ParaEdit(), ~TGo4ParaEdit(), ApplyClicked(), ChangedTable(), clearTextFields(), DecArrayIndex(), EditFitter(), ExpandShrinkArray(), GetFitterFromEditor(), IncArrayIndex(), RefreshWidget(), RefreshWidget(), ResetWidget(), saveFile(), ShowVisibleItems(), TableContextMenu(), and TableDoubleClick().