137 |
137 |
138 |
138 |
139 class IrcChannelWidget(QWidget, Ui_IrcChannelWidget): |
139 class IrcChannelWidget(QWidget, Ui_IrcChannelWidget): |
140 """ |
140 """ |
141 Class implementing the IRC channel widget. |
141 Class implementing the IRC channel widget. |
|
142 |
|
143 @signal sendData(str) emitted to send a message to the channel |
|
144 @signal channelClosed(str) emitted after the user has left the channel |
142 """ |
145 """ |
143 sendData = pyqtSignal(str) |
146 sendData = pyqtSignal(str) |
144 channelClosed = pyqtSignal(str) |
147 channelClosed = pyqtSignal(str) |
145 |
148 |
146 UrlRe = re.compile(r"""((?:http|ftp|https):\/\/[\w\-_]+(?:\.[\w\-_]+)+""" |
149 UrlRe = re.compile(r"""((?:http|ftp|https):\/\/[\w\-_]+(?:\.[\w\-_]+)+""" |
166 # Copy All |
169 # Copy All |
167 # Clear |
170 # Clear |
168 # Save |
171 # Save |
169 # Remember Position |
172 # Remember Position |
170 # TODO: Remember current position with <hr/> when widget is invisible |
173 # TODO: Remember current position with <hr/> when widget is invisible |
171 # TODO: Remember current position with <hr/> upon user request (only one such line) |
|
172 # TODO: Remember current position with <hr/> when away and configured accordingly |
174 # TODO: Remember current position with <hr/> when away and configured accordingly |
173 # TODO: Check away indication in the user list |
175 # TODO: Check away indication in the user list |
174 def __init__(self, parent=None): |
176 def __init__(self, parent=None): |
175 """ |
177 """ |
176 Constructor |
178 Constructor |