Added toxygen/third_party/qweechat
This commit is contained in:
parent
424e15b31c
commit
0b1eaa1391
4 changed files with 33 additions and 8 deletions
24
README.md
24
README.md
|
@ -55,12 +55,26 @@ is making a dependency. Just download it and copy the two directories
|
||||||
|
|
||||||
See ToDo.md to the current ToDo list.
|
See ToDo.md to the current ToDo list.
|
||||||
|
|
||||||
If you install https://github.com/weechat/qweechat
|
You can have a [weechat](https://github.com/weechat/qweechat)
|
||||||
you can have IRC and jabber in a window too. Start
|
console so that you can have IRC and jabber in a window as well as Tox.
|
||||||
[weechat](https://github.com/weechat/weechat) and
|
There's a copy of qweechat in ```thirdparty/qweechat``` backported to
|
||||||
|
PyQt5 and integrated into toxygen. Follow the normal instructions for
|
||||||
|
adding a ```relay``` to [weechat](https://github.com/weechat/weechat)
|
||||||
```
|
```
|
||||||
/relay weechat 9000 password
|
/relay add ipv4.ssl.weechat 9001
|
||||||
|
/relay start ipv4.ssl.weechat
|
||||||
|
```
|
||||||
|
or
|
||||||
|
```
|
||||||
|
/relay add weechat 9000
|
||||||
|
/relay start weechat
|
||||||
|
```
|
||||||
|
and use the File/Connect menu item to connect to weechat. Weechat
|
||||||
|
has a Jabber plugin to enable XMPP:
|
||||||
|
```
|
||||||
|
/python load jabber.el
|
||||||
|
/help jabber
|
||||||
```
|
```
|
||||||
|
|
||||||
Work on this project is suspended until the
|
Work on Tox on this project is suspended until the
|
||||||
[MultiDevice](https://git.plastiras.org/emdee/tox_profile/wiki/MultiDevice-Announcements-POC) problem is solved. Fork me!
|
[MultiDevice](https://git.plastiras.org/emdee/tox_profile/wiki/MultiDevice-Announcements-POC) problem is solved. Fork me!
|
||||||
|
|
|
@ -1,2 +1,6 @@
|
||||||
PyQt5
|
PyQt5
|
||||||
|
PyAudio
|
||||||
|
numpy
|
||||||
|
opencv-python
|
||||||
|
pydenticon
|
||||||
|
cv2
|
||||||
|
|
0
toxygen/third_party/__init__.py
vendored
Normal file
0
toxygen/third_party/__init__.py
vendored
Normal file
|
@ -700,10 +700,12 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||||
|
|
||||||
def weechat_console(self):
|
def weechat_console(self):
|
||||||
try:
|
try:
|
||||||
from qweechat.qweechat import MainWindow as MainWindow
|
# WeeChat backported from PySide6 to PyQt5
|
||||||
|
from third_party.qweechat import MainWindow as MainWindow
|
||||||
|
from third_party.qweechat import config
|
||||||
LOG.info("Adding WeechatConsole")
|
LOG.info("Adding WeechatConsole")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOG.exception(f"ERROR WeechatConsole {e} {sys.path}")
|
LOG.exception(f"ERROR WeechatConsole {e}")
|
||||||
MainWindow = None
|
MainWindow = None
|
||||||
return
|
return
|
||||||
LOG.debug(f"calling {MainWindow}")
|
LOG.debug(f"calling {MainWindow}")
|
||||||
|
@ -752,6 +754,11 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||||
self._we.setGeometry(geometry)
|
self._we.setGeometry(geometry)
|
||||||
self._we.resize(font_width*80+20, font_width*40)
|
self._we.resize(font_width*80+20, font_width*40)
|
||||||
|
|
||||||
|
self._we.list_buffers.setSizePolicy(QtWidgets.QSizePolicy.Preferred,
|
||||||
|
QtWidgets.QSizePolicy.Preferred)
|
||||||
|
self._we.stacked_buffers.setSizePolicy(QtWidgets.QSizePolicy.Expanding,
|
||||||
|
QtWidgets.QSizePolicy.Expanding)
|
||||||
|
|
||||||
self._we.show()
|
self._we.show()
|
||||||
# or self._we.eval_in_thread()
|
# or self._we.eval_in_thread()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue