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

#include <QUserPanel.h>

+ Inheritance diagram for QUserPanel:

Public Slots

virtual void InfoBtn_clicked ()
 
virtual void EditBtn_clicked ()
 
virtual void DrawBtn_clicked ()
 
virtual void CanvasDropEventSlot (QDropEvent *, TPad *)
 
virtual void InfoBtn_clicked ()
 
virtual void EditBtn_clicked ()
 
virtual void DrawBtn_clicked ()
 
virtual void CanvasDropEventSlot (QDropEvent *, TPad *)
 
- Public Slots inherited from QGo4Widget
void ResetWidgetSlot ()
 
void CloseMDIParentSlot ()
 

Public Member Functions

 QUserPanel (QWidget *parent=0, const char *name=0)
 
virtual ~QUserPanel ()
 
virtual QString kindString (int kind)
 
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 PrintObject (TObject *obj)
 
virtual void DrawObjectOnCanvas (const char *itemname)
 
 QUserPanel (QWidget *parent=0, const char *name=0)
 
virtual ~QUserPanel ()
 
virtual QString kindString (int kind)
 
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 PrintObject (TObject *obj)
 
virtual void DrawObjectOnCanvas (const char *itemname)
 
- Public Member Functions inherited from QGo4Widget
 QGo4Widget (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=Qt::Widget)
 
virtual ~QGo4Widget ()
 
virtual void ResetWidget ()
 
void ObjectCreatedByWidget (const char *itemname, TClass *cl)
 
void ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot)
 

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 QString &text, int id, int enabled=-1, int checked=-1)
 
static QAction * AddIdAction (QMenu *menu, QSignalMapper *map, const QIcon &icon, const QString &text, int id, int enabled=-1, int checked=-1)
 
static QAction * AddChkAction (QMenu *menu, const QString &text, bool checked, QObject *recv, const char *member)
 
static QAction * SetIdAction (QSignalMapper *map, int id, int enabled=-1, int checked=-1)
 
- 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 22 of file QUserPanel.h.

Constructor & Destructor Documentation

QUserPanel::QUserPanel ( QWidget *  parent = 0,
const char *  name = 0 
)
QUserPanel::~QUserPanel ( )
virtual

Definition at line 78 of file QUserPanel.cpp.

QUserPanel::QUserPanel ( QWidget *  parent = 0,
const char *  name = 0 
)
virtual QUserPanel::~QUserPanel ( )
virtual

Member Function Documentation

void QUserPanel::CanvasDropEventSlot ( QDropEvent *  event,
TPad *  pad 
)
virtualslot

Definition at line 225 of file QUserPanel.cpp.

References DrawObjectOnCanvas().

Referenced by QUserPanel().

virtual void QUserPanel::CanvasDropEventSlot ( QDropEvent *  ,
TPad *   
)
virtualslot
void QUserPanel::DrawBtn_clicked ( )
virtualslot

Definition at line 188 of file QUserPanel.cpp.

References QGo4Widget::DrawItem().

Referenced by QUserPanel().

virtual void QUserPanel::DrawBtn_clicked ( )
virtualslot
virtual void QUserPanel::DrawObjectOnCanvas ( const char *  itemname)
virtual
void QUserPanel::DrawObjectOnCanvas ( const char *  itemname)
virtual
void QUserPanel::DropItem ( const char *  itemname,
TClass *  cl,
int  kind 
)
virtual
virtual void QUserPanel::DropItem ( const char *  itemname,
TClass *  cl,
int  kind 
)
virtual

Reimplemented from QGo4Widget.

void QUserPanel::EditBtn_clicked ( )
virtualslot

Definition at line 183 of file QUserPanel.cpp.

References QGo4Widget::EditItem().

Referenced by QUserPanel().

virtual void QUserPanel::EditBtn_clicked ( )
virtualslot
void QUserPanel::InfoBtn_clicked ( )
virtualslot

Definition at line 178 of file QUserPanel.cpp.

References QGo4Widget::ShowItemInfo().

Referenced by QUserPanel().

virtual void QUserPanel::InfoBtn_clicked ( )
virtualslot
virtual bool QUserPanel::IsAcceptDrag ( const char *  itemname,
TClass *  cl,
int  kind 
)
virtual

Reimplemented from QGo4Widget.

bool QUserPanel::IsAcceptDrag ( const char *  itemname,
TClass *  cl,
int  kind 
)
virtual

Reimplemented from QGo4Widget.

Definition at line 105 of file QUserPanel.cpp.

References kindString().

QString QUserPanel::kindString ( int  kind)
virtual
virtual QString QUserPanel::kindString ( int  kind)
virtual
virtual void QUserPanel::linkedObjectRemoved ( const char *  linkname)
virtual

Reimplemented from QGo4Widget.

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

Reimplemented from QGo4Widget.

Definition at line 166 of file QUserPanel.cpp.

References PrintObject(), and QGo4Widget::RemoveLink().

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

Reimplemented from QGo4Widget.

Definition at line 153 of file QUserPanel.cpp.

References PrintObject().

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

Reimplemented from QGo4Widget.

virtual void QUserPanel::PrintObject ( TObject *  obj)
virtual
void QUserPanel::PrintObject ( TObject *  obj)
virtual

Definition at line 193 of file QUserPanel.cpp.

Referenced by DropItem(), linkedObjectRemoved(), and linkedObjectUpdated().


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