Package client :: Package Dock :: Module Holders :: Class GenericChildHolder
[hide private]
[frames] | no frames]

Class GenericChildHolder

source code


Overview

This class of objects is a simple addition to GenericInputHolders such that it will also contain a reference to a parent. This is so that a group holder may contain children holders and the children holders are aware that they have a parent.

Nested Classes [hide private]

Inherited from PyQt4.QtGui.QLineEdit: EchoMode

Inherited from PyQt4.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods [hide private]
 
__init__(self, bridge, parent, parentLayout, name, basinTypes, pythonTypes)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from PyQt4.QtGui.QLineEdit: actionEvent, alignment, backspace, changeEvent, childEvent, closeEvent, completer, connectNotify, contextMenuEvent, copy, create, createStandardContextMenu, cursorBackward, cursorForward, cursorPosition, cursorPositionAt, cursorWordBackward, cursorWordForward, customEvent, cut, del_, deselect, destroy, disconnectNotify, displayText, dragEnabled, dragLeaveEvent, dragMoveEvent, echoMode, enabledChange, end, enterEvent, event, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPreviousChild, fontChange, hasAcceptableInput, hasFrame, hasSelectedText, hideEvent, home, inputMask, inputMethodEvent, inputMethodQuery, insert, isModified, isReadOnly, isRedoAvailable, isUndoAvailable, keyPressEvent, keyReleaseEvent, languageChange, leaveEvent, maxLength, metric, minimumSizeHint, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, moveEvent, paintEvent, paletteChange, paste, receivers, redo, resetInputContext, resizeEvent, selectAll, selectedText, selectionStart, sender, setAlignment, setCompleter, setCursorPosition, setDragEnabled, setEchoMode, setFrame, setInputMask, setMaxLength, setModified, setReadOnly, setSelection, setText, setValidator, showEvent, sizeHint, tabletEvent, text, timerEvent, undo, updateMicroFocus, validator, wheelEvent, windowActivationChange

Inherited from PyQt4.QtGui.QWidget: acceptDrops, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, baseSize, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, contentsRect, contextMenuPolicy, cursor, devType, ensurePolished, find, focusPolicy, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grabKeyboard, grabMouse, grabShortcut, handle, hasFocus, hasMouseTracking, height, heightForWidth, hide, inputContext, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isEnabledToTLW, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseGrabber, move, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, palette, parentWidget, pos, raise_, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, repaint, resize, restoreGeometry, saveGeometry, scroll, 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, showFullScreen, showMaximized, showMinimized, showNormal, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, testAttribute, toolTip, topLevelWidget, underMouse, unsetCursor, unsetLayoutDirection, update, updateGeometry, updatesEnabled, visibleRegion, whatsThis, width, winId, window, 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 GenericInputHolder
 
SetItem(self, item, clobber=True) source code
 
clear(self) source code
 
dragEnterEvent(self, ev) source code
 
dropEvent(self, ev) source code
 
size(self) source code
 
type(self) source code
Class Variables [hide private]

Inherited from PyQt4.QtGui.QLineEdit: NoEcho, Normal, Password, PasswordEchoOnEdit

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, bridge, parent, parentLayout, name, basinTypes, pythonTypes)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • bridge (Bridge) - The interlinking bridge class.
  • parent (GenericGroupHolder) - This is the group holder which will own this holder.
  • parentLayout (PyQt4.QtGui.QLayout) - The layout of the parent for which this holder will be inserted into.
  • name (string) - This will be the name of the holder, signified by a PyQt4.QtGui.QLabel.
  • basinTypes (list <string>) - This strings in this list are the allowable Basin types that this holder will be able to take as input. They are one of these:
    • "REGION"
    • "GRID"
    • "LIST"
    • "ATTRIBUTE"
  • pythonTypes (list <string>) - The strings in this list are the allowable python types that this holder will be able to take as input. Calling the global python function type (object) on an object will show you the string for the object's type. (Generally module_name.class_name)
Overrides: object.__init__