schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.basis_set_widgets module

class schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.basis_set_widgets.BasisSetColumns

Bases: object

HEADERS = ['Atom', 'ID', 'Entry Title', 'Basis Set']
NUM_COLS = 4
ATOM = 0
ID = 1
TITLE = 2
BASIS = 3
__init__

Initialize self. See help(type(self)) for accurate signature.

class schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.basis_set_widgets.PerAtomBasisRow(entry_id, title, atom_name, atom_num, basis=None)

Bases: schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.base_widgets.SubTabRow

Data about a per-atom basis set setting

__init__(entry_id, title, atom_name, atom_num, basis=None)

Initialize self. See help(type(self)) for accurate signature.

copy()

Create a new row object that is a copy of this row

Return type:PerAtomBasisRow
Returns:The row item that is a copy of this row
hasValidBasis()

Does this row have a valid basis set?

Returns:True if the specified row has a valid basis. False if the basis is invalid or blank.
Return type:bool
getAtomNums()

Get a list of all atom numbers associated with this row (i.e. all atom to be marked by workspace markers). The default implementation checks for an atom_num or atom_nums attribute. Subclasses must redefine this function if neither of these attributes exist.

Returns:A list of atom numbers (relative to the entry, not the workspace structure)
Return type:list
getAtoms()

Get a list of all atoms associated with this row (i.e. all atom to be marked by workspace markers).

Returns:A list of schrodinger.structure._StructureAtom objects
Return type:list
getStructure()

Get the structure this row refers to

Returns:The structure
Return type:schrodinger.structure.Structure
class schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.basis_set_widgets.BasisSetTableView(parent=None)

Bases: schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.base_widgets.SubTabTableView

COLUMN

alias of BasisSetColumns

__init__(parent=None)

Initialize self. See help(type(self)) for accurate signature.

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 0x2cb05f8>
DoubleClicked = 2
DragDrop = 3
class DragDropMode

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x2cb09a8>
DragOnly = 1
DragSelectingState = 2
DraggingState = 1
DrawChildren = 2
DrawWindowBackground = 1
class DropIndicatorPosition

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x257f018>
DropOnly = 2
EditKeyPressed = 8
class EditTrigger

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x257f3c8>
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
MARGIN = 20
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 0x31da808>
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 0x1ddc378>
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.

SAMPLE_DATA = {}
class ScrollHint

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x25801f8>
class ScrollMode

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x25805a8>
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 0x2580958>
class SelectionMode

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x2580d08>
class Shadow

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x1439a88>
Shadow_Mask = 240
class Shape

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x1439e38>
Shape_Mask = 15
SingleSelection = 1
class SizeAdjustPolicy

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x2581468>
class State

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x25810b8>
class StyleMask

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x143a1e8>
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
connectNotify(self, QMetaMethod)
contentsMargins(self) → QMargins
contentsRect(self) → QRect
contextMenuEvent(self, QContextMenuEvent)
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(event)

Create the popup menu when the user right clicks

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)
removeSelectedRows()

Remove the currently selected rows from the table

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(new_sel, old_sel)

When the table selection changes, emit the appropriate signals to update marker highlighting.

Parameters:
  • new_sel (PyQt5.QtCore.QItemSelection) – The new table selection
  • old_sel (PyQt5.QtCore.QItemSelection) – The previous table selection
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

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)
setMarkerHighlighting
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)
setModel(model)

After setting the model, resize the columns using the sample data and the header data provided by the model

See Qt documentation for an explanation of arguments

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)
setTabKeyNavigation(self, bool)
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)
sharedPainter(self) → QPainter
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(col_num)

Provide a size hint for the specified column using the sample data. Note that this method does not take header width into account as the header width is already accounted for in resizeColumnToContents.

See Qt documentation for an explanation of arguments and return value

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
tabKeyNavigation(self) → bool
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.tabs.sub_tab_widgets.basis_set_widgets.BasisSetModel(parent=None)

Bases: schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.base_widgets.SubTabModel

COLUMN

alias of BasisSetColumns

UNEDITABLE = (0, 1, 2)
ROW_CLASS

alias of PerAtomBasisRow

MARKER_SETTINGS = {'alt_color': 'yellow', 'color': 'orange'}
basisChanged
removeRows(self, int, int, parent: QModelIndex = QModelIndex()) → bool
perAtomBasisForEid(eid, name=False)

Return the per-atom basis sets for the specified entry ID

Parameters:
  • eid (str) – The entry id
  • name (bool) – If True, the return dictionary keys will be atom names. If False, the keys will be atom numbers.
Returns:

A dictionary of {atom number: basis set} or {atom name: basis set}

