Skip to content
Digital tally list for hackerspace consumption (Digitale Strichliste)
QML Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controls
hardware
i18n
images
.gitignore
LICENSE.txt
README.md
pricelist.json
run.sh
strichliste.desktop
strichliste.py
tagutil.py
uidmap.json
view.qml

README.md

What is it?

Prototype for a Strichliste. run.sh is my janky startup file. QtQuick app for logging drinks consumption digitally. RFID not yet integrated.

Dependencies: Qt 5.11, Python 3.6

Run with PyCharm

Steps:

  • To run it in PyCharm create a virtual env with pySide 5.11.x.
  • Add "QT_IM_MODULE=qtvirtualkeyboard" under Enviroment variables of start configuration
  • run "strichliste.py"

Run on Debian/Ubuntu (Desktop)

Install QtQuick and the module:

sudo apt install python3-pyqt5.qtquick qml-module-qtquick-controls2 qml-module-qtquick-virtualkeyboard qml-module-qtquick-window2 qml-module-qtquick2 qtdeclarative5-qtquick2-plugin
sudo apt install qttools5-dev-tools qt5-default
pip install --index-url=https://download.qt.io/official_releases/QtForPython/ pyside2 --trusted-host download.qt.io

Export QT_IM_MODULE=qtvirtualkeyboard and call ./strichliste.py.

Update translations

Create i18n/base.ts.

lupdate view.qml -ts i18n/base.ts

Copy base.ts to a language file and translate via linguist.

cp i18n/base.ts i18n/view_de.ts
linguist i18n/view_de.ts

Create run-time translation files by running lrelease.

lrelease i18n/*.ts

Copyright

See LICENSE.txt for copying information.

Copyright 2019, Mark Meyer (mark@ofosos.org)

Copyright 2019, Felix Garbe (info@felix-garbe.be)

You can’t perform that action at this time.