Package timedrive :: Module generalsettingsdialog :: Class GeneralSettingsDialog
[frames] | no frames]

Class GeneralSettingsDialog


Settings Dialog Class: Includes the methods for changing the global backup settings.

Nested Classes

Inherited from PyQt4.QtGui.QDialog: DialogCode

Inherited from PyQt4.QtGui.QWidget: RenderFlag, RenderFlags

Inherited from PyQt4.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods
 
__init__(self, parent, backupsettings)
Initialization function for GeneralSettingsDialog
 
LoadBackupSettings(self, backupsettings)
Loads Settings into the fields
 
GeneralSettings_Update(self)
Enable or disable the general settings controls based on the options selected.
 
AutoRemoveSettings_Update(self)
Enable or disable the auto-remove settings based on the options selected.
 
Options_Update(self)
Enable or disable the options controls based on the values selected.
 
Advanced_Update(self)
Enable or disable the options controls based on the values selected.
 
UpdateSettings(self)
Reads settings and preferences from the settings dialog and writes them to platform appropriate storage.
 
btnOk_Pressed(self)
Closes only if all data input is correct the settings dialog, also checks data input and stores
 
btnCancel_Pressed(self)
 
closeEvent(self, event)
 
btnIncludeAddLocal_Pressed(self)
 
btnIncludeManageRemote_Pressed(self)
 
btnIncludeAddRemote_Pressed(self)
 
btnIncludeRemove_Pressed(self)
 
buttonSelectLocalFolder_Pressed(self)
 
buttonSelectDefaultRestoreLocation_Pressed(self)
 
buttonTestConnection_Pressed(self)
 
ShowRemoteResults(self, tstResult)
Updates the settings view based on the results of the connection test.
 
AddToExcludeList(self, e)
Adds an excludeItem to the global exclude list.
 
btnExcludeAdd_Pressed(self)
 
btnExcludeRemove_Pressed(self)
 
buttonFolderOptions_Pressed(self)
 
comboRemoteProtocol_currentIndexChanged(self, index)
 
tabSettings_currentChanged(self, index)
 
loadIncludeList(self)
Load Backup Include List

Inherited from settingsdialog.SettingsDialog: getExcludeTreeItem, validateExcludeItem

Inherited from PyQt4.QtGui.QDialog: accept, accepted, contextMenuEvent, done, eventFilter, exec_, extension, finished, isSizeGripEnabled, keyPressEvent, minimumSizeHint, open, orientation, reject, rejected, resizeEvent, result, setExtension, setModal, setOrientation, setResult, setSizeGripEnabled, setVisible, showEvent, showExtension, sizeHint

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

Inherited from PyQt4.QtCore.QObject: blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, setObjectName, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

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

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

Inherited from background.testconnectionurl.TestConnectionControl: doTestConnection, setupTestConnection

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from PyQt4.QtGui.QDialog: Accepted, Rejected

Inherited from PyQt4.QtGui.QWidget: DrawChildren, DrawWindowBackground, IgnoreMask

Inherited from PyQt4.QtCore.QObject: staticMetaObject

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

Properties

Inherited from background.testconnectionurl.TestConnectionControl: TestConnectionUrl

Inherited from object: __class__

Method Details

__init__(self, parent, backupsettings)
(Constructor)

 

Initialization function for GeneralSettingsDialog

Parameters:
  • parent (SettingsDialog Object)
  • backupsettings (Settings Object)
Overrides: object.__init__

LoadBackupSettings(self, backupsettings)

 

Loads Settings into the fields

Parameters:
  • backupsettings (Settings Object)

GeneralSettings_Update(self)

 

Enable or disable the general settings controls based on the options selected. If Local Backup Directory is selected then remote options should be disabled. Likewise if the remote or options are selected.

UpdateSettings(self)

 

Reads settings and preferences from the settings dialog and writes them to platform appropriate storage. (Registry on Windows, Xml Files on Mac OS X, and .ini files on Linux/Unix.

closeEvent(self, event)

 
Overrides: PyQt4.QtGui.QWidget.closeEvent

ShowRemoteResults(self, tstResult)

 

Updates the settings view based on the results of the connection test.

Parameters:
  • tstResult (Boolean) - result from the test connection url check
Overrides: background.testconnectionurl.TestConnectionControl.ShowRemoteResults

AddToExcludeList(self, e)

 

Adds an excludeItem to the global exclude list. and show it on the exclude ui

Parameters:
  • e (ExcludeItem Object)