Return type:

dict

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.

ERROR_BACKGROUND_BRUSH = <PyQt5.QtGui.QBrush object>
HorizontalSortHint = 2
class LayoutChangeHint

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x12235e8>
NoLayoutChangeHint = 0
VerticalSortHint = 1
__init__(parent=None)

Initialize self. See help(type(self)) for accurate signature.

addJaguarMarker
addJaguarMarkerForRow(row)

Add a workspace marker for the given row. Subclasses must override this class if they require more than one workspace marker per row. Note that any given set of atom(s) may only have one marker per sub-tab. The sub-tab is responsible for ensuring that a marker is not added to a set of atom(s) that already has a marker.

Parameters:row (SubTabRow) – The row to add the marker for
addRow(*args, **kwargs)

Add a row to the table. All arguments are passed to ROW_CLASS initialization.

Returns:The row number of the new row
Return type:int
appendFromModel(model)

Append the rows of model to this model

Parameters:model (subclass of SubTabModel) – The model to copy data from, should be the same subclass as this object
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]
clearDataForEid(eid)

Clear all data related to the specified entry ID

Parameters:eid (str) – The entry id
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]
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]

flags(index)

Flag columns in UNEDITABLE as uneditable.

See Qt documentation for an explanation of arguments and return value

hasChildren()
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)
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)
removeJaguarMarker
removeJaguarMarkerForRow(row)

Remove the workspace marker for the given row. Subclasses must override this class if they create more than one workspace marker per row.

Parameters:row (SubTabRow) – The row to remove the marker for
removeRow(self, int, parent: QModelIndex = QModelIndex()) → bool
reset()
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]

rowsForEid(eid)

Get all rows that refer to the specified entry ID

Parameters:eid (str) – The entry id
Returns:A list of ROW_CLASS objects
Return type:list
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(index, value, role=2)

Set data for the specified index and role. Whenever possible, sub- classes should redefine _setData rather than this method.

See Qt documentation for an explanation of arguments and return value.

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
updateEntryTitles(eids_to_titles)

Update the entry titles in case they have changed in the project table

Parameters:eids_to_titles (dict) – A dictionary of {entry id: title}
class schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.basis_set_widgets.BasisSetProxyModel(parent=None)

Bases: schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.base_widgets.SubTabProxyModel

checkBasisSets()

Check to see if all rows have valid basis sets

Returns:An OrderedDict of {entry title: list of atom names with invalid basis sets}. The OrderedDict and atom lists are in the same order as the table itself. If all rows have valid basis sets, then an empty OrderedDict is returned.
Return type:OrderedDict
COLUMN = None
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 0x12235e8>
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(source_row, source_parent=None)

Accept a row only if the entry id is in self._displayed_eids or if the entry id is blank

See Qt documentation for an explanation of the arguments and return value

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)
isAcceptableEid(eid)

Is the specified entry ID currently included in the Input tab table? i.e., Would this entry ID be acceptable to display in the sub-tab table?

Parameters:eid (str) – The entry id
Returns:True if the entry ID is acceptable. False otherwise.
Return type:bool
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)

Compare two indices for sorting. Assume that the ATOM column contains atom names. Assume that the ATOMS column contains either

  • a string of atom names separated by commas and white space
  • a list or tuple of atom names

Atom names are then sorted numerically. All other columns are sorted using Python’s less than operator (which allows tuples to be sorted as expected).

See Qt documentation for an explanation of arguments and return value

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
setDisplayedEids(eids)

Set the entry ids to display in the table. This should correspond to the entry ids currently selected in the project table.

Parameters:eids (list) – The entry ids to display
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)
setSourceModel(model)

When setting the source model, adopt its COLUMN constants if we don’t have one defined.

See Qt documentation for explanation of arguments.

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
class schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.basis_set_widgets.AtomBasisSetDelegate(parent)

Bases: schrodinger.ui.qt.pop_up_widgets.PopUpDelegate, schrodinger.ui.qt.delegates.DefaultMessageDelegate

A delegate for selecting per-atom basis sets

__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 the LineEditWithPopUp emits popUpClosing with ACCEPT_MULTI. If False, commitData will be emitted instead.
EditNextItem = 1
EditPreviousItem = 2
class EndEditHint

Bases: int

__init__ = <method-wrapper '__init__' of sip.enumtype object at 0x2caf6d8>
FONT = <PyQt5.QtGui.QFont object>
FOREGROUND = <PyQt5.QtGui.QBrush object>
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 the popUpClosing 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(painter, option, index)

If the DisplayRole data for index is empty, paint the default message instead.

See Qt documentation for an explanation of arguments.

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
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)