Package client :: Package Dock :: Module GeneralFunctions :: Class AttributeRandom
[hide private]
[frames] | no frames]

Class AttributeRandom

source code


Nested Classes [hide private]

Inherited from PyQt4.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods [hide private]
 
__init__(self, parent, bridge)
This constructor for a DockWidget will create a consistent look and feel for the entire DockWidget.
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
 
clear(self) source code
 
Execute(self) source code
 
DoubleClicked(self, attr=None) 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 AbstractFunction
 
_addCommands(self)
The purpose of this method is to create a consistent look and feel for a DockWidget's command buttons.
source code
    Inherited from Widget.DockWidget
 
_addDescription(self)
This method provides the DockWidget with a consistent look for the function description
source code
 
_addHeader(self)
This method provides the DockWidget a consistent look for a header.
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
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, parent, 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)

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

clear(self)

source code 
Overrides: AbstractFunction.clear

Execute(self)

source code 
Overrides: AbstractFunction.Execute

DoubleClicked(self, attr=None)

source code 
Overrides: AbstractFunction.DoubleClicked