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

Class ColorPopUp

       object --+                            
                |                            
sip.simplewrapper --+                        
                    |                        
          sip.wrapper --+                    
                        |                    
     PyQt5.QtCore.QObject --+                
                            |                
           object --+       |                
                    |       |                
    sip.simplewrapper --+   |                
                        |   |                
 PyQt5.QtGui.QPaintDevice --+                
                            |                
      PyQt5.QtWidgets.QWidget --+            
                                |            
           PyQt5.QtWidgets.QFrame --+        
                                    |        
           ui.qt.pop_up_widgets.PopUp --+    
                                        |    
                             BaseMsvPopup --+
                                            |
                                           ColorPopUp

A popup dialog to provide options for color settings.

Nested Classes [hide private]

Inherited from PyQt5.QtWidgets.QFrame: Shadow, Shape, StyleMask

Inherited from PyQt5.QtWidgets.QWidget: RenderFlag, RenderFlags

Inherited from PyQt5.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods [hide private]
 
_setupWidgets(self)
Set up the widgets for this dialog.
 
_buildAttrWidgetMap(self)
Set up a dictionary mapping instance attributes to asssociated ui elements.
 
_setupSignalsAndSlots(self)
Connects signals from components to top level signals.
 
_onColorSeqChanged(self)
Update components and emit appropriate top level signal when "Color Sequences" is toggled.
 
_onColorBySeqAlignmentChanged(self)
Update components and emit the appropriate top level signal when "Color by Sequuence Alignment" is toggled.

Inherited from BaseMsvPopup: __init__, createCircleCheckBox, createGridLayout, createHorizontalLayout, setup, syncWidgetOptions

Inherited from BaseMsvPopup (private): _setLayoutMargins, _setOption

Inherited from ui.qt.pop_up_widgets.PopUp: estimateMaxHeight, estimateMaxWidth, installPopUpEventFilter, lineEditUpdated, show, subWidgetHasFocus

Inherited from PyQt5.QtWidgets.QFrame: changeEvent, drawFrame, event, frameRect, frameShadow, frameShape, frameStyle, frameWidth, initStyleOption, lineWidth, midLineWidth, paintEvent, setFrameRect, setFrameShadow, setFrameShape, setFrameStyle, setLineWidth, setMidLineWidth, sizeHint

Inherited from PyQt5.QtWidgets.QWidget: acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, baseSize, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, contentsMargins, contentsRect, contextMenuEvent, contextMenuPolicy, create, createWindowContainer, cursor, customContextMenuRequested, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, find, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, 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, hideEvent, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isVisible, isVisibleTo, isWindow, isWindowModified, keyPressEvent, keyReleaseEvent, keyboardGrabber, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, move, moveEvent, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, palette, parentWidget, pos, previousInFocusChain, raise_, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, repaint, resize, resizeEvent, 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, showEvent, 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, wheelEvent, 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]
QtCore.pyqtSignal colorSeqChanged

Inherited from PyQt5.QtWidgets.QFrame: Box, HLine, NoFrame, Panel, Plain, Raised, Shadow_Mask, Shape_Mask, StyledPanel, Sunken, VLine, WinPanel

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

Instance Variables [hide private]
 
removeSeqColors(...)
Signal emitted when "Color Sequences" is unchecked.
 
setSeqColors(...)
Signal emitted when "Color Sequences" is checked or the currently selected color scheme is changed.
 
setCustomSeqColor(...)
Signal emitted when "Custom" is selected from the "Color Sequences" dropdown.
 
setColorByAln(...)
Signal emitted when "Color by Sequence Alignment" is clicked or the alignment coloring option is changed.
 
weightByQualityChanged(...)
Emitted when "Weight by Alignment Quality" is clicked.
 
averageAlnColors(...)
Signal emitted when "Average Colors in Columns" is clicked.
 
colorSelResidues(...)
Signal emitted when one of the "COLOR SELECTED RESIDUES" color buttons is clicked.
 
applyToWS(...)
Signal emitted when the "ApplyColors to Workspace" button is clicked.

Inherited from ui.qt.pop_up_widgets.PopUp: dataChanged, popUpResized

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_setupWidgets(self)

 

Set up the widgets for this dialog.

Overrides: BaseMsvPopup._setupWidgets

_buildAttrWidgetMap(self)

 

Set up a dictionary mapping instance attributes to asssociated ui elements.

Overrides: BaseMsvPopup._buildAttrWidgetMap

_setupSignalsAndSlots(self)

 

Connects signals from components to top level signals.

Overrides: BaseMsvPopup._setupSignalsAndSlots

Instance Variable Details [hide private]

setSeqColors(...)

 
Signal emitted when "Color Sequences" is checked or the currently selected color scheme is changed. Emits a color.RowColorScheme of the currently selected option.

setColorByAln(...)

 
Signal emitted when "Color by Sequence Alignment" is clicked or the alignment coloring option is changed. Emits one of viewconstants.ColorAlnBy.Matching, viewconstants.ColorAlnBy.Different or viewconstants.ColorAlnBy.None

weightByQualityChanged(...)

 
Emitted when "Weight by Alignment Quality" is clicked. Emits True if checked, False otherwise.

averageAlnColors(...)

 
Signal emitted when "Average Colors in Columns" is clicked. Emits True when checked, False otherwise.

colorSelResidues(...)

 
Signal emitted when one of the "COLOR SELECTED RESIDUES" color buttons is clicked. Emits the Qtgui.QColor to color the residues.