8 """ |
8 """ |
9 |
9 |
10 from PyQt4.QtCore import pyqtSlot |
10 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtGui import QDialog |
11 from PyQt4.QtGui import QDialog |
12 |
12 |
13 from .CookiesDialog import CookiesDialog |
|
14 from .CookiesExceptionsDialog import CookiesExceptionsDialog |
|
15 from .CookieJar import CookieJar |
13 from .CookieJar import CookieJar |
16 |
14 |
17 from .Ui_CookiesConfigurationDialog import Ui_CookiesConfigurationDialog |
15 from .Ui_CookiesConfigurationDialog import Ui_CookiesConfigurationDialog |
18 |
16 |
19 |
17 |
79 @pyqtSlot() |
77 @pyqtSlot() |
80 def on_exceptionsButton_clicked(self): |
78 def on_exceptionsButton_clicked(self): |
81 """ |
79 """ |
82 Private slot to show the cookies exceptions dialog. |
80 Private slot to show the cookies exceptions dialog. |
83 """ |
81 """ |
|
82 from .CookiesExceptionsDialog import CookiesExceptionsDialog |
84 dlg = CookiesExceptionsDialog(self.__mw.cookieJar()) |
83 dlg = CookiesExceptionsDialog(self.__mw.cookieJar()) |
85 dlg.exec_() |
84 dlg.exec_() |
86 |
85 |
87 @pyqtSlot() |
86 @pyqtSlot() |
88 def on_cookiesButton_clicked(self): |
87 def on_cookiesButton_clicked(self): |
89 """ |
88 """ |
90 Private slot to show the cookies dialog. |
89 Private slot to show the cookies dialog. |
91 """ |
90 """ |
|
91 from .CookiesDialog import CookiesDialog |
92 dlg = CookiesDialog(self.__mw.cookieJar()) |
92 dlg = CookiesDialog(self.__mw.cookieJar()) |
93 dlg.exec_() |
93 dlg.exec_() |