7 Module implementing a dialog showing the cookie data. |
7 Module implementing a dialog showing the cookie data. |
8 """ |
8 """ |
9 |
9 |
10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 |
11 |
|
12 from PyQt5.QtCore import Qt |
12 from PyQt5.QtWidgets import QDialog |
13 from PyQt5.QtWidgets import QDialog |
13 |
14 |
14 from .Ui_CookieDetailsDialog import Ui_CookieDetailsDialog |
15 from .Ui_CookieDetailsDialog import Ui_CookieDetailsDialog |
15 |
16 |
16 |
17 |
24 |
25 |
25 @param parent reference to the parent object (QWidget) |
26 @param parent reference to the parent object (QWidget) |
26 """ |
27 """ |
27 super(CookieDetailsDialog, self).__init__(parent) |
28 super(CookieDetailsDialog, self).__init__(parent) |
28 self.setupUi(self) |
29 self.setupUi(self) |
|
30 self.setWindowFlags(Qt.Window) |
29 |
31 |
30 def setData(self, domain, name, path, secure, expires, value): |
32 def setData(self, domain, name, path, secure, expires, value): |
31 """ |
33 """ |
32 Public method to set the data to be shown. |
34 Public method to set the data to be shown. |
33 |
35 |