eric7.WebBrowser.FeaturePermissions.FeaturePermissionsDialog

Module implementing the feature permission dialog.

Global Attributes

None

Classes

FeaturePermissionsDialog Class implementing the feature permission dialog.

Functions

None


FeaturePermissionsDialog

Class implementing the feature permission dialog.

Derived from

QDialog, Ui_FeaturePermissionsDialog

Class Attributes

None

Class Methods

None

Methods

FeaturePermissionsDialog Constructor
__currentTabChanged Private slot handling changes of the selected tab.
__initializePermissionsList Private method to initialize the permission lists.
__itemSelectionChanged Private slot handling changes in the current list of selected items.
__updateButtons Private method to update the buttons.
on_removeAllButton_clicked Private slot to remove all entries.
on_removeButton_clicked Private slot to remove selected entries.
persistChanges Public method to persist the removed permissions.

Static Methods

None

FeaturePermissionsDialog (Constructor)

FeaturePermissionsDialog(featurePermissions, parent=None)

Constructor

featurePermissions (list[QWebEnginePermission])
list of permission objects
parent (QWidget)
reference to the parent widget

FeaturePermissionsDialog.__currentTabChanged

__currentTabChanged(index)

Private slot handling changes of the selected tab.

index (int)
index of the current tab

FeaturePermissionsDialog.__initializePermissionsList

__initializePermissionsList(permissions)

Private method to initialize the permission lists.

permissions (list of QWebEnginePermission)
list of permission objects

FeaturePermissionsDialog.__itemSelectionChanged

__itemSelectionChanged()

Private slot handling changes in the current list of selected items.

FeaturePermissionsDialog.__updateButtons

__updateButtons()

Private method to update the buttons.

FeaturePermissionsDialog.on_removeAllButton_clicked

on_removeAllButton_clicked()

Private slot to remove all entries.

FeaturePermissionsDialog.on_removeButton_clicked

on_removeButton_clicked()

Private slot to remove selected entries.

FeaturePermissionsDialog.persistChanges

persistChanges()

Public method to persist the removed permissions.

Up