diff --git a/.flake8 b/.flake8 index d2decef..5687307 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,4 @@ [flake8] -exclude = *.pyc,__pycache__,hwilib/devices/btchip/,hwilib/devices/ckcc/,hwilib/devices/trezorlib/,test/work/ +exclude = *.pyc,__pycache__,hwilib/devices/btchip/,hwilib/devices/ckcc/,hwilib/devices/trezorlib/,test/work/,hwilib/ui ignore = E261,E302,E305,E501,E722,W5 per-file-ignores = setup.py:E122 diff --git a/.gitignore b/.gitignore index 091dd55..8a48223 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,7 @@ test/emulator.img test/work pip-wheel-metadata .mypy_cache/ + +# Qt stuff +hwiqt.pyproject.user +hwilib/ui/ui_*.py diff --git a/hwilib/ui/hwiqt.pyproject b/hwilib/ui/hwiqt.pyproject new file mode 100644 index 0000000..7014cff --- /dev/null +++ b/hwilib/ui/hwiqt.pyproject @@ -0,0 +1,3 @@ +{ + "files": ["mainwindow.ui"] +} diff --git a/hwilib/ui/mainwindow.ui b/hwilib/ui/mainwindow.ui new file mode 100644 index 0000000..e5d71a9 --- /dev/null +++ b/hwilib/ui/mainwindow.ui @@ -0,0 +1,33 @@ + + + MainWindow + + + + 0 + 0 + 800 + 600 + + + + MainWindow + + + + + + 19 + 29 + 751 + 531 + + + + + + + + + +