Package timedrive :: Module advancedsettingsdialog :: Class AdvancedSettingsDialog
[frames] | no frames]

Class AdvancedSettingsDialog


Set advanced settings for archives included in the backup job description.

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)
Initialization function for AdvancedSettingsDialog
 
LoadPreferences(self, folder)
Sets the dialog box control values from a valid folder data list.
 
AddToExcludeList(self, e)
Adds an excludeItem to the global exclude list.
 
btnExcludeAddPatern_Pressed(self)
 
btnExcludeAddFolder_Pressed(self)
 
btnExcludeAddFile_Pressed(self)
 
btnExcludeRemove_Pressed(self)
 
btnOk_Pressed(self)
 
btnCancel_Pressed(self)
 
closeEvent(self, event)
 
UpdateFolderSettings(self)
Updates the folder specific advanced settings.
 
buttonSelectLocalFolder_Pressed(self)
 
buttonTestConnection_Pressed(self)
 
ShowRemoteResults(self, tstResult)
Updates the settings view based on the results of the connection test.
 
ArchiveSettings_Update(self)
Method to enable/disable Archive Settings based on the current radio option selected.
 
checkEncryptFiles_Toggled(self)
Enable/Disable the encryption options.
 
LoadFolderSnapshots(self)
 
LoadFolderSnapshots_SetModelList(self, transferModel)
Transfers the snapshots to the Snapshot model.
 
LoadFolderSnapshots_ToggleControls(self, option)
 
setupSnapshotsList(self, currentModel=None)
Sets the Horizontal Headers of the snapshotsModel, or creates a new one as necessary.
 
setupSnapshotsList_SetViewParameters(self)
Hides the appropriate snapshotsModel Columns and sets the width of the others.
 
manageBackups_DeleteSet(self)
Deletes the currently deleted snapshot.
 
manageBackups_Cleanup(self)
Runs the duplicity cleanup operation on the specified folder.
 
manageBackups_ResetModel(self)
 
manageBackups_RunAutoRemove(self)
 
ManageSnapshots_Update(self, currentIndex=None)
Checks to see if a valid backup set is selected, if so, the delete button is enabled.
 
comboRemoteProtocol_currentIndexChanged(self, index)
 
tabWidget_currentChanged(self, index)

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

 

Initialization function for AdvancedSettingsDialog

Parameters:
  • parent
Overrides: object.__init__

LoadPreferences(self, folder)

 

Sets the dialog box control values from a valid folder data list.

Parameters:
  • folder (IncludeItem Object)

AddToExcludeList(self, e)

 

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

Parameters:
  • e (ExcludeItem Object)

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

ArchiveSettings_Update(self)

 

Method to enable/disable Archive Settings based on the current radio option selected. When using global settings, local and remote should be disabled. Likewise for when local or remote is enabled.

ManageSnapshots_Update(self, currentIndex=None)

 

Checks to see if a valid backup set is selected, if so, the delete button is enabled. If not, it is disabled.