CMS 3D CMS Logo

Public Member Functions | Private Attributes

python::Vispa::Main::AbstractTab::AbstractTab Class Reference

List of all members.

Public Member Functions

def __init__
def controller
def mainWindow
def setController
def setMainWindow
def setTabWidget
def tabWidget

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 python::Vispa::Main::AbstractTab::AbstractTab::__init__ (   self)

Definition at line 4 of file AbstractTab.py.

00005                       :
00006         self._controller = None
00007         self._tabWidget = None
00008         self._mainWindow = None
    

Member Function Documentation

def python::Vispa::Main::AbstractTab::AbstractTab::controller (   self)

Definition at line 17 of file AbstractTab.py.

00018                         :
00019         return self._controller
    
def python::Vispa::Main::AbstractTab::AbstractTab::mainWindow (   self)
Returns the main window widget.

Especially for dialog boxes.

Definition at line 37 of file AbstractTab.py.

00038                         :
00039         """Returns the main window widget.
00040         
00041         Especially for dialog boxes.
00042         """
00043         return self._mainWindow
    
def python::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.

00010                                        :
00011         """ Attaches a controller to the Tab,
00012         
00013         The controller() variable of the Tab and the tab() variable of the controller are set.
00014         """
00015         self._controller = controller
00016         self._controller.setTab(self)
        
def python::Vispa::Main::AbstractTab::AbstractTab::setMainWindow (   self,
  main 
)
Sets the mainWindow variable, which is returned by mainWindow().

Definition at line 32 of file AbstractTab.py.

00033                                  :
00034         """Sets the mainWindow variable, which is returned by mainWindow().
00035         """
00036         self._mainWindow = main
        
def python::Vispa::Main::AbstractTab::AbstractTab::setTabWidget (   self,
  widget 
)
Sets the tabWidget variable, which is returned by tabWidget().

Definition at line 20 of file AbstractTab.py.

00021                                   :
00022         """ Sets the tabWidget variable, which is returned by tabWidget().
00023         """
00024         self._tabWidget = widget
        
def python::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.

00026                        :
00027         """ Returns the tabWidget set by setTabWidget().
00028         
00029         Important for updating the tab's label etc.
00030         """
00031         return self._tabWidget
    

Member Data Documentation

Definition at line 4 of file AbstractTab.py.

Definition at line 4 of file AbstractTab.py.

Definition at line 4 of file AbstractTab.py.