PEATDB/PEATApp.py
def loginSetup(self):
        """Login setttings for authentication to ZEO"""

        mpDlg = MultipleValDialog(title='Login settings',
                                    initialvalues=(self.username,
                                                   self.password),
                                    labels=('user name','password'),
                                    types=('string','password'),
                                    parent=self.main)

        if mpDlg.result == True:
            self.username = mpDlg.results[0]
            self.password = mpDlg.results[1]
            self.preferences.set('username',self.username)
            self.preferences.set('password',self.password)
        else:
            return
        return
Login setttings for authentication to ZEO
Login setttings for authentication to ZEO
Login setttings for authentication to ZEO
def loginSetup(self):
        mpDlg = MultipleValDialog(title='Login settings',
                                    initialvalues=(self.username,
                                                   self.password),
                                    labels=('user name','password'),
                                    types=('string','password'),
                                    parent=self.main)
        if mpDlg.result == True:
            self.username = mpDlg.results[0]
            self.password = mpDlg.results[1]
            self.preferences.set('username',self.username)
            self.preferences.set('password',self.password)
        else:
            return
        return
def loginSetup ( self ) : mpDlg = MultipleValDialog ( title = 'Login settings' , initialvalues = ( self . username , self . password ) , labels = ( 'user name' , 'password' ) , types = ( 'string' , 'password' ) , parent = self . main ) if mpDlg . result == True : self . username = mpDlg . results [ 0 ] self . password = mpDlg . results [ 1 ] self . preferences . set ( 'username' , self . username ) self . preferences . set ( 'password' , self . password ) else : return return
Login setttings for authentication to ZEO
Login setttings for authentication to ZEO
"""Login setttings for authentication to ZEO"""
self