Package schrodinger :: Package application :: Package bioluminate :: Package ssv :: Module viewer :: Class SequenceDockWidget
[hide private]
[frames] | no frames]

Class SequenceDockWidget

PyQt4.QtGui.QDockWidget --+
                          |
                         SequenceDockWidget

The dock widget that can set a ViewerWindow as the main widget. This makes the ViewerWindow dockable.

Instance Methods [hide private]
 
__init__(self)
 
floatChange(self, floating=False)
Slot for callback that is fired when the dock's floating status changes.
 
setFloatable(self)
Configure the dock widget to only be able to pop out, not be draggable.
 
setFloatableMovable(self)
Configure the dock widget to be draggable and be able to pop out.
 
setFloatableMovableClosable(self)
Configure the dock widget to be draggable, be able to pop out and be closable.
 
closeEvent(self, event)
Override the close event so that when the widget is floating clicking the close button will just dock it.
Class Variables [hide private]
  WINDOW_TITLE = 'Sequence Viewer'
  FLOATABLE = QtGui.QDockWidget.DockWidgetFloatable
  MOVABLE = QtGui.QDockWidget.DockWidgetMovable
  CLOSABLE = QtGui.QDockWidget.DockWidgetClosable
Method Details [hide private]

floatChange(self, floating=False)

 

Slot for callback that is fired when the dock's floating status changes. Currently this only set the dock's window title is it is floating.

closeEvent(self, event)

 

Override the close event so that when the widget is floating clicking the close button will just dock it. This is a workaround since MacOSX does not have the float button when the panel is floating.