Package client :: Package Dock :: Module Plotting :: Class VisItPlot
[hide private]
[frames] | no frames]

Class VisItPlot

source code


Nested Classes [hide private]

Inherited from PyQt4.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods [hide private]
 
__init__(self, layout, bridge)
This constructor for a DockWidget will create a consistent look and feel for the entire DockWidget.
source code
 
Update(self, discrete, discreteWindows, continuous, continuousWindows) source code
 
_addHeader(self)
This method provides the DockWidget a consistent look for a header.
source code
 
_addCommands(self)
The purpose of this method is to create a consistent look and feel for a DockWidget's command buttons.
source code
 
_addDataSelection(self)
The purpose of the method is to create a place for any DockWidget to place the guts of the function.
source code
 
_addModes(self)
The purpose of this method is to create a consistent look and feel for DockWidgets who need modes.
source code
 
_addOptions(self)
The purpose of this method is to create a consistent look and feel for options contained in DockWidgets.
source code
 
guessDefaults(self) source code
 
LaunchVisIt(self) source code
 
StartVisItThread(self) source code
 
DeleteVisItThread(self) source code
 
ManagePlots(self) source code
 
StartVisIt(self) source code
 
CheckContext(self) source code
 
Expose(self) source code
 
clearMode(self) source code
 
setContinuousMode(self) source code
 
setDiscreteMode(self) source code
 
createContinuousMode(self) source code
 
createDiscreteMode(self) source code
 
clear(self) source code
 
DoubleClicked(self, attr=None) source code
 
setPlotName(self, name) source code

Inherited from PyQt4.QtGui.QWidget: acceptDrops, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, baseSize, changeEvent, childAt, childEvent, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, connectNotify, contentsRect, contextMenuEvent, contextMenuPolicy, create, cursor, customEvent, destroy, devType, disconnectNotify, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, enabledChange, ensurePolished, enterEvent, event, find, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontChange, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grabKeyboard, grabMouse, grabShortcut, handle, hasFocus, hasMouseTracking, height, heightForWidth, hide, hideEvent, inputContext, inputMethodEvent, inputMethodQuery, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isEnabledToTLW, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyPressEvent, keyReleaseEvent, keyboardGrabber, languageChange, layout, layoutDirection, leaveEvent, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, move, moveEvent, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, paintEvent, palette, paletteChange, parentWidget, pos, raise_, receivers, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, repaint, resetInputContext, resize, resizeEvent, restoreGeometry, saveGeometry, scroll, sender, setAcceptDrops, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setHidden, setInputContext, setLayout, setLayoutDirection, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setShortcutAutoRepeat, setShortcutEnabled, setShown, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabOrder, setToolTip, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, show, showEvent, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeHint, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, timerEvent, toolTip, topLevelWidget, underMouse, unsetCursor, unsetLayoutDirection, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, wheelEvent, width, winId, window, windowActivationChange, windowFlags, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowType, x, x11Info, x11PictureHandle, y

Inherited from PyQt4.QtCore.QObject: blockSignals, children, connect, deleteLater, disconnect, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, removeEventFilter, setObjectName, setProperty, signalsBlocked, startTimer, thread, tr, trUtf8

Inherited from PyQt4.QtGui.QPaintDevice: depth, heightMM, logicalDpiX, logicalDpiY, numColors, paintingActive, physicalDpiX, physicalDpiY, widthMM

Inherited from sip.wrapper: __delattr__, __getattribute__, __new__, __setattr__

Inherited from object: __hash__, __reduce__, __reduce_ex__, __repr__, __str__

    Inherited from Widget.DockWidget
 
_addDescription(self)
This method provides the DockWidget with a consistent look for the function description
source code
Class Variables [hide private]

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, layout, bridge)
(Constructor)

source code 

This constructor for a DockWidget will create a consistent look and feel for the entire DockWidget.

The constructor will create the following sections of a DockWidget based on

  1. Pre-existing Private Variables
  2. Reimplementation of _add* methods

These are the sections of a DockWidget. Please note that they are all optional, and if you don't want them to appear, overload the corresponding _add* methods to return None.

  • Header
  • Description
  • Commands
  • Modes
  • Options
  • Data Selection
Overrides: object.__init__
(inherited documentation)

_addHeader(self)

source code 

This method provides the DockWidget a consistent look for a header.

Overview

This method will provide the consistent header of a DockWidget. If any of the three required variables do not appear, the constructor will ignore making the header.

Pre-existing Private Variables

  • self._displayIcon = QIcon (icon of the function)
  • self._displayName = string (name of the function)
  • self._type = string (name of the package)
Returns:
This function may return 1 of 2 things:
  1. QLayout
  2. None
Overrides: Widget.DockWidget._addHeader
(inherited documentation)

_addCommands(self)

source code 

The purpose of this method is to create a consistent look and feel for a DockWidget's command buttons.

Overview

This method has no default implementation since the commands vary between DockWidgets. While you are able to put anything into this reimplementation, it is recommended that it remains consistent with the rest of the Basin Client. Generally speaking, commands are buttons that will execute the function belonging to the DockWidget. Please note that this simply sets up the buttons and their actions, it does not perform the action of the commands.

Returns:
This function may return 1 of 2 things:
  1. QWidget
  2. None
Overrides: Widget.DockWidget._addCommands
(inherited documentation)

_addDataSelection(self)

source code 

The purpose of the method is to create a place for any DockWidget to place the guts of the function.

Overview

This method has no default implementation since it would be unique for any DockWidget. There is no real default layout for any function's data selection. Bearing that in mind, this is the place where the actual data that the function intends to utilize should go. Utilize the Holders submodule for this.

Returns:
This function may return 1 of 2 things:
  1. QWidget
  2. None
Overrides: Widget.DockWidget._addDataSelection
(inherited documentation)

_addModes(self)

source code 

The purpose of this method is to create a consistent look and feel for DockWidgets who need modes.

Overview

This method has no default implementation since not all DockWidgets will require a mode. While you are able to put anything into the reimplementation of this method, it is recommended that they remain consistent with the rest of the Basin Client. Generally speaking, modes are drawn up as a horizontal layout of QRadioButtons. Again, while not required, the point of the modes is to swap out the Data Selection for a different mode.

Returns:
This function may return 1 of 2 things:
  1. QWidget
  2. None
Overrides: Widget.DockWidget._addModes
(inherited documentation)

_addOptions(self)

source code 

The purpose of this method is to create a consistent look and feel for options contained in DockWidgets.

Overview

This method has no default implementation since not all DockWidgets will require options. While you are able to put anything into the reimplementation of this method, it is recommended that tehy remain consistent wit hthe rest of the Basin Client. Generally speaking, options are drawn up as a vertical layout of QCheckBoxes. Options are considered to be minor changes to the overall purpose of the function.

Returns:
This function may return 1 of 2 things:
  1. QWidget
  2. None
Overrides: Widget.DockWidget._addOptions
(inherited documentation)