#NEWLINE# def showConnConfig( connectionList , * args , **keywords ) : #NEWLINE# #INDENT# 'showConnConfig(*args, **keywords) -> None\n    shows a window to configure the connection. The valid keywords\n    are defined in QConnectionDBSetupWindow.__init__()\n    \n    ' #NEWLINE# dialog = QConnectionDBSetupWindow ( ** keywords ) #NEWLINE# if ( dialog . exec_ ( ) == QtGui . QDialog . Accepted ) : #NEWLINE# #INDENT# config = { #NEWLINE# #INDENT# 'id' : int ( dialog . id ) , #NEWLINE# 'name' : str ( dialog . nameEdt . text ( ) ) , #NEWLINE# 'host' : str ( dialog . hostEdt . text ( ) ) , #NEWLINE# 'port' : int ( dialog . portEdt . value ( ) ) , #NEWLINE# 'user' : str ( dialog . userEdt . text ( ) ) , #NEWLINE# 'passwd' : str ( dialog . passwdEdt . text ( ) ) , #NEWLINE# 'db' : str ( dialog . databaseEdt . text ( ) ) , #NEWLINE# #UNINDENT# } #NEWLINE# id = connectionList . setConnectionInfo ( ** config ) #NEWLINE# connectionList . setCurrentId ( dialog ) #NEWLINE# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False