CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Vispa.Main.AbstractTab.AbstractTab Class Reference
Inheritance diagram for Vispa.Main.AbstractTab.AbstractTab:
Vispa.Main.SplitterTab.SplitterTab Vispa.Plugins.Browser.BrowserTab.BrowserTab Vispa.Plugins.ConfigEditor.ConfigEditorTab.ConfigEditorTab Vispa.Plugins.EdmBrowser.EdmBrowserTab.EdmBrowserTab

Public Member Functions

def __init__ (self)
 
def controller (self)
 
def mainWindow (self)
 
def setController (self, controller)
 
def setMainWindow (self, main)
 
def setTabWidget (self, widget)
 
def tabWidget (self)
 

Private Attributes

 _controller
 
 _mainWindow
 
 _tabWidget
 

Detailed Description

Abstract class for tabs to which a TabController can be attached.

Definition at line 1 of file AbstractTab.py.

Constructor & Destructor Documentation

def Vispa.Main.AbstractTab.AbstractTab.__init__ (   self)

Member Function Documentation

def Vispa.Main.AbstractTab.AbstractTab.controller (   self)
def Vispa.Main.AbstractTab.AbstractTab.mainWindow (   self)
def Vispa.Main.AbstractTab.AbstractTab.setController (   self,
  controller 
)
Attaches a controller to the Tab,

The controller() variable of the Tab and the tab() variable of the controller are set.

Definition at line 9 of file AbstractTab.py.

References Vispa.Main.AbstractTab.AbstractTab._controller.

9  def setController(self, controller):
10  """ Attaches a controller to the Tab,
11 
12  The controller() variable of the Tab and the tab() variable of the controller are set.
13  """
14  self._controller = controller
15  self._controller.setTab(self)
16 
def setController(self, controller)
Definition: AbstractTab.py:9
def Vispa.Main.AbstractTab.AbstractTab.setMainWindow (   self,
  main 
)
Sets the mainWindow variable, which is returned by mainWindow().

Definition at line 32 of file AbstractTab.py.

References Vispa.Main.AbstractTab.AbstractTab._mainWindow.

32  def setMainWindow(self, main):
33  """Sets the mainWindow variable, which is returned by mainWindow().
34  """
35  self._mainWindow = main
36 
def Vispa.Main.AbstractTab.AbstractTab.setTabWidget (   self,
  widget 
)
Sets the tabWidget variable, which is returned by tabWidget().

Definition at line 20 of file AbstractTab.py.

References Vispa.Main.AbstractTab.AbstractTab._tabWidget.

20  def setTabWidget(self, widget):
21  """ Sets the tabWidget variable, which is returned by tabWidget().
22  """
23  self._tabWidget = widget
24 
def Vispa.Main.AbstractTab.AbstractTab.tabWidget (   self)
Returns the tabWidget set by setTabWidget().

Important for updating the tab's label etc.

Definition at line 25 of file AbstractTab.py.

References Vispa.Main.AbstractTab.AbstractTab._tabWidget.

25  def tabWidget(self):
26  """ Returns the tabWidget set by setTabWidget().
27 
28  Important for updating the tab's label etc.
29  """
30  return self._tabWidget
31 

Member Data Documentation

Vispa.Main.AbstractTab.AbstractTab._controller
private
Vispa.Main.AbstractTab.AbstractTab._mainWindow
private
Vispa.Main.AbstractTab.AbstractTab._tabWidget
private