Package schrodinger :: Package application :: Package bioluminate :: Package antibody :: Module management :: Class ActiveDatabaseDialog
[hide private]
[frames] | no frames]

Class ActiveDatabaseDialog

PyQt4.QtGui.QDialog --+
                      |
                     ActiveDatabaseDialog

Modal dialog window that allows users to set active databases.

Instance Methods [hide private]
 
__init__(self, parent)
 
_setup(self)
Sets up the tab's widgets and layout
 
getTableLayout(self)
Setup the table that is used to show and carry out actions on all databases loaded by user.
 
addDatabase(self)
Open a file browser to allow the user to pick a new database file
 
accept(self)
Override this base class method so we can set the preferences according to the selections made.
 
processOldDBs(self, old_db_paths)
Convert the specified databases to the new format.
Method Details [hide private]

getTableLayout(self)

 

Setup the table that is used to show and carry out actions on all databases loaded by user. The databases and whether they are "active" are all stored in the preferences.

Returns:
The layout containing the table and label describing it

processOldDBs(self, old_db_paths)

 

Convert the specified databases to the new format.

Parameters:
  • old_db_paths (list) - list of old database filenames