4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the network part of the IRC widget. |
7 Module implementing the network part of the IRC widget. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSlot, pyqtSignal, QPoint, QFileInfo, QUrl |
12 from PyQt4.QtCore import pyqtSlot, pyqtSignal, QPoint, QFileInfo, QUrl |
11 from PyQt4.QtGui import QWidget, QApplication, QMenu, QDesktopServices |
13 from PyQt4.QtGui import QWidget, QApplication, QMenu, QDesktopServices |
12 |
14 |
13 from E5Gui import E5MessageBox, E5FileDialog |
15 from E5Gui import E5MessageBox, E5FileDialog |
45 """ |
47 """ |
46 Constructor |
48 Constructor |
47 |
49 |
48 @param parent reference to the parent widget (QWidget) |
50 @param parent reference to the parent widget (QWidget) |
49 """ |
51 """ |
50 super().__init__(parent) |
52 super(IrcNetworkWidget, self).__init__(parent) |
51 self.setupUi(self) |
53 self.setupUi(self) |
52 |
54 |
53 self.connectButton.setIcon(UI.PixmapCache.getIcon("ircConnect.png")) |
55 self.connectButton.setIcon(UI.PixmapCache.getIcon("ircConnect.png")) |
54 self.editButton.setIcon(UI.PixmapCache.getIcon("ircConfigure.png")) |
56 self.editButton.setIcon(UI.PixmapCache.getIcon("ircConfigure.png")) |
55 self.joinButton.setIcon(UI.PixmapCache.getIcon("ircJoinChannel.png")) |
57 self.joinButton.setIcon(UI.PixmapCache.getIcon("ircJoinChannel.png")) |