2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog to edit feed data. | 7 Module implementing a dialog to edit feed data. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import pyqtSlot, QUrl | 12 from PyQt4.QtCore import pyqtSlot, QUrl |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox | 13 from PyQt4.QtGui import QDialog, QDialogButtonBox |
12 | 14 |
13 from .Ui_FeedEditDialog import Ui_FeedEditDialog | 15 from .Ui_FeedEditDialog import Ui_FeedEditDialog |
21 """ | 23 """ |
22 Constructor | 24 Constructor |
23 | 25 |
24 @param parent reference to the parent widget (QWidget) | 26 @param parent reference to the parent widget (QWidget) |
25 """ | 27 """ |
26 super().__init__(parent) | 28 super(FeedEditDialog, self).__init__(parent) |
27 self.setupUi(self) | 29 self.setupUi(self) |
28 | 30 |
29 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) | 31 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
30 | 32 |
31 self.titleEdit.setText(title) | 33 self.titleEdit.setText(title) |