Package schrodinger :: Package application :: Package msv :: Package gui :: Module popup_dialogs :: Class ColorSchemeComboBox
[hide private]
[frames] | no frames]

Class ColorSchemeComboBox

       object --+                            
                |                            
sip.simplewrapper --+                        
                    |                        
          sip.wrapper --+                    
                        |                    
     PyQt5.QtCore.QObject --+                
                            |                
           object --+       |                
                    |       |                
    sip.simplewrapper --+   |                
                        |   |                
 PyQt5.QtGui.QPaintDevice --+                
                            |                
      PyQt5.QtWidgets.QWidget --+            
                                |            
        PyQt5.QtWidgets.QComboBox --+        
                                    |        
             ui.qt.swidgets.SComboBox --+    
                                        |    
                              MsvComboBox --+
                                            |
                                           ColorSchemeComboBox

Class specifically for setting color.RowColorScheme info via a combo box.

Nested Classes [hide private]

Inherited from PyQt5.QtWidgets.QComboBox: InsertPolicy, SizeAdjustPolicy

Inherited from PyQt5.QtWidgets.QWidget: RenderFlag, RenderFlags

Inherited from PyQt5.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods [hide private]
color.RowColorScheme
getValue(self)
Get a color.RowColorScheme for the currently selected item in the combobox.
 
setValue(self, value)
Sets the current text in the combo box based on the specified color scheme value.

Inherited from MsvComboBox: __init__

Inherited from ui.qt.swidgets.SComboBox: addAction, addItemsFromDict, currentData, currentIndexChanged, currentString, findDataPy, keyPressEvent, reset, setCurrentData, setCurrentIndex, setCurrentText

Inherited from ui.qt.swidgets.SComboBox (private): _actionTriggered, _actionsPresent

Inherited from PyQt5.QtWidgets.QComboBox: __len__, activated, addItem, addItems, changeEvent, clear, clearEditText, completer, contextMenuEvent, count, currentIndex, currentText, currentTextChanged, duplicatesEnabled, editTextChanged, event, findData, findText, focusInEvent, focusOutEvent, hasFrame, hideEvent, hidePopup, highlighted, iconSize, initStyleOption, inputMethodEvent, inputMethodQuery, insertItem, insertItems, insertPolicy, insertSeparator, isEditable, itemData, itemDelegate, itemIcon, itemText, keyReleaseEvent, lineEdit, maxCount, maxVisibleItems, minimumContentsLength, minimumSizeHint, model, modelColumn, mousePressEvent, mouseReleaseEvent, paintEvent, removeItem, resizeEvent, rootModelIndex, setCompleter, setDuplicatesEnabled, setEditText, setEditable, setFrame, setIconSize, setInsertPolicy, setItemData, setItemDelegate, setItemIcon, setItemText, setLineEdit, setMaxCount, setMaxVisibleItems, setMinimumContentsLength, setModel, setModelColumn, setRootModelIndex, setSizeAdjustPolicy, setValidator, setView, showEvent, showPopup, sizeAdjustPolicy, sizeHint, validator, view, wheelEvent

Inherited from PyQt5.QtWidgets.QWidget: acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addActions, adjustSize, autoFillBackground, backgroundRole, baseSize, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, contentsMargins, contentsRect, contextMenuPolicy, create, createWindowContainer, cursor, customContextMenuRequested, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, find, focusNextChild, focusNextPrevChild, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, height, heightForWidth, hide, initPainter, inputMethodHints, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, move, moveEvent, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, palette, parentWidget, pos, previousInFocusChain, raise_, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, repaint, resize, restoreGeometry, saveGeometry, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGraphicsEffect, setHidden, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setShortcutAutoRepeat, setShortcutEnabled, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, sharedPainter, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, toolTip, toolTipDuration, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, width, winId, window, windowFilePath, windowFlags, windowHandle, windowIcon, windowIconChanged, windowIconText, windowIconTextChanged, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowTitleChanged, windowType, x, y

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from PyQt5.QtGui.QPaintDevice: colorCount, depth, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, heightMM, logicalDpiX, logicalDpiY, paintingActive, physicalDpiX, physicalDpiY, widthMM

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from PyQt5.QtWidgets.QComboBox: AdjustToContents, AdjustToContentsOnFirstShow, AdjustToMinimumContentsLength, AdjustToMinimumContentsLengthWithIcon, InsertAfterCurrent, InsertAlphabetically, InsertAtBottom, InsertAtCurrent, InsertAtTop, InsertBeforeCurrent, NoInsert

Inherited from PyQt5.QtWidgets.QWidget: DrawChildren, DrawWindowBackground, IgnoreMask

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Inherited from PyQt5.QtGui.QPaintDevice: PdmDepth, PdmDevicePixelRatio, PdmDevicePixelRatioScaled, PdmDpiX, PdmDpiY, PdmHeight, PdmHeightMM, PdmNumColors, PdmPhysicalDpiX, PdmPhysicalDpiY, PdmWidth, PdmWidthMM

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getValue(self)

 

Get a color.RowColorScheme for the currently selected item in the combobox.

Returns: color.RowColorScheme
Color scheme for the current item

setValue(self, value)

 

Sets the current text in the combo box based on the specified color scheme value. Raises a ValueError if the item is not in the list of combo box items.

Parameters:
Raises:
  • ValueError - If the color scheme is not found.
Overrides: MsvComboBox.setValue