4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog for editing IRC network definitions. |
7 Module implementing a dialog for editing IRC network definitions. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 import copy |
12 import copy |
11 |
13 |
12 from PyQt4.QtCore import pyqtSlot |
14 from PyQt4.QtCore import pyqtSlot |
13 from PyQt4.QtGui import QDialog, QDialogButtonBox, QTreeWidgetItem |
15 from PyQt4.QtGui import QDialog, QDialogButtonBox, QTreeWidgetItem |
29 |
31 |
30 @param manager reference to the IRC network manager object (IrcNetworkManager) |
32 @param manager reference to the IRC network manager object (IrcNetworkManager) |
31 @param networkName name of the network to work on (string) |
33 @param networkName name of the network to work on (string) |
32 @param parent reference to the parent widget (QWidget) |
34 @param parent reference to the parent widget (QWidget) |
33 """ |
35 """ |
34 super().__init__(parent) |
36 super(IrcNetworkEditDialog, self).__init__(parent) |
35 self.setupUi(self) |
37 self.setupUi(self) |
36 |
38 |
37 self.__manager = manager |
39 self.__manager = manager |
38 |
40 |
39 self.editIdentitiesButton.setIcon(UI.PixmapCache.getIcon("ircConfigure.png")) |
41 self.editIdentitiesButton.setIcon(UI.PixmapCache.getIcon("ircConfigure.png")) |