2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog showing the cookie data. | 7 Module implementing a dialog showing the cookie data. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtGui import QDialog | 12 from PyQt4.QtGui import QDialog |
11 | 13 |
12 from .Ui_CookieDetailsDialog import Ui_CookieDetailsDialog | 14 from .Ui_CookieDetailsDialog import Ui_CookieDetailsDialog |
13 | 15 |
20 """ | 22 """ |
21 Constructor | 23 Constructor |
22 | 24 |
23 @param parent reference to the parent object (QWidget) | 25 @param parent reference to the parent object (QWidget) |
24 """ | 26 """ |
25 super().__init__(parent) | 27 super(CookieDetailsDialog, self).__init__(parent) |
26 self.setupUi(self) | 28 self.setupUi(self) |
27 | 29 |
28 def setData(self, domain, name, path, secure, expires, value): | 30 def setData(self, domain, name, path, secure, expires, value): |
29 """ | 31 """ |
30 Public method to set the data to be shown. | 32 Public method to set the data to be shown. |