New multi line editor

Supports zooming in and out with ctrl+scroll.

It is a bit hacky, since I use sed in make to make it work, but
whatever.
This commit is contained in:
Salvo 'LtWorf' Tomaselli
2016-05-25 12:08:59 +02:00
parent 790766827e
commit 2955afe45e
2 changed files with 45 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ pyqt:
pyuic5 relational_gui/maingui.ui > relational_gui/maingui.py
pyuic5 relational_gui/rel_edit.ui > relational_gui/rel_edit.py
pyrcc5 relational_gui/resources.qrc > relational_gui/resources.py
sed -i 's/QtWidgets.QPlainTextEdit/editor.Editor/g' relational_gui/maingui.py
echo 'from . import editor' >> relational_gui/maingui.py
dist: clean
rm -rf /tmp/relational/