Package client :: Module Connection :: Class ConnectionDialog
[hide private]
[frames] | no frames]

Class ConnectionDialog

source code


Nested Classes [hide private]

Inherited from PyQt4.QtGui.QDialog: DialogCode

Inherited from PyQt4.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods [hide private]
 
__init__(self, bridge)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
profileChanged(self, string) source code
 
createProfile(self, profile) source code
 
newProfile(self) source code
 
saveProfile(self)
This method should be called whenever you want to save updates to a profile.
source code
 
removeProfile(self)
This method will remove the profile currently being viewed.
source code
 
loadSettings(self) source code
 
saveSettings(self)
This method will save all of the profiles created to file.
source code
 
accept(self)
This method is called whenever "Connect" is pressed.
source code

Inherited from PyQt4.QtGui.QDialog: actionEvent, changeEvent, childEvent, closeEvent, connectNotify, contextMenuEvent, create, customEvent, destroy, disconnectNotify, done, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, enabledChange, enterEvent, event, eventFilter, exec_, extension, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPreviousChild, fontChange, hideEvent, inputMethodEvent, isSizeGripEnabled, keyPressEvent, keyReleaseEvent, languageChange, leaveEvent, metric, minimumSizeHint, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, moveEvent, orientation, paintEvent, paletteChange, receivers, reject, resetInputContext, resizeEvent, result, sender, setExtension, setModal, setOrientation, setResult, setSizeGripEnabled, setVisible, showEvent, showExtension, sizeHint, tabletEvent, timerEvent, updateMicroFocus, 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, inputMethodQuery, 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, setWhatsThis, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, show, showFullScreen, showMaximized, showMinimized, showNormal, size, 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, 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__

Class Variables [hide private]

Inherited from PyQt4.QtGui.QDialog: Accepted, Rejected

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)
(Constructor)

source code 

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

Overrides: object.__init__

saveProfile(self)

source code 

Overview

This method should be called whenever you want to save updates to a profile. You may want to do this whether the profile is new and as yet unsaved, or if it is old and has just had changed applied to it. Afterwards it will save the settings to file.

removeProfile(self)

source code 

Overview

This method will remove the profile currently being viewed. While this may seem permanent, this effect will not be permanent if the settings are not saved.

saveSettings(self)

source code 

Overview

This method will save all of the profiles created to file. It will be saved under $HOME/.basin/client/connection.conf

accept(self)

source code 

Overview

This method is called whenever "Connect" is pressed. Incidently, it overrides the QDialog's accept method, however, calls the QDialog's accept within here. It will save all of the current connection settings, and then send the host, port, and user to the ipython shell for connection. During the course of all this the cursor will change to a busy status, and when it is done it will return.

Overrides: PyQt4.QtGui.QDialog.accept