schrodinger.ui.qt.entryselector module¶
File: entryselector.py Author: Pat Lorton Description: This dialog mimics the Maestro ‘Choose Entry’, with a few upgrades using our Python infrastructure.
For almost all uses you’ll simply want to use the module functions get_entry() or get_entries()
-
schrodinger.ui.qt.entryselector.
QSI
(value, entry_id=False)¶ Create a QStandardItem containing the specified data
Parameters: - value – The value to store in the QStandardItem
- entry_id (bool) – This should be True if the value represents an entry ID, and False otherwise. This ensures that entry IDs will be sorted numerically.
Returns: The newly created QStandardItem
Return type: PyQt5.QtGui.QStandardItem
-
schrodinger.ui.qt.entryselector.
get_entry
(parent=None)¶ This is a helper function to make this module trivially usable. :return: Single entry_id :rtype: string
-
schrodinger.ui.qt.entryselector.
get_entries
(parent=None)¶ This is a helper function to make this module trivially usable. :return: List of entry_id’s :rtype: List of strings