def __init__(self,
                 parentWidget,
                 parentPropMgr=None,
                 title="",
                 element="Ss3",
                 elementViewer=None):
        """
        Appends a PM_PAM3_AtomChooser widget to the bottom of I{parentWidget}, 
        a Property Manager dialog. (or as a sub groupbox for Atom Chooser 
        GroupBox.)
        
        @param parentWidget: The parent PM_Dialog or PM_groupBox containing this
                             widget.
        @type  parentWidget: PM_Dialog or PM_GroupBox
        
        @param parentPropMgr: The parent Property Manager 
        @type  parentPropMgr: PM_Dialog or None
        
        @param title: The button title on the group box containing the
                      Atom Chooser.
        @type  title: str
        
        @param element: The initially selected PAM3 atom. It can be either an
                        (PAM3) atom symbol or name.
        @type  element: str
        """

        PM_MolecularModelingKit.__init__(self, parentWidget, parentPropMgr,
                                         title, element, elementViewer)

        self._elementsButtonGroup.setButtonSize(width=38, height=38)
Ejemplo n.º 2
0
    def __init__(self,
                 parentWidget,
                 parentPropMgr=None,
                 title="",
                 element="Carbon",
                 elementViewer=None):
        """
        Appends a PM_ElementChooser widget to the bottom of I{parentWidget}, 
        a Property Manager dialog. (or as a sub groupbox for Atom Chooser 
        GroupBox.)
        
        @param parentWidget: The parent PM_Dialog or PM_groupBox containing this
                             widget.
        @type  parentWidget: PM_Dialog or PM_GroupBox
        
        @param parentPropMgr: The parent Property Manager 
        @type  parentPropMgr: PM_Dialog or None
        
        @param title: The button title on the group box containing the
                      Element Chooser.
        @type  title: str
        
        @param element: The initially selected element. It can be either an
                        element symbol or name.
        @type  element: str
        """

        PM_MolecularModelingKit.__init__(self, parentWidget, parentPropMgr,
                                         title, element, elementViewer)
Ejemplo n.º 3
0
 def __init__(self, 
              parentWidget, 
              parentPropMgr   = None,
              title           = "",
              element         = "Carbon",
              elementViewer   =  None
              ):
     """
     Appends a PM_ElementChooser widget to the bottom of I{parentWidget}, 
     a Property Manager dialog. (or as a sub groupbox for Atom Chooser 
     GroupBox.)
     
     @param parentWidget: The parent PM_Dialog or PM_groupBox containing this
                          widget.
     @type  parentWidget: PM_Dialog or PM_GroupBox
     
     @param parentPropMgr: The parent Property Manager 
     @type  parentPropMgr: PM_Dialog or None
     
     @param title: The button title on the group box containing the
                   Element Chooser.
     @type  title: str
     
     @param element: The initially selected element. It can be either an
                     element symbol or name.
     @type  element: str
     """
     
     PM_MolecularModelingKit.__init__( self, 
                                       parentWidget, 
                                       parentPropMgr,
                                       title,
                                       element,
                                       elementViewer)
Ejemplo n.º 4
0
 def __init__(self, 
              parentWidget,
              parentPropMgr   = None,
              title           = "",
              element         = "Ss5",
              elementViewer   =  None
              ):
     """
     Appends a PM_PAM5_AtomChooser widget to the bottom of I{parentWidget}, 
     a Property Manager dialog. (or as a sub groupbox for Atom Chooser 
     GroupBox.)
     
     @param parentWidget: The parent PM_Dialog or PM_groupBox containing this
                          widget.
     @type  parentWidget: PM_Dialog or PM_GroupBox
     
     @param parentPropMgr: The parent Property Manager 
     @type  parentPropMgr: PM_Dialog or None
     
     @param title: The button title on the group box containing the
                   Atom Chooser.
     @type  title: str
     
     @param element: The initially selected PAM5 atom. It can be either an
                     PAM5 atom symbol or name.
     @type  element: str
     """
     
     PM_MolecularModelingKit.__init__( self, 
                                       parentWidget,
                                       parentPropMgr,
                                       title,
                                       element,
                                       elementViewer)
     
     self._elementsButtonGroup.setButtonSize(width = 38, height = 38)