#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# about.py - about dialog box
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# About dialog box.
-#
-
import qt_compat
QtCore = qt_compat.import_module('QtCore')
QtGui = qt_compat.import_module('QtGui')
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# buffer.py - management of WeeChat buffers/nicklist
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# Buffers.
-#
-
import qt_compat
QtCore = qt_compat.import_module('QtCore')
QtGui = qt_compat.import_module('QtGui')
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# chat.py - chat area
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# Chat area.
-#
-
import datetime
import qt_compat
QtCore = qt_compat.import_module('QtCore')
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# config.py - configuration for QWeeChat (~/.qweechat/qweechat.conf)
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# Configuration for QWeeChat (~/.qweechat/qweechat.conf)
-#
-
import os, ConfigParser
import weechat.color as color
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# connection.py - connection window
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# Connection window.
-#
-
import qt_compat
QtGui = qt_compat.import_module('QtGui')
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# debug.py - debug window
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# Debug window.
-#
-
import qt_compat
QtGui = qt_compat.import_module('QtGui')
from chat import ChatTextEdit
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# input.py - input line for chat and debug window
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# Input line (for chat or debug window).
-#
-
import qt_compat
QtCore = qt_compat.import_module('QtCore')
QtGui = qt_compat.import_module('QtGui')
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# network.py - I/O with WeeChat/relay
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# I/O with WeeChat/relay.
-#
-
import struct
import qt_compat
QtCore = qt_compat.import_module('QtCore')
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# qweechat.py - WeeChat remote GUI using Qt toolkit
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
#
-# QWeeChat - WeeChat remote GUI using Qt toolkit.
-# (this script requires WeeChat 0.3.7 or newer, running on local or remote host)
+# This script requires WeeChat 0.3.7 or newer, running on local or remote host.
#
# History:
#
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# color.py - remove/replace colors in WeeChat strings
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# Remove or replace colors in WeeChat strings.
-#
-
import re
RE_COLOR_ATTRS = r'[*!/_|]*'
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
+# protocol.py - decode binary messages received from WeeChat/relay
+#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
#
-# Decode binary messages received from WeeChat/relay.
-#
-# For info about protocol and format of messages, please read document "WeeChat Relay Protocol",
-# available at: http://www.weechat.org/doc/
+# For info about protocol and format of messages, please read document
+# "WeeChat Relay Protocol", available at: http://www.weechat.org/doc/
#
# History:
#