7 Module implementing a dialog to show a list of applied and unapplied patches. |
7 Module implementing a dialog to show a list of applied and unapplied patches. |
8 """ |
8 """ |
9 |
9 |
10 import os |
10 import os |
11 |
11 |
12 from PyQt4.QtCore import pyqtSlot, QProcess, Qt, QTimer |
12 from PyQt4.QtCore import pyqtSlot, QProcess, Qt, QTimer, QCoreApplication |
13 from PyQt4.QtGui import QDialog, QDialogButtonBox, QHeaderView, QTreeWidgetItem, \ |
13 from PyQt4.QtGui import QDialog, QDialogButtonBox, QHeaderView, QTreeWidgetItem, \ |
14 QLineEdit |
14 QLineEdit |
15 |
15 |
16 from E5Gui import E5MessageBox |
16 from E5Gui import E5MessageBox |
17 |
17 |
51 "A": self.trUtf8("applied"), |
51 "A": self.trUtf8("applied"), |
52 "U": self.trUtf8("not applied"), |
52 "U": self.trUtf8("not applied"), |
53 "G": self.trUtf8("guarded"), |
53 "G": self.trUtf8("guarded"), |
54 "D": self.trUtf8("missing"), |
54 "D": self.trUtf8("missing"), |
55 } |
55 } |
|
56 |
|
57 self.show() |
|
58 QCoreApplication.processEvents() |
56 |
59 |
57 def closeEvent(self, e): |
60 def closeEvent(self, e): |
58 """ |
61 """ |
59 Private slot implementing a close event handler. |
62 Private slot implementing a close event handler. |
60 |
63 |