Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4WorkSpace Class Reference

#include <TGo4WorkSpace.h>

List of all members.

Signals

void panelSignal (TGo4ViewPanel *, TPad *, int)

Public Member Functions

 TGo4WorkSpace (QWidget *parent)
virtual ~TGo4WorkSpace ()
TGo4ViewPanel * GetActivePanel ()
TPad * GetSelectedPad ()
void SetSelectedPad (TPad *pad)
void ResponseOnPanelEvent (int funcid, TGo4ViewPanel *panel, TPad *pad)

Static Public Member Functions

static TGo4WorkSpaceInstance ()

Protected Slots

void windowActivatedSlot (QWidget *)

Protected Member Functions

virtual bool eventFilter (QObject *fx, QEvent *e)
virtual void closeEvent (QCloseEvent *ce)

Private Attributes

TGo4ViewPanel * fxActivePanel
TPad * fxActivePad
TPad * fxSelectedPad

Static Private Attributes

static TGo4WorkSpacefInstance = 0


Detailed Description

Author:
Mohammad Al-Turany

S. Linev

Since:
02.05.2002

Definition at line 29 of file TGo4WorkSpace.h.


Constructor & Destructor Documentation

TGo4WorkSpace::TGo4WorkSpace QWidget *  parent  ) 
 

Definition at line 31 of file TGo4WorkSpace.cpp.

References fInstance, and windowActivatedSlot().

TGo4WorkSpace::~TGo4WorkSpace  )  [virtual]
 

Definition at line 51 of file TGo4WorkSpace.cpp.

References fInstance.


Member Function Documentation

TGo4ViewPanel * TGo4WorkSpace::GetActivePanel  ) 
 

Definition at line 90 of file TGo4WorkSpace.cpp.

References fxActivePanel.

Referenced by TGo4MainWindow::checkPanelRepaintSlot(), and TGo4MainWindow::editorServiceSlot().

TPad * TGo4WorkSpace::GetSelectedPad  ) 
 

Definition at line 78 of file TGo4WorkSpace.cpp.

References fxSelectedPad.

Referenced by ResponseOnPanelEvent().

void TGo4WorkSpace::SetSelectedPad TPad *  pad  ) 
 

Definition at line 83 of file TGo4WorkSpace.cpp.

References fxSelectedPad.

Referenced by ResponseOnPanelEvent().

void TGo4WorkSpace::ResponseOnPanelEvent int  funcid,
TGo4ViewPanel *  panel,
TPad *  pad
 

Definition at line 102 of file TGo4WorkSpace.cpp.

References fxActivePad, fxActivePanel, GetSelectedPad(), QGo4Widget::panel_Activated, QGo4Widget::panel_ActiveUpdated, QGo4Widget::panel_Deleted, QGo4Widget::panel_Modified, QGo4Widget::panel_PadDeleted, QGo4Widget::panel_Updated, panelSignal(), and SetSelectedPad().

Referenced by TGo4MainWindow::editorServiceSlot().

TGo4WorkSpace * TGo4WorkSpace::Instance  )  [static]
 

Definition at line 26 of file TGo4WorkSpace.cpp.

References fInstance.

Referenced by TGo4Script::GetActiveViewPanel(), and TGo4Script::ProduceScript().

void TGo4WorkSpace::panelSignal TGo4ViewPanel *  ,
TPad *  ,
int 
[signal]
 

Referenced by ResponseOnPanelEvent().

bool TGo4WorkSpace::eventFilter QObject *  fx,
QEvent *  e
[protected, virtual]
 

Definition at line 56 of file TGo4WorkSpace.cpp.

References fxActivePanel.

void TGo4WorkSpace::closeEvent QCloseEvent *  ce  )  [protected, virtual]
 

Definition at line 45 of file TGo4WorkSpace.cpp.

void TGo4WorkSpace::windowActivatedSlot QWidget *   )  [protected, slot]
 

Definition at line 95 of file TGo4WorkSpace.cpp.

References fxActivePanel.

Referenced by TGo4WorkSpace().


Member Data Documentation

TGo4ViewPanel* TGo4WorkSpace::fxActivePanel [private]
 

Definition at line 57 of file TGo4WorkSpace.h.

Referenced by eventFilter(), GetActivePanel(), ResponseOnPanelEvent(), and windowActivatedSlot().

TPad* TGo4WorkSpace::fxActivePad [private]
 

Definition at line 58 of file TGo4WorkSpace.h.

Referenced by ResponseOnPanelEvent().

TPad* TGo4WorkSpace::fxSelectedPad [private]
 

Definition at line 59 of file TGo4WorkSpace.h.

Referenced by GetSelectedPad(), and SetSelectedPad().

TGo4WorkSpace * TGo4WorkSpace::fInstance = 0 [static, private]
 

Definition at line 24 of file TGo4WorkSpace.cpp.

Referenced by Instance(), TGo4WorkSpace(), and ~TGo4WorkSpace().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:30 2008 for Go4-v3.04-1 by  doxygen 1.4.2