schrodinger.application.jaguar.gui.input_tab_widgets module¶
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
UseFrom
¶ Bases:
enum.Enum
An enumeration.
-
included
= 1¶
-
selected
= 2¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
Basis
¶ Bases:
schrodinger.application.jaguar.gui.input_tab_widgets.Basis
Class for representing a basis set. The basis set name, polarization (i.e. *’s), and diffuse (i.e. +’s) are stored separately.
-
classmethod
fromText
(text)¶ Create a Basis object from a string
Parameters: text (str) – The full basis set name including *’s and +’s
-
__contains__
¶ Return key in self.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__len__
¶ Return len(self).
-
basis
¶ Alias for field number 0
-
count
(value) → integer -- return number of occurrences of value¶
-
diffuse
¶ Alias for field number 2
-
index
(value[, start[, stop]]) → integer -- return first index of value.¶ Raises ValueError if the value is not present.
-
polarization
¶ Alias for field number 1
-
classmethod
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
ProjEntry
(row=None)¶ Bases:
object
A class for accessing data about a project table row and the associated structure
-
__init__
(row=None)¶ Instantiate a new object
Parameters: row ( schrodinger.project.ProjectRow
or NoneType) – The project row. If not provided, no data will be loaded.
-
update
(row)¶ Update this entry with information from the provided row
Parameters: row ( schrodinger.project.ProjectRow
) – The project row
-
reset
()¶ Reset any user-specified settings
-
setIncluded
(value)¶ Include or remove this entry from the workspace.
Parameters: value (int) – A flag indicated whether the entry should be removed from the workspace (WS_REMOVE), included in the workspace(WS_INCLUDED), or set as the only entry in the workspace (WS_INCLUDE_ONLY)
-
getCharge
()¶ Get the user-specified charge on the structure. If no charge has been set, the default charge will be returned.
Returns: A tuple of: - The charge (int) - Is this a user-specified charge (True) or the default charge (False) Return type: tuple
-
getSpinMult
()¶ Get the user-specified spin multiplicity on the structure. If no spin multiplicity has been set or if the user-specified multiplicity is incompatible with the current charge, then the default spin multiplicity will be returned.
Returns: A tuple of: - The spin multiplicity (int) - Is this a user-specified spin multiplicity (True) or the default spin multiplicity (False)Return type: tuple
-
getDefaultSpinMult
()¶ Get the default spin multiplicity on the structure for the current charge
Returns: The default spin multiplicity Return type: int
-
getStructure
()¶ Get the entry structure
Returns: The structure object Return type: schrodinger.structure.Structure
-
setBasisFromText
(basis)¶ Set the basis
Parameters: basis (str) – The full basis set name including *’s and +’s
-
getIgnoredSpinMult
()¶ If the user has set an invalid spin multiplicity, return it
Returns: If the user has set a spin multiplicity but it’s being ignored, return the user-specified spin multiplicity. Otherwise, return None. Return type: int or NoneType
-
setSpinMult
(spin_mult)¶ Set the spin multiplicity
Parameters: spin_mult (int) – The spin multiplicity to set Returns: True if this is a valid spin multiplicity for the current charge. False otherwise. Return type: bool
-
getStrucChargeAndSpinMult
()¶ Get the structure, charge, and spin multiplicity settings. (This is intended for use in loading data into a ProjEntryTuple object.)
Returns: A tuple of (entry_id, structure, charge, spin multiplicity) Return type: tuple
-
row_charge
¶ Make sure we provide an up to date row charge value
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
ProjEntryTuple
(entry_id, struc, charge, spin_mult, basis)¶ Bases:
tuple
A simplified class for storing data about a project table row and the associated structure. Unlike ProjEntry, ProjEntryTuple contains data about the basis set even for structures using the default basis.
-
__contains__
¶ Return key in self.
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__len__
¶ Return len(self).
-
basis
¶ Alias for field number 4
-
charge
¶ Alias for field number 2
-
count
(value) → integer -- return number of occurrences of value¶
-
entry_id
¶ Alias for field number 0
-
index
(value[, start[, stop]]) → integer -- return first index of value.¶ Raises ValueError if the value is not present.
-
spin_mult
¶ Alias for field number 3
-
struc
¶ Alias for field number 1
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
InputEntriesColumns
¶ Bases:
object
Column constants for the selected entries table
-
HEADERS
= ['ID', 'In', 'Entry Title', 'Charge', 'Spin Mult.', 'Basis Set']¶
-
NUM_COLS
= 6¶
-
ID
= 0¶
-
INCLUSION
= 1¶
-
TITLE
= 2¶
-
CHARGE
= 3¶
-
SPIN_MULT
= 4¶
-
BASIS
= 5¶
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
InputEntriesModel
(parent)¶ Bases:
PyQt5.QtCore.QAbstractTableModel
The data model for the input entries table
Variables: - ERROR_BACKGROUND_BRUSH (
PyQt5.QtGui.QBrush
) – The brush used to paint the background of cells containing invalid data - show_tool_tip (
PyQt5.QtCore.pyqtSignal
) – A signal indicating that the tool tip for the specified cell should explicitly be shown. This is used to notify the user when an invalid spin multiplicity has been entered. (Note that this signal has nothing to do with tool tips being shown when the user hovers over a cell.) This signal is emitted with the index of the cell to display the tool tip for.
-
COLUMN
¶ alias of
InputEntriesColumns
-
ERROR_BACKGROUND_BRUSH
= <PyQt5.QtGui.QBrush object>¶
-
show_tool_tip
¶
-
basisChanged
¶
-
ERROR_PRE
= "<span style='color:red'>"¶
-
ERROR_POST
= '</span>'¶
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
setPerAtomBasisModel
(per_atom_basis_model)¶ Connect this model to the per-atom basis set model from the Basis Set sub-tab.
Parameters: per_atom_basis_model ( schrodinger.application.jaguar.gui.tabs. sub_tab_widgets.basis_set_widgets.BasisSetModel
) – The per-atom basis set model
-
perAtomBasisChanged
(eid)¶ Respond to the user changing a per-atom basis set for the specified entry ID. A per-atom basis set change could change the validity of the current basis set for the structure, so we emit dataChanged. This triggers the view to re-color the background of the cell.
Parameters: eid (str) – The entry ID
-
projectUpdated
()¶ Update the table when the project is updated
-
workspaceChanged
(what_changed)¶ If the workspace changed, update data in case the user changed the charge of a molecule.
Parameters: what_changed (str) – A flag indicating what changed in the workspace Note: This function is called before the workspace changes have propagated to the project table. As such, we use a QTimer to wait until after the changes have propagated before updating.
-
clearRows
()¶ Clear all row data
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
copyChargeMultBasisFromModel
(copy_model)¶ Copy the charge, spin and basis set information from the given model to this model.
Parameters: copy_model ( InputEntriesModel
) – The model to copy information fromRaises: RuntimeError – If the rows in the model are not in the same order
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
flags
(self, QModelIndex) → Qt.ItemFlags¶
-
setData
(index, value, role=2)¶ Set data for the specified index. The spin multiplicity tool tip will be shown if an invalid spin multiplicity is set, or if a charge is set that renders the spin multiplicity invalid. (The tool tip explains that the default spin multiplicity is being used because the user-specifed value is invalid.)
Parameters: - index (
PyQt5.QtCore.QModelIndex
) – The index to modify - value – The value to set
- role (int) – The role to set data for. Must be Qt.EditRole or setting will fail.
Returns: True if setting succeeded. False if it failed.
Return type: bool
- index (
-
checkBasisSets
()¶ Make sure that all structure have a valid basis set selected
Returns: A list of structures with invalid basis sets Return type: list
-
setDefaultBasis
(basis)¶ Set the default basis set
Parameters: basis (str) – The default basis set
-
getStructures
()¶ Get a list of all structures loaded into the table (i.e. all structures selected in the project table) and the associated settings.
Returns: A list of ProjEntryTuple objects Return type: list
-
reset
()¶ Reset all charge, spin multiplicity, and basis settings
-
getCommonBasis
()¶ If all structures use the same basis set, return the basis set name. Otherwise, return None.
Note: The basis set returned here is not guaranteed to be the default basis set. The user may have specified identical per-structure basis sets for all structures. Returns: The basis set name or None Return type: str or NoneType
-
chargedStrucsPresent
()¶ Determine if the user has specified any molecular charges
Returns: True if the user has specified a molecular charge for any molecule. False otherwise. Return type: bool
-
entryTitles
()¶ Get a dictionary of {entry id: entry title} for all selected entries
-
entryIds
()¶ Get a set of entry ids for all selected entries
-
getBasisForEid
(eid, per_atom_name)¶ Get the basis set for the specified entry id. If there are per-atom basis sets specified for the structure, the
per_atom_name
will be returned.Parameters: - eid (str) – The entry id
- per_atom_name (str) – The name to return if per-atom basis sets are specified
Returns: The basis set name, or
per_atom_name
if per-atom basis sets are specifiedReturn type: Basis
or str
-
setSource
(source)¶ Specify the row source, i.e., included entries or selected entries
Parameters: source ( UseFrom
orschrodinger.ui.qt.input_selector.InputSelector
class constant that maps to a UseFrom enum) – The row source
-
source
()¶ Return the row source, i.e., included entries or selected entries
Returns: The row source Return type: UseFrom
-
usingSelected
()¶ Return True if the tab is set to use selected entries. False if the tab is set to use included entries.
-
class
CheckIndexOption
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3bb6ec8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
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]
-
hasChildren
()¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
killTimer
(self, int)¶
-
layoutAboutToBeChanged
¶ layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
-
layoutChanged
¶ layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
-
match
(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self) → QObject¶
-
persistentIndexList
(self) → List[QModelIndex]¶
-
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¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
- ERROR_BACKGROUND_BRUSH (
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
InputEntriesProxyModel
(parent=None)¶ Bases:
schrodinger.ui.qt.table_helper.PythonSortProxyModel
The proxy model for sorting the input entries table
Variables: - show_tool_tip (
PyQt5.QtCore.pyqtSignal
) – A signal indicating that the tool tip for the specified cell should explicitly be shown. - redraw (
PyQt5.QtCore.pyqtSignal
) – A signal to request the view to repaint. This shouldn’t be necessary, but the view doesn’t repaint without it.
-
show_tool_tip
¶
-
redraw
¶
-
COLUMN
= None¶
-
SORT_ROLE
= 258¶
-
setSourceModel
(self, QAbstractItemModel)¶
-
promoteShowToolTip
(model_index)¶ When a show_tool_tip signal is received from the model, translate the index and re-emit the signal.
Parameters: model_index ( PyQt5.QtCore.QModelIndex
) – The model index
-
source
()¶ Return the row source, i.e., included entries or selected entries
Returns: The row source Return type: UseFrom
-
class
CheckIndexOption
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
DYNAMIC_SORT_FILTER
= None¶
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3bb6ec8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
__init__
(parent=None)¶ Initialize self. See help(type(self)) for accurate signature.
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
dynamicSortFilter
(self) → bool¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
filterAcceptsColumn
(self, int, QModelIndex) → bool¶
-
filterAcceptsRow
(self, int, QModelIndex) → bool¶
-
filterCaseSensitivity
(self) → Qt.CaseSensitivity¶
-
filterKeyColumn
(self) → int¶
-
filterRegExp
(self) → QRegExp¶
-
filterRegularExpression
(self) → QRegularExpression¶
-
filterRole
(self) → int¶
-
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]
-
flags
(self, QModelIndex) → Qt.ItemFlags¶
-
hasChildren
(self, parent: QModelIndex = QModelIndex()) → bool¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
invalidate
(self)¶
-
invalidateFilter
(self)¶
-
isRecursiveFilteringEnabled
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortLocaleAware
(self) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
killTimer
(self, int)¶
-
layoutAboutToBeChanged
¶ layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
-
layoutChanged
¶ layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
-
lessThan
(left, right)¶ Comparison method for sorting rows and columns. Handle special case in which one or more sort data values is
None
by evaluating it as less than every other value.Parameters: - left (QtCore.QModelIndex) – table cell index
- right (QtCore.QModelIndex) – table cell index
See Qt documentation for full method documentation.
-
mapFromSource
(self, QModelIndex) → QModelIndex¶
-
mapSelectionFromSource
(self, QItemSelection) → QItemSelection¶
-
mapSelectionToSource
(self, QItemSelection) → QItemSelection¶
-
mapToSource
(self, QModelIndex) → QModelIndex¶
-
match
(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self, QModelIndex) → QModelIndex¶ parent(self) -> QObject
-
persistentIndexList
(self) → List[QModelIndex]¶
-
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¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setData
(self, QModelIndex, Any, role: int = Qt.EditRole) → bool¶
-
setDynamicSortFilter
(self, bool)¶
-
setFilterCaseSensitivity
(self, Qt.CaseSensitivity)¶
-
setFilterFixedString
(self, str)¶
-
setFilterKeyColumn
(self, int)¶
-
setFilterRegExp
(self, QRegExp)¶ setFilterRegExp(self, str)
-
setFilterRegularExpression
(self, QRegularExpression)¶ setFilterRegularExpression(self, str)
-
setFilterRole
(self, int)¶
-
setFilterWildcard
(self, str)¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setRecursiveFilteringEnabled
(self, bool)¶
-
setSortCaseSensitivity
(self, Qt.CaseSensitivity)¶
-
setSortLocaleAware
(self, bool)¶
-
setSortRole
(self, int)¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
sortCaseSensitivity
(self) → Qt.CaseSensitivity¶
-
sortColumn
(self) → int¶
-
sortOrder
(self) → Qt.SortOrder¶
-
sortRole
(self) → int¶
-
sourceModel
(self) → QAbstractItemModel¶
-
sourceModelChanged
¶ sourceModelChanged(self) [signal]
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
- show_tool_tip (
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
InputEntriesView
(parent)¶ Bases:
schrodinger.application.jaguar.gui.utils.ProjTableLikeView
The view for the input entries table
-
COLUMN
¶ alias of
InputEntriesColumns
-
__init__
(parent)¶ Instantiate the view, connect the appropriate delegates, and set the selection behavior to mimic the project table.
-
showToolTip
(index)¶ Show the tool tip for the specified index in response to the model emitting a show_tool_tip signal. (Note that this function has nothing to do with tool tips being shown when the user hovers over a cell.)
Parameters: index ( PyQt5.QtCore.QModelIndex
) – The index to show the tool tip for
-
setModel
(self, QAbstractItemModel)¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
AboveItem
= 1¶
-
AdjustIgnored
= 0¶
-
AdjustToContents
= 2¶
-
AdjustToContentsOnFirstShow
= 1¶
-
AllEditTriggers
= 31¶
-
AnimatingState
= 6¶
-
AnyKeyPressed
= 16¶
-
BelowItem
= 2¶
-
Box
= 1¶
-
CollapsingState
= 5¶
-
ContiguousSelection
= 4¶
-
CurrentChanged
= 1¶
-
class
CursorAction
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e05c08>¶
-
-
DoubleClicked
= 2¶
-
DragDrop
= 3¶
-
class
DragDropMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e05fb8>¶
-
-
DragOnly
= 1¶
-
DragSelectingState
= 2¶
-
DraggingState
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
DropIndicatorPosition
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e06368>¶
-
-
DropOnly
= 2¶
-
EditKeyPressed
= 8¶
-
class
EditTrigger
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e06718>¶
-
-
class
EditTriggers
¶ Bases:
sip.simplewrapper
QAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
EditingState
= 3¶
-
EnsureVisible
= 0¶
-
ExpandingState
= 4¶
-
ExtendedSelection
= 3¶
-
HLine
= 4¶
-
IgnoreMask
= 4¶
-
InternalMove
= 4¶
-
MoveDown
= 1¶
-
MoveEnd
= 5¶
-
MoveHome
= 4¶
-
MoveLeft
= 2¶
-
MoveNext
= 8¶
-
MovePageDown
= 7¶
-
MovePageUp
= 6¶
-
MovePrevious
= 9¶
-
MoveRight
= 3¶
-
MoveUp
= 0¶
-
MultiSelection
= 2¶
-
NoDragDrop
= 0¶
-
NoEditTriggers
= 0¶
-
NoFrame
= 0¶
-
NoSelection
= 0¶
-
NoState
= 0¶
-
OnItem
= 0¶
-
OnViewport
= 3¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x252cf48>¶
-
-
Panel
= 2¶
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
Plain
= 16¶
-
PositionAtBottom
= 2¶
-
PositionAtCenter
= 3¶
-
PositionAtTop
= 1¶
-
Raised
= 32¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3954448>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
ScrollHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e07548>¶
-
-
class
ScrollMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e078f8>¶
-
-
ScrollPerItem
= 0¶
-
ScrollPerPixel
= 1¶
-
SelectColumns
= 2¶
-
SelectItems
= 0¶
-
SelectRows
= 1¶
-
SelectedClicked
= 4¶
-
class
SelectionBehavior
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e07ca8>¶
-
-
class
SelectionMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e08058>¶
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x51e8138>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
SingleSelection
= 1¶
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e087b8>¶
-
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x51e8898>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, QModelIndex) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addScrollBarWidget
(self, QWidget, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
adjustSize
(self)¶
-
alternatingRowColors
(self) → bool¶
-
autoFillBackground
(self) → bool¶
-
autoScrollMargin
(self) → int¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
clearSelection
(self)¶
-
clearSpans
(self)¶
-
clicked
¶ clicked(self, QModelIndex) [signal]
-
close
(self) → bool¶
-
closeEditor
(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
-
closeEvent
(self, QCloseEvent)¶
-
closePersistentEditor
(self, QModelIndex)¶
-
colorCount
(self) → int¶
-
columnAt
(self, int) → int¶
-
columnCountChanged
(self, int, int)¶
-
columnMoved
(self, int, int, int)¶
-
columnResized
(self, int, int, int)¶
-
columnSpan
(self, int, int) → int¶
-
columnViewportPosition
(self, int) → int¶
-
columnWidth
(self, int) → int¶
-
commitData
(self, QWidget)¶
-
commitDataToSelected
(editor, index, delegate)¶ Commit data to all selected cells in the column that is currently being edited.
Parameters: - editor (
PyQt5.QtWidgets.QWidget
) – The editor being used to enter data - index (
PyQt5.QtCore.QModelIndex
) – The index being edited - delegate (
PyQt5.QtWidgets.QAbstractItemDelegate
) – The delegate used to create the editor
- editor (
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
cornerWidget
(self) → QWidget¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentChanged
(self, QModelIndex, QModelIndex)¶
-
currentIndex
(self) → QModelIndex¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])¶
-
defaultDropAction
(self) → Qt.DropAction¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
dirtyRegionOffset
(self) → QPoint¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
doubleClicked
¶ doubleClicked(self, QModelIndex) [signal]
-
dragDropMode
(self) → QAbstractItemView.DragDropMode¶
-
dragDropOverwriteMode
(self) → bool¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dropIndicatorPosition
(self) → QAbstractItemView.DropIndicatorPosition¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
edit
(self, QModelIndex)¶ edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
-
editTriggers
(self) → QAbstractItemView.EditTriggers¶
-
editorDestroyed
(self, QObject)¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
entered
¶ entered(self, QModelIndex) [signal]
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
executeDelayedItemsLayout
(self)¶
-
find
(sip.voidptr) → QWidget¶
-
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]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
gridStyle
(self) → Qt.PenStyle¶
-
hasAutoScroll
(self) → bool¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideColumn
(self, int)¶
-
hideEvent
(self, QHideEvent)¶
-
hideRow
(self, int)¶
-
horizontalHeader
(self) → QHeaderView¶
-
horizontalOffset
(self) → int¶
-
horizontalScrollBar
(self) → QScrollBar¶
-
horizontalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
horizontalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
horizontalScrollbarAction
(self, int)¶
-
horizontalScrollbarValueChanged
(self, int)¶
-
iconSize
(self) → QSize¶
-
iconSizeChanged
¶ iconSizeChanged(self, QSize) [signal]
-
indexAt
(self, QPoint) → QModelIndex¶
-
indexWidget
(self, QModelIndex) → QWidget¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isColumnHidden
(self, int) → bool¶
-
isCornerButtonEnabled
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isIndexHidden
(self, QModelIndex) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isPersistentEditorOpen
(self, QModelIndex) → bool¶
-
isRightToLeft
(self) → bool¶
-
isRowHidden
(self, int) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortingEnabled
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemDelegate
(self) → QAbstractItemDelegate¶ itemDelegate(self, QModelIndex) -> QAbstractItemDelegate
-
itemDelegateForColumn
(self, int) → QAbstractItemDelegate¶
-
itemDelegateForRow
(self, int) → QAbstractItemDelegate¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
keyboardSearch
(self, str)¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineWidth
(self) → int¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumViewportSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
model
(self) → QAbstractItemModel¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveCursor
(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) → QModelIndex¶
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
openPersistentEditor
(self, QModelIndex)¶
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
pressed
¶ pressed(self, QModelIndex) [signal]
-
previousInFocusChain
(self) → QWidget¶
-
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.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
(self)¶
-
resetHorizontalScrollMode
(self)¶
-
resetVerticalScrollMode
(self)¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeColumnToContents
(self, int)¶
-
resizeColumnsToContents
(self)¶
-
resizeEvent
(self, QResizeEvent)¶
-
resizeRowToContents
(self, int)¶
-
resizeRowsToContents
(self)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootIndex
(self) → QModelIndex¶
-
rowAt
(self, int) → int¶
-
rowCountChanged
(self, int, int)¶
-
rowHeight
(self, int) → int¶
-
rowMoved
(self, int, int, int)¶
-
rowResized
(self, int, int, int)¶
-
rowSpan
(self, int, int) → int¶
-
rowViewportPosition
(self, int) → int¶
-
rowsAboutToBeRemoved
(self, QModelIndex, int, int)¶
-
rowsInserted
(self, QModelIndex, int, int)¶
-
saveGeometry
(self) → QByteArray¶
-
scheduleDelayedItemsLayout
(self)¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
scrollBarWidgets
(self, Union[Qt.Alignment, Qt.AlignmentFlag]) → List[QWidget]¶
-
scrollContentsBy
(self, int, int)¶
-
scrollDirtyRegion
(self, int, int)¶
-
scrollTo
(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
-
scrollToBottom
(self)¶
-
scrollToTop
(self)¶
-
selectAll
(self)¶
-
selectColumn
(self, int)¶
-
selectRow
(self, int)¶
-
selectedIndexes
(self) → List[QModelIndex]¶
-
selectionBehavior
(self) → QAbstractItemView.SelectionBehavior¶
-
selectionChanged
(self, QItemSelection, QItemSelection)¶
-
selectionCommand
(index, event=None)¶ Don’t update the current selection when using the keyboard to navigate or when clicking on a selected editable item.
Parameters: - index (
PyQt5.QtCore.QModelIndex
) – The newly selected index - event (
PyQt5.QtCore.QEvent
) – The event that triggered the index change
Returns: A flag describing how the selection should be updated
Return type: int
- index (
-
selectionMode
(self) → QAbstractItemView.SelectionMode¶
-
selectionModel
(self) → QItemSelectionModel¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlternatingRowColors
(self, bool)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setAutoScroll
(self, bool)¶
-
setAutoScrollMargin
(self, int)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setColumnHidden
(self, int, bool)¶
-
setColumnWidth
(self, int, int)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCornerButtonEnabled
(self, bool)¶
-
setCornerWidget
(self, QWidget)¶
-
setCurrentIndex
(self, QModelIndex)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDefaultDropAction
(self, Qt.DropAction)¶
-
setDirtyRegion
(self, QRegion)¶
-
setDisabled
(self, bool)¶
-
setDragDropMode
(self, QAbstractItemView.DragDropMode)¶
-
setDragDropOverwriteMode
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setDropIndicatorShown
(self, bool)¶
-
setEditTriggers
(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setGridStyle
(self, Qt.PenStyle)¶
-
setHidden
(self, bool)¶
-
setHorizontalHeader
(self, QHeaderView)¶
-
setHorizontalScrollBar
(self, QScrollBar)¶
-
setHorizontalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setHorizontalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setIconSize
(self, QSize)¶
-
setIndexWidget
(self, QModelIndex, QWidget)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemDelegateForColumn
(column, delegate, connect_selected=False)¶ Set the delegate for the specified column. Note that this function adds the optional
connect_selected
argument not present in the QTableView function.Parameters: - column (int) – The column to set the delegate for
- delegate (
PyQt5.QtWidgets.QAbstractItemDelegate
) – The delegate to set - connect_selected (bool) – If True, the delegate’s commitDataToSelected signal will be connected
-
setItemDelegateForRow
(self, int, QAbstractItemDelegate)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootIndex
(self, QModelIndex)¶
-
setRowHeight
(self, int, int)¶
-
setRowHidden
(self, int, bool)¶
-
setSelection
(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
-
setSelectionBehavior
(self, QAbstractItemView.SelectionBehavior)¶
-
setSelectionMode
(self, QAbstractItemView.SelectionMode)¶
-
setSelectionModel
(self, QItemSelectionModel)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setShowGrid
(self, bool)¶
-
setSizeAdjustPolicy
(self, QAbstractScrollArea.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setSortingEnabled
(self, bool)¶
-
setSpan
(self, int, int, int, int)¶
-
setState
(self, QAbstractItemView.State)¶
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setTextElideMode
(self, Qt.TextElideMode)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVerticalHeader
(self, QHeaderView)¶
-
setVerticalScrollBar
(self, QScrollBar)¶
-
setVerticalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setVerticalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setViewport
(self, QWidget)¶
-
setViewportMargins
(self, int, int, int, int)¶ setViewportMargins(self, QMargins)
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
setWordWrap
(self, bool)¶
-
setupViewport
(self, QWidget)¶
-
show
(self)¶
-
showColumn
(self, int)¶
-
showDropIndicator
(self) → bool¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showGrid
(self) → bool¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
showRow
(self, int)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeAdjustPolicy
(self) → QAbstractScrollArea.SizeAdjustPolicy¶
-
sizeHint
(self) → QSize¶
-
sizeHintForColumn
(self, int) → int¶
-
sizeHintForIndex
(self, QModelIndex) → QSize¶
-
sizeHintForRow
(self, int) → int¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
sortByColumn
(self, int, Qt.SortOrder)¶
-
stackUnder
(self, QWidget)¶
-
startDrag
(self, Union[Qt.DropActions, Qt.DropAction])¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
state
(self) → QAbstractItemView.State¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
textElideMode
(self) → Qt.TextElideMode¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QModelIndex)
-
updateEditorData
(self)¶
-
updateEditorGeometries
(self)¶
-
updateGeometries
(self)¶
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
verticalHeader
(self) → QHeaderView¶
-
verticalOffset
(self) → int¶
-
verticalScrollBar
(self) → QScrollBar¶
-
verticalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
verticalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
verticalScrollbarAction
(self, int)¶
-
verticalScrollbarValueChanged
(self, int)¶
-
viewOptions
(self) → QStyleOptionViewItem¶
-
viewport
(self) → QWidget¶
-
viewportEntered
¶ viewportEntered(self) [signal]
-
viewportEvent
(self, QEvent) → bool¶
-
viewportMargins
(self) → QMargins¶
-
viewportSizeHint
(self) → QSize¶
-
visibleRegion
(self) → QRegion¶
-
visualRect
(self, QModelIndex) → QRect¶
-
visualRegionForSelection
(self, QItemSelection) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
wordWrap
(self) → bool¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
CommitMultipleDelegate
¶ Bases:
PyQt5.QtWidgets.QStyledItemDelegate
A delegate where Ctrl+Enter will cause the value to be committed to all selected rows. Note that the editor must have an index attribute containing the index being edited. (This index is needed for view.commitDataToSelected(). Qt itself uses QAbstractItemViewPrivate.indexForEditor() to retrieve the index. We don’t have access to the QAbstractItemViewPrivate class, though, so we have store the index in the editor instead.)
Variables: commitDataToSelected ( PyQt5.QtCore.pyqtSignal
) – Commit the data from the current editor to all selected cells. This signal is emitted with the editor, the current index, and the delegate.-
commitDataToSelected
¶
-
eventFilter
(editor, event)¶ Handle Ctrl+Enter
-
EditNextItem
= 1¶
-
EditPreviousItem
= 2¶
-
class
EndEditHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e04ce8>¶
-
-
NoHint
= 0¶
-
RevertModelCache
= 4¶
-
SubmitModelCache
= 3¶
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
blockSignals
(self, bool) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
closeEditor
¶ closeEditor(self, QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
-
commitData
¶ commitData(self, QWidget) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createEditor
(self, QWidget, QStyleOptionViewItem, QModelIndex) → QWidget¶
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
destroyEditor
(self, QWidget, QModelIndex)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self, Any, QLocale) → str¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editorEvent
(self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) → bool¶
-
event
(self, 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]
-
helpEvent
(self, QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) → bool¶
-
inherits
(self, str) → bool¶
-
initStyleOption
(self, QStyleOptionViewItem, QModelIndex)¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemEditorFactory
(self) → QItemEditorFactory¶
-
killTimer
(self, int)¶
-
metaObject
(self) → QMetaObject¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
paint
(self, QPainter, QStyleOptionViewItem, QModelIndex)¶
-
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¶
-
setEditorData
(self, QWidget, QModelIndex)¶
-
setItemEditorFactory
(self, QItemEditorFactory)¶
-
setModelData
(self, QWidget, QAbstractItemModel, QModelIndex)¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
signalsBlocked
(self) → bool¶
-
sizeHint
(self, QStyleOptionViewItem, QModelIndex) → QSize¶
-
sizeHintChanged
¶ sizeHintChanged(self, QModelIndex) [signal]
-
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¶
-
updateEditorGeometry
(self, QWidget, QStyleOptionViewItem, QModelIndex)¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
BlankableSpinBoxDelegate
¶ Bases:
schrodinger.application.jaguar.gui.input_tab_widgets.CommitMultipleDelegate
A spin box delegate. If the spin box is committed while it is blank, model.setData will be called with a value of None.
-
createEditor
(self, QWidget, QStyleOptionViewItem, QModelIndex) → QWidget¶
-
setEditorData
(self, QWidget, QModelIndex)¶
-
setModelData
(self, QWidget, QAbstractItemModel, QModelIndex)¶
-
EditNextItem
= 1¶
-
EditPreviousItem
= 2¶
-
class
EndEditHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e04ce8>¶
-
-
NoHint
= 0¶
-
RevertModelCache
= 4¶
-
SubmitModelCache
= 3¶
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
blockSignals
(self, bool) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
closeEditor
¶ closeEditor(self, QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
-
commitData
¶ commitData(self, QWidget) [signal]
-
commitDataToSelected
¶
-
connectNotify
(self, QMetaMethod)¶
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
destroyEditor
(self, QWidget, QModelIndex)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self, Any, QLocale) → str¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editorEvent
(self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) → bool¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(editor, event)¶ Handle Ctrl+Enter
-
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]
-
helpEvent
(self, QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) → bool¶
-
inherits
(self, str) → bool¶
-
initStyleOption
(self, QStyleOptionViewItem, QModelIndex)¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemEditorFactory
(self) → QItemEditorFactory¶
-
killTimer
(self, int)¶
-
metaObject
(self) → QMetaObject¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
paint
(self, QPainter, QStyleOptionViewItem, QModelIndex)¶
-
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¶
-
setItemEditorFactory
(self, QItemEditorFactory)¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
signalsBlocked
(self) → bool¶
-
sizeHint
(self, QStyleOptionViewItem, QModelIndex) → QSize¶
-
sizeHintChanged
¶ sizeHintChanged(self, QModelIndex) [signal]
-
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¶
-
updateEditorGeometry
(self, QWidget, QStyleOptionViewItem, QModelIndex)¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
BlankableSpinBox
(parent, default=0)¶ Bases:
PyQt5.QtWidgets.QSpinBox
A spin box that allows the empty string as an acceptable value
-
__init__
(parent, default=0)¶ Initialize the spin box with a range from -99 to 99. -100 is used as the sentinel value for empty string.
Parameters: - parent (
PyQt5.QtWidgets.QWidget
) – The Qt parent - default (int) – The default value, i.e. what value should we starting counting from if the user clears the spin box and then increments.
- parent (
-
valueFromText
(text)¶ Convert the specified text to an integer. “” is converted to -100.
Parameters: text (str) – The text to convert Returns: The converted text Return type: PyQt5.QtCore.QInt
-
textFromValue
(value)¶ Convert the specified integer to text. -100 is converted to “”.
Parameters: value (int) – The integer to convert Returns: The converted integer Return type: str
-
stepBy
(steps)¶ Increment the value of the spin box by the specified amount. If the spin box contains “” before incrementing, load the default value.
Parameters: steps (int) – The value to increment the spin box by
-
validate
(input_text, pos)¶ Is the provided input acceptable? The blank string is considered acceptable.
See PyQt documentation for argument and return value documentation.
-
value
()¶ Return the current value in the spin box. If the spin box is blank, None is returned.
Returns: The current value in the spin box Return type: int or NoneType
-
stepEnabled
()¶ Report on whether stepping up and down is allowed. When the spin box is blank, the user can step both up and down. The user cannot step down to the minimum, since that is a sentinel value.
Returns: A flag indicating whether stepping is allowed Return type: int
-
AdaptiveDecimalStepType
= 1¶
-
class
ButtonSymbols
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e09ec8>¶
-
-
CorrectToNearestValue
= 1¶
-
CorrectToPreviousValue
= 0¶
-
class
CorrectionMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e0a278>¶
-
-
DefaultStepType
= 0¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
NoButtons
= 2¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x252cf48>¶
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
PlusMinus
= 1¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3954448>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
StepDownEnabled
= 2¶
-
class
StepEnabled
¶ Bases:
sip.simplewrapper
QAbstractSpinBox.StepEnabled(Union[QAbstractSpinBox.StepEnabled, QAbstractSpinBox.StepEnabledFlag]) QAbstractSpinBox.StepEnabled(QAbstractSpinBox.StepEnabled)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
StepEnabledFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e0ae58>¶
-
-
StepNone
= 0¶
-
class
StepType
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e0b208>¶
-
-
StepUpEnabled
= 1¶
-
UpDownArrows
= 0¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
alignment
(self) → Qt.Alignment¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
cleanText
(self) → str¶
-
clear
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
correctionMode
(self) → QAbstractSpinBox.CorrectionMode¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayIntegerBase
(self) → int¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editingFinished
¶ editingFinished(self) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
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]
-
fixup
(self, str) → str¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasAcceptableInput
(self) → bool¶
-
hasFocus
(self) → bool¶
-
hasFrame
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionSpinBox)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
interpretText
(self)¶
-
isAccelerated
(self) → bool¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isGroupSeparatorShown
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isReadOnly
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
keyboardTracking
(self) → bool¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineEdit
(self) → QLineEdit¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximum
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimum
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
prefix
(self) → str¶
-
previousInFocusChain
(self) → QWidget¶
-
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.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
selectAll
(self)¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAccelerated
(self, bool)¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setButtonSymbols
(self, QAbstractSpinBox.ButtonSymbols)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCorrectionMode
(self, QAbstractSpinBox.CorrectionMode)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setDisplayIntegerBase
(self, int)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setGroupSeparatorShown
(self, bool)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setKeyboardTracking
(self, bool)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineEdit
(self, QLineEdit)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximum
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimum
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setPrefix
(self, str)¶
-
setProperty
(self, str, Any) → bool¶
-
setRange
(self, int, int)¶
-
setReadOnly
(self, bool)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSingleStep
(self, int)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setSpecialValueText
(self, str)¶
-
setStatusTip
(self, str)¶
-
setStepType
(self, QAbstractSpinBox.StepType)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setSuffix
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValue
(self, int)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
setWrapping
(self, bool)¶
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
singleStep
(self) → int¶
-
size
(self) → QSize¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
specialValueText
(self) → str¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
stepDown
(self)¶
-
stepType
(self) → QAbstractSpinBox.StepType¶
-
stepUp
(self)¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
suffix
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
text
(self) → str¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
valueChanged
¶ valueChanged(self, int) [signal] valueChanged(self, str) [signal]
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
wrapping
(self) → bool¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
BasisSetDelegate
(parent)¶ Bases:
schrodinger.ui.qt.pop_up_widgets.PopUpDelegate
A delegate for selecting a basis set using a BasisSelectorLineEdit. Additionally, Ctrl+Enter will cause the current value to be committed to all selected rows.
-
__init__
(parent)¶ Parameters: - parent (
PyQt5.QtWidgets.QWidget
) – The Qt parent widget - pop_up_class (type) – The class of the pop up widget. Should be a
subclass of
PopUp
. - enable_accept_multi (bool) – Whether committing data to all selected
cells at once is enabled. If True,
commitDataToSelected
will be emitted when theLineEditWithPopUp
emitspopUpClosing
withACCEPT_MULTI
. If False,commitData
will be emitted instead.
- parent (
-
setEditorData
(self, QWidget, QModelIndex)¶
-
EditNextItem
= 1¶
-
EditPreviousItem
= 2¶
-
class
EndEditHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e04ce8>¶
-
-
NoHint
= 0¶
-
RevertModelCache
= 4¶
-
SubmitModelCache
= 3¶
-
blockSignals
(self, bool) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
closeEditor
¶ closeEditor(self, QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
-
commitData
¶ commitData(self, QWidget) [signal]
-
commitDataToSelected
¶
-
connectNotify
(self, QMetaMethod)¶
-
createEditor
(parent, option, index)¶ Create the editor and connect the
popUpClosing
signal. If a subclass needs to modify editor instantiation,_createEditor
should be reimplemented instead of this function to ensure that thepopUpClosing
signal is connected properly.See Qt documentation for an explanation of the arguments and return value.
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
destroyEditor
(self, QWidget, QModelIndex)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self, Any, QLocale) → str¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editorEvent
(self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) → bool¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(editor, event)¶ Ignore the editor losing focus, since focus may be switching to one of the pop up widgets. If the editor including the popup loses focus, popUpClosed will be called.
See Qt documentation for an explanation of the arguments and return value.
-
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]
-
helpEvent
(self, QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) → bool¶
-
inherits
(self, str) → bool¶
-
initStyleOption
(self, QStyleOptionViewItem, QModelIndex)¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemEditorFactory
(self) → QItemEditorFactory¶
-
killTimer
(self, int)¶
-
metaObject
(self) → QMetaObject¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
paint
(self, QPainter, QStyleOptionViewItem, QModelIndex)¶
-
parent
(self) → QObject¶
-
popUpClosed
(editor, accept)¶ Respond to the editor closing by either rejecting or accepting the data. If
enable_accept_multi
is True, the data may also be committed to all selected rows.Parameters: - editor (
LineEditWithPopUp
) – The editor that was just closed - accept (int) – The signal that was emitted by the editor when it closed
- editor (
-
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¶
-
setItemEditorFactory
(self, QItemEditorFactory)¶
-
setModelData
(self, QWidget, QAbstractItemModel, QModelIndex)¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
signalsBlocked
(self) → bool¶
-
sizeHint
(self, QStyleOptionViewItem, QModelIndex) → QSize¶
-
sizeHintChanged
¶ sizeHintChanged(self, QModelIndex) [signal]
-
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¶
-
updateEditorGeometry
(self, QWidget, QStyleOptionViewItem, QModelIndex)¶
-
-
class
schrodinger.application.jaguar.gui.input_tab_widgets.
UseFromCombo
(parent=None)¶ Bases:
schrodinger.ui.qt.swidgets.SComboBox
A combo box that allows the user to select the source for the project table: either included entries or selected entries.
-
__init__
(parent=None)¶ Create an SComboBox object.
Parameters: - parent (QWidget) – The parent widget of this SComboBox
- items (list) – list of items (str) to be added to the ComboBox - see also itemdict.
- default_item (str) – text of the item to select initially and upon reset
- default_index (int) – the index of the item to select initially and upon reset. default_item overrides this parameter.
- command (callable) – The slot to connect to the currentIndexChanged[str] signal. This command will be called when the default item is selected during initialization unless nocall=True.
- nocall (bool) – True if command should not be called during initialization, False otherwise
- layout (QLayout) – The layout to place this widget in
- tip (str) – The tooltip for the combo
- itemdict (
collections.OrderedDict
) – An OrderedDictionary with ComboBox items as keys and data as values. The data for the current ComboBox item is returned by the currentData method. If both items and itemdict are given, items are added first.
-
AdjustToContents
= 0¶
-
AdjustToContentsOnFirstShow
= 1¶
-
AdjustToMinimumContentsLength
= 2¶
-
AdjustToMinimumContentsLengthWithIcon
= 3¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
InsertAfterCurrent
= 4¶
-
InsertAlphabetically
= 6¶
-
InsertAtBottom
= 3¶
-
InsertAtCurrent
= 2¶
-
InsertAtTop
= 1¶
-
InsertBeforeCurrent
= 5¶
-
class
InsertPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e110a8>¶
-
-
NoInsert
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x252cf48>¶
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3954448>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e11458>¶
-
-
__len__
¶ Return len(self).
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, int) [signal] activated(self, str) [signal]
-
addAction
(text, callback)¶ Add an “action” menu item. When selected by the user, it will invoke the callback and re-select the previously selected item.
-
addActions
(self, Iterable[QAction])¶
-
addItem
(*args, **kwargs)¶ Add given items and emit signals as needed.
-
addItems
(*args, **kwargs)¶ Add given items and emit signals as needed.
-
addItemsFromDict
(items)¶ Add items to the combo box from a dictionary of {text: user_data}. Note that setting the order of elements requires a
collections.OrderedDict
Parameters: items (dict) – A dictionary of {text: user_data} to add to the combo box
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clear
(self)¶
-
clearEditText
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
count
(self) → int¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentData
(role=256)¶ Get the user data for the currently selected item
Parameters: role (int) – The role to retrieve data for Returns: The user data
-
currentIndex
(self) → int¶
-
currentIndexChanged
¶
-
currentString
()¶ Obsolete. Use QComboBox.currentText() instead.
Return type: str Returns: The currentText() value of the ComboBox converted to a string
-
currentText
(self) → str¶
-
currentTextChanged
¶ currentTextChanged(self, str) [signal]
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
duplicatesEnabled
(self) → bool¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editTextChanged
¶ editTextChanged(self, str) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
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]
-
findData
(self, Any, role: int = Qt.UserRole, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
findDataPy
(data, role=256)¶ Get the index of the item containing the specified data. Comparisons are done in Python rather than in C++ (as they are in
findData
), so Python types without a direct C++ mapping can be compared correctly.Parameters: - data (object) – The data to search for
- role (int) – The role to search
Raises: ValueError – If the specified data cannot be found
-
findText
(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasFrame
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
hidePopup
(self)¶
-
highlighted
¶ highlighted(self, int) [signal] highlighted(self, str) [signal]
-
iconSize
(self) → QSize¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionComboBox)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
insertItem
(self, int, str, userData: Any = None)¶ insertItem(self, int, QIcon, str, userData: Any = None)
-
insertItems
(self, int, Iterable[str])¶
-
insertPolicy
(self) → QComboBox.InsertPolicy¶
-
insertSeparator
(self, int)¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, int, role: int = Qt.UserRole) → Any¶
-
itemDelegate
(self) → QAbstractItemDelegate¶
-
itemIcon
(self, int) → QIcon¶
-
itemText
(self, int) → str¶
-
items
()¶ Return the current list of items in the combo box.
Return type: list Returns: the current list of items
-
keyPressEvent
(event)¶ Ignore Up/Down key press events if any action items are present. In the future, consider re-implementing these handlers; it’s a non- trivial task. See http://code.metager.de/source/xref/lib/qt/src/gui/widgets/qcombobox.cpp#2931
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineEdit
(self) → QLineEdit¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maxCount
(self) → int¶
-
maxVisibleItems
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumContentsLength
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
model
(self) → QAbstractItemModel¶
-
modelColumn
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
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.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
removeItem
(self, int)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
()¶ Reset the current ComboBox item to the default item.
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootModelIndex
(self) → QModelIndex¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCurrentData
(data, role=256)¶ Select the index with the specified user data
Parameters: - text – The user data to select
- role (int) – The role to search
Raises: ValueError – If the specified data is not found in the combo box
-
setCurrentIndex
(self, int)¶
-
setCurrentText
(text)¶ Set the combobox to the item with the supplied text
Parameters: text (str) – The text of the item to make the current item Raise: ValueError if no item with text exists
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setDuplicatesEnabled
(self, bool)¶
-
setEditText
(self, str)¶
-
setEditable
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setIconSize
(self, QSize)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setInsertPolicy
(self, QComboBox.InsertPolicy)¶
-
setItemData
(self, int, Any, role: int = Qt.UserRole)¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemIcon
(self, int, QIcon)¶
-
setItemText
(self, int, str)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineEdit
(self, QLineEdit)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxCount
(self, int)¶
-
setMaxVisibleItems
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumContentsLength
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setModelColumn
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootModelIndex
(self, QModelIndex)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeAdjustPolicy
(self, QComboBox.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setView
(self, QAbstractItemView)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
showPopup
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeAdjustPolicy
(self) → QComboBox.SizeAdjustPolicy¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updateText
(proj)¶ Update the combo box text to reflect the current number of included and selected entries. This method must be called every time there’s a project change.
Parameters: proj ( schrodinger.project.Project
) – The Maestro project
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
view
(self) → QAbstractItemView¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-