4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the chat dialog. |
7 Module implementing the chat dialog. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import Qt, pyqtSlot, pyqtSignal, QDateTime, QPoint, QFileInfo |
12 from PyQt4.QtCore import Qt, pyqtSlot, pyqtSignal, QDateTime, QPoint, QFileInfo |
11 from PyQt4.QtGui import QWidget, QColor, QListWidgetItem, QMenu, QApplication |
13 from PyQt4.QtGui import QWidget, QColor, QListWidgetItem, QMenu, QApplication |
12 |
14 |
13 from E5Gui.E5Application import e5App |
15 from E5Gui.E5Application import e5App |
51 |
53 |
52 @param ui reference to the user interface object (UserInterface) |
54 @param ui reference to the user interface object (UserInterface) |
53 @param port port to be used for the cooperation server (integer) |
55 @param port port to be used for the cooperation server (integer) |
54 @param parent reference to the parent widget (QWidget) |
56 @param parent reference to the parent widget (QWidget) |
55 """ |
57 """ |
56 super().__init__(parent) |
58 super(ChatWidget, self).__init__(parent) |
57 self.setupUi(self) |
59 self.setupUi(self) |
58 |
60 |
59 self.shareButton.setIcon( |
61 self.shareButton.setIcon( |
60 UI.PixmapCache.getIcon("sharedEditDisconnected.png")) |
62 UI.PixmapCache.getIcon("sharedEditDisconnected.png")) |
61 self.startEditButton.setIcon( |
63 self.startEditButton.setIcon( |