Initial Qt Creator and UI files

.gitignore is updated to ignore some things
This commit is contained in:
Andrew Chow 2019-12-16 14:24:38 -05:00
parent 52628847d4
commit 982aabcb25
4 changed files with 41 additions and 1 deletions

View File

@ -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

4
.gitignore vendored
View File

@ -7,3 +7,7 @@ test/emulator.img
test/work
pip-wheel-metadata
.mypy_cache/
# Qt stuff
hwiqt.pyproject.user
hwilib/ui/ui_*.py

View File

@ -0,0 +1,3 @@
{
"files": ["mainwindow.ui"]
}

33
hwilib/ui/mainwindow.ui Normal file
View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>19</x>
<y>29</y>
<width>751</width>
<height>531</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout"/>
</widget>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>