Cooperation/ChatWidget.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2436
f75dbdd22959
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
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(

eric ide

mercurial