From 9ea34359d85ab856bd600e3faa7eafc9083b917e Mon Sep 17 00:00:00 2001 From: Vladyslav Sitalo Date: Mon, 13 Jan 2020 20:11:21 -0800 Subject: [PATCH] Minor CONTRIBUTING.md update --- CONTRIBUTING.md | 3 +++ crowd_anki/config/config_ui.py | 4 ++-- generate_ui.sh | 0 3 files changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 generate_ui.sh diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d439acb..7b6ab38 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,6 +17,9 @@ The config window is build using QtDesigner, which you can get by running on Linux, or simply download from `https://build-system.fman.io/qt-designer-download` In Qt Designer you can create UI files using a simple GUI, and save them as a `.ui` file in the `ui_files` folder. + +Run `pip install PyQt5` to get the `pyuic5` on your system. + Then the `pyuic5` module can be used to convert them to python. See the `generate_ui.sh` script for examples, and all new UI files should be added there for automation. diff --git a/crowd_anki/config/config_ui.py b/crowd_anki/config/config_ui.py index 3f4dea2..c82b66b 100644 --- a/crowd_anki/config/config_ui.py +++ b/crowd_anki/config/config_ui.py @@ -2,12 +2,12 @@ # Form implementation generated from reading ui file 'ui_files/config.ui' # -# Created by: PyQt5 UI code generator 5.13.1 +# Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! -from PyQt5 import QtCore, QtGui, QtWidgets +from PyQt5 import QtCore, QtWidgets class Ui_Dialog(object): diff --git a/generate_ui.sh b/generate_ui.sh old mode 100644 new mode 100755