GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4UserCommands.h>
Public Slots | |
void | ConfigureAnalysisMacros () |
void | ExecuteAnalysisMacro_1 () |
void | ExecuteAnalysisMacro_2 () |
void | ExecuteAnalysisMacro_3 () |
void | ExecuteAnalysisMacro_4 () |
void | ExecuteAnalysisMacro_5 () |
void | ExecuteAnalysisMacro_6 () |
void | ExecuteAnalysisMacro_7 () |
void | ExecuteAnalysisMacro_8 () |
void | ExecuteAnalysisMacro_9 () |
void | ExecuteAnalysisMacro (int id) |
void | SetAutoExecute (int id, bool on) |
void | AnalysisMacroMonitorBtn_clicked () |
void | AnalysisMacroMonitorTimeout () |
Public Slots inherited from QGo4Widget | |
void | ResetWidgetSlot () |
void | CloseMDIParentSlot () |
Public Member Functions | |
TGo4UserCommands (QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0) | |
void | AssignShortcuts () |
Public Member Functions inherited from QGo4Widget | |
QGo4Widget (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0) | |
virtual | ~QGo4Widget () |
virtual bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) |
virtual void | DropItem (const char *itemname, TClass *cl, int kind) |
virtual void | ResetWidget () |
void | ObjectCreatedByWidget (const char *itemname, TClass *cl) |
void | ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot) |
Protected Attributes | |
std::vector< QToolButton * > | fAnalysisMacroButtons |
std::vector< QString > | fAnalysisMacroCommands |
std::vector< bool > | fAnalysisMacroAutoExecute |
QTimer * | fAnalysisMacroTimer |
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) |
TGo4Slot * | AddLink (const char *itemname, TGo4Slot *parent) |
TGo4Slot * | GetTopSlot (bool force=false) |
TGo4Slot * | AddSlot (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) |
TGo4BrowserProxy * | Browser () |
void | StatusMessage (const QString &message) |
void | AskToCreateObject (TClass *cl, int isremote) |
void | ShowItemInfo (const QString &itemname) |
TGo4ViewPanel * | CreateViewPanel (int ndiv=0) |
TGo4ViewPanel * | DrawItem (const QString &itemname, TGo4ViewPanel *panel=0, TPad *pad=0, bool activate=true, int updatelevel=-1) |
TGo4ViewPanel * | WhereItemDrawn (const char *itemname) |
void | HelpWindow (const char *filename, const char *msg=0) |
void | UndrawItem (const char *itemname) |
TGo4ViewPanel * | LastActivePanel () |
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) |
TGo4ServerProxy * | GetAnalysis (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 | linkedObjectUpdated (const char *linkname, TObject *obj) |
virtual void | linkedObjectRemoved (const char *linkname) |
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 |
Definition at line 30 of file TGo4UserCommands.h.
TGo4UserCommands::TGo4UserCommands | ( | QWidget * | parent = 0 , |
const char * | name = 0 , |
||
Qt::WindowFlags | fl = 0 |
||
) |
Definition at line 27 of file TGo4UserCommands.cpp.
References AnalysisMacroMonitorBtn_clicked(), AnalysisMacroMonitorTimeout(), AssignShortcuts(), ConfigureAnalysisMacros(), ExecuteAnalysisMacro_1(), ExecuteAnalysisMacro_2(), ExecuteAnalysisMacro_3(), ExecuteAnalysisMacro_4(), ExecuteAnalysisMacro_5(), ExecuteAnalysisMacro_6(), ExecuteAnalysisMacro_7(), ExecuteAnalysisMacro_8(), ExecuteAnalysisMacro_9(), fAnalysisMacroAutoExecute, fAnalysisMacroButtons, fAnalysisMacroCommands, fAnalysisMacroTimer, TGo4QSettings::getAnalysisMacroAutomode(), TGo4QSettings::getAnalysisMacroCommand(), TGo4QSettings::getAnalysisMacroTip(), GO4GUI_MAXMACRONUM, go4sett, and SetAutoExecute().
|
slot |
Definition at line 101 of file TGo4UserCommands.cpp.
References fAnalysisMacroTimer.
Referenced by AnalysisMacroMonitorTimeout(), and TGo4UserCommands().
|
slot |
Definition at line 124 of file TGo4UserCommands.cpp.
References AnalysisMacroMonitorBtn_clicked(), ExecuteAnalysisMacro(), and fAnalysisMacroAutoExecute.
Referenced by TGo4UserCommands().
void TGo4UserCommands::AssignShortcuts | ( | ) |
Definition at line 87 of file TGo4UserCommands.cpp.
References fAnalysisMacroButtons, and GO4GUI_MAXMACRONUM.
Referenced by TGo4UserCommands().
|
slot |
Definition at line 141 of file TGo4UserCommands.cpp.
References fAnalysisMacroButtons, fAnalysisMacroCommands, TGo4UserCommandsDialog::GetAutoExecute(), TGo4UserCommandsDialog::GetCommand(), TGo4UserCommandsDialog::GetTooltip(), GO4GUI_MAXMACRONUM, go4sett, TGo4QSettings::setAnalysisMacroAutomode(), TGo4QSettings::setAnalysisMacroCommand(), TGo4QSettings::setAnalysisMacroTip(), and SetAutoExecute().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 235 of file TGo4UserCommands.cpp.
References QGo4Widget::Browser(), TGo4ServerProxy::ExecuteLine(), fAnalysisMacroCommands, TGo4BrowserProxy::FindServer(), and QGo4Widget::StatusMessage().
Referenced by AnalysisMacroMonitorTimeout(), ExecuteAnalysisMacro_1(), ExecuteAnalysisMacro_2(), ExecuteAnalysisMacro_3(), ExecuteAnalysisMacro_4(), ExecuteAnalysisMacro_5(), ExecuteAnalysisMacro_6(), ExecuteAnalysisMacro_7(), ExecuteAnalysisMacro_8(), and ExecuteAnalysisMacro_9().
|
slot |
Definition at line 187 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 192 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 197 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 202 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 208 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 213 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 218 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 223 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
Definition at line 228 of file TGo4UserCommands.cpp.
References ExecuteAnalysisMacro().
Referenced by TGo4UserCommands().
|
slot |
activate auto execution state for command of id
Definition at line 253 of file TGo4UserCommands.cpp.
References fAnalysisMacroAutoExecute, and fAnalysisMacroButtons.
Referenced by ConfigureAnalysisMacros(), and TGo4UserCommands().
|
protected |
here we remember if we want automatic timer execution
Definition at line 43 of file TGo4UserCommands.h.
Referenced by AnalysisMacroMonitorTimeout(), SetAutoExecute(), and TGo4UserCommands().
|
protected |
array to Qt designer buttons
Definition at line 37 of file TGo4UserCommands.h.
Referenced by AssignShortcuts(), ConfigureAnalysisMacros(), SetAutoExecute(), and TGo4UserCommands().
|
protected |
command strings to execute
Definition at line 40 of file TGo4UserCommands.h.
Referenced by ConfigureAnalysisMacros(), ExecuteAnalysisMacro(), and TGo4UserCommands().
|
protected |
Definition at line 47 of file TGo4UserCommands.h.
Referenced by AnalysisMacroMonitorBtn_clicked(), and TGo4UserCommands().