schrodinger.project_utils.project_manager module¶
-
class
schrodinger.project_utils.project_manager.EntryGroupManager(parent=None, group_name=None, parent_group_name=None)¶ Bases:
PyQt5.QtCore.QObjectManage interactions with an entry group specified by a unique name. The manager is necessary because the entry group object itself may become inaccessible and change its properties if it loses all of its entries.
-
groupTitleChanged¶
-
__init__(parent=None, group_name=None, parent_group_name=None)¶ Initialize this object by specifying the unique name of the managed entry group.
-
group¶ Return the entry group being managed if it is accessible. This is important, for example, if all of the entries are removed from an entry group.
Returns: The entry group, if it exists in the project. Return type: project.EntryGroup or None
-
name¶ Returns: the unique entry group name Return type: str
-
parent_group¶
-
parent_group_name¶ Returns: the unique name of the parent group, if any Return type: str
-
title¶ Return the title stored with this manager. By default it is the group name that this manager was initialized with, but it can be set directly by calling
setTitle. It should be automatically updated via maestro callback if the entry group title is changed by the user in the project table.Returns: the entry group name Return type: str
-
__class__¶ alias of
sip.wrappertype
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.project_utils.project_manager', '__doc__': '\n Manage interactions with an entry group specified by a unique name. The\n manager is necessary because the entry group object itself may become\n inaccessible and change its properties if it loses all of its entries.\n ', 'groupTitleChanged': <unbound PYQT_SIGNAL EntryGroupManager.groupTitleChanged[str]>, '__init__': <function EntryGroupManager.__init__>, 'group': <property object>, 'name': <property object>, 'parent_group': <property object>, 'parent_group_name': <property object>, 'title': <property object>, '_writeTitleToGroup': <function EntryGroupManager._writeTitleToGroup>, '_readTitleFromGroup': <function EntryGroupManager._readTitleFromGroup>, 'onProjectUpdate': <function EntryGroupManager.onProjectUpdate>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattr__(self, str) → object¶
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.project_utils.project_manager'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__repr__¶ Return repr(self).
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
blockSignals(self, bool) → bool¶
-
childEvent(self, QChildEvent)¶
-
children(self) → object¶
-
connectNotify(self, QMetaMethod)¶
-
customEvent(self, QEvent)¶
-
deleteLater(self)¶
-
destroyed¶ destroyed(self, QObject = None) [signal]
-
disconnect(self)¶
-
disconnectNotify(self, QMetaMethod)¶
-
dumpObjectInfo(self)¶
-
dumpObjectTree(self)¶
-
dynamicPropertyNames(self) → object¶
-
event(self, QEvent) → bool¶
-
eventFilter(self, QObject, QEvent) → bool¶
-
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
inherits(self, str) → bool¶
-
installEventFilter(self, QObject)¶
-
isSignalConnected(self, QMetaMethod) → bool¶
-
isWidgetType(self) → bool¶
-
isWindowType(self) → bool¶
-
killTimer(self, int)¶
-
metaObject(self) → QMetaObject¶
-
moveToThread(self, QThread)¶
-
objectName(self) → str¶
-
objectNameChanged¶ objectNameChanged(self, str) [signal]
-
onProjectUpdate()¶ Respond to changes in the Maestro project by updating locally-cached variables. Meant to be called from a Maestro callback.
-
parent(self) → QObject¶
-
property(self, str) → Any¶
-
pyqtConfigure(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers(self, PYQT_SIGNAL) → int¶
-
removeEventFilter(self, QObject)¶
-
sender(self) → QObject¶
-
senderSignalIndex(self) → int¶
-
setObjectName(self, str)¶
-
setParent(self, QObject)¶
-
setProperty(self, str, Any) → bool¶
-
signalsBlocked(self) → bool¶
-
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject= <PyQt5.QtCore.QMetaObject object>¶
-
thread(self) → QThread¶
-
timerEvent(self, QTimerEvent)¶
-
tr(self, str, disambiguation: str = None, n: int = -1) → str¶
-