7 Module implementing a dialog to show the data of a response or reply header. |
7 Module implementing a dialog to show the data of a response or reply header. |
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_E5NetworkHeaderDetailsDialog import Ui_E5NetworkHeaderDetailsDialog |
15 from .Ui_E5NetworkHeaderDetailsDialog import Ui_E5NetworkHeaderDetailsDialog |
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(E5NetworkHeaderDetailsDialog, self).__init__(parent) |
28 super(E5NetworkHeaderDetailsDialog, self).__init__(parent) |
28 self.setupUi(self) |
29 self.setupUi(self) |
|
30 self.setWindowFlags(Qt.Window) |
29 |
31 |
30 def setData(self, name, value): |
32 def setData(self, name, value): |
31 """ |
33 """ |
32 Public method to set the data to display. |
34 Public method to set the data to display. |
33 |
35 |