# eric6.WebBrowser.FlashCookieManager.FlashCookieManagerDialog

Module implementing a dialog to manage the flash cookies.

### Global Attributes

None

### Classes

FlashCookieManagerDialog | Class implementing a dialog to manage the flash cookies.

### Functions

None

## FlashCookieManagerDialog

Class implementing a dialog to manage the flash cookies.

### Derived from

QDialog, Ui_FlashCookieManagerDialog

### Class Attributes

None

### Class Methods

None

### Methods

FlashCookieManagerDialog | Constructor
__addBlacklist | Private method to add a cookie origin to the blacklist.
__addWhitelist | Private method to add a cookie origin to the whitelist.
__cookiesListContextMenuRequested | Private slot handling the cookies list context menu.
__refreshCookiesList | Private slot to refresh the cookies list.
__refreshFilterLists | Private slot to refresh the white and black lists.
closeEvent | Protected method to handle the close event.
on_addBlackButton_clicked | Private slot to add a server to the blacklist.
on_addWhiteButton_clicked | Private slot to add a server to the whitelist.
on_blackList_itemSelectionChanged | Private slot handling the selection of items in the blacklist.
on_cookiesList_currentItemChanged | Private slot handling a change of the current cookie item.
on_filterEdit_textChanged | Private slot to filter the cookies list.
on_reloadButton_clicked | Private slot handling a press of the reload button.
on_removeAllButton_clicked | Private slot to remove all cookies.
on_removeBlackButton_clicked | Private slot to remove a server from the blacklist.
on_removeButton_clicked | Private slot to remove one cookie or a cookie group.
on_removeWhiteButton_clicked | Private slot to remove a server from the whitelist.
on_whiteList_itemSelectionChanged | Private slot handling the selection of items in the whitelist.
refreshView | Public method to refresh the dialog view.
showPage | Public method to display a given page.

### Static Methods

None

#### FlashCookieManagerDialog (Constructor)

FlashCookieManagerDialog(manager, parent=None)

Constructor

manager (FlashCookieManager)
  reference to the Flash cookie manager object
parent (QWidget)
  reference to the parent widget

#### FlashCookieManagerDialog.__addBlacklist

__addBlacklist(origin)

Private method to add a cookie origin to the blacklist.

origin (str)
  origin to be added to the list

#### FlashCookieManagerDialog.__addWhitelist

__addWhitelist(origin)

Private method to add a cookie origin to the whitelist.

origin (str)
  origin to be added to the list

#### FlashCookieManagerDialog.__cookiesListContextMenuRequested

__cookiesListContextMenuRequested(pos)

Private slot handling the cookies list context menu.

pos (QPoint)
  position to show the menu at

#### FlashCookieManagerDialog.__refreshCookiesList

__refreshCookiesList()

Private slot to refresh the cookies list.

#### FlashCookieManagerDialog.__refreshFilterLists

__refreshFilterLists()

Private slot to refresh the white and black lists.

#### FlashCookieManagerDialog.closeEvent

closeEvent(evt)

Protected method to handle the close event.

evt (QCloseEvent)
  reference to the close event

#### FlashCookieManagerDialog.on_addBlackButton_clicked

on_addBlackButton_clicked()

Private slot to add a server to the blacklist.

#### FlashCookieManagerDialog.on_addWhiteButton_clicked

on_addWhiteButton_clicked()

Private slot to add a server to the whitelist.

#### FlashCookieManagerDialog.on_blackList_itemSelectionChanged

on_blackList_itemSelectionChanged()

Private slot handling the selection of items in the blacklist.

#### FlashCookieManagerDialog.on_cookiesList_currentItemChanged

on_cookiesList_currentItemChanged(current, previous)

Private slot handling a change of the current cookie item.

current (QTreeWidgetItem)
  reference to the current item
previous (QTreeWidgetItem)
  reference to the previous item

#### FlashCookieManagerDialog.on_filterEdit_textChanged

on_filterEdit_textChanged(filterStr)

Private slot to filter the cookies list.

filterStr (str)
  filter text

#### FlashCookieManagerDialog.on_reloadButton_clicked

on_reloadButton_clicked()

Private slot handling a press of the reload button.

#### FlashCookieManagerDialog.on_removeAllButton_clicked

on_removeAllButton_clicked()

Private slot to remove all cookies.

#### FlashCookieManagerDialog.on_removeBlackButton_clicked

on_removeBlackButton_clicked()

Private slot to remove a server from the blacklist.

#### FlashCookieManagerDialog.on_removeButton_clicked

on_removeButton_clicked()

Private slot to remove one cookie or a cookie group.

#### FlashCookieManagerDialog.on_removeWhiteButton_clicked

on_removeWhiteButton_clicked()

Private slot to remove a server from the whitelist.

#### FlashCookieManagerDialog.on_whiteList_itemSelectionChanged

on_whiteList_itemSelectionChanged()

Private slot handling the selection of items in the whitelist.

#### FlashCookieManagerDialog.refreshView

refreshView(forceReload=False)

Public method to refresh the dialog view.

forceReload (bool)
  flag indicating to reload the cookies

#### FlashCookieManagerDialog.showPage

showPage(index)

Public method to display a given page.

index (int)
  index of the page to be shown

Up