Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 84148b3

Browse files
committed
update libs, README and other small changes
1 parent 6f30972 commit 84148b3

File tree

6 files changed

+33
-43
lines changed

6 files changed

+33
-43
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
__pycache__/
33
venv/
44
config
5+
.seedqrenv/
6+
.venv/
7+
.env/

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,34 @@ It actually can send/receive:
1010
- Multiframes QRCodes using the `Specter` format (_of_)
1111
- Multiframes QRCodes using the `UR` format are partially supported (PSBT and Bytes)
1212

13-
Dependencies:
14-
opencv might be installed
15-
16-
Install:
17-
Go into this repo and run:
13+
To install, enter the repo folder and run:
1814
```
15+
# create environment to install dependencies
16+
python3 -m venv .seedqrenv
17+
18+
# activate the environment on the current terminal
19+
source .seedqrenv/bin/activate
20+
21+
# install python dependencies on this environment
1922
pip install -r requirements.txt
2023
```
2124

22-
Linux:
25+
If you get this error, please install libxcb-cursor:
2326
```
24-
# For error:
2527
# qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
26-
sudo apt install libxcb-cursor-dev
28+
sudo apt install libxcb-cursor0
2729
```
2830

29-
Run under Linux/MacOS:
31+
Run:
3032
```
33+
# Linux/MacOS
3134
python3 seedqreader.py
3235
```
3336

34-
Run under Windows:
37+
Run:
3538
```
39+
# Windows
3640
python seedqreader.py
3741
```
3842

39-
If you want i build more cool tools you can support me with bitcoin:
40-
`bc1q5pgfrt09f4vuxyryg95erge38nw94usvpe5gg0`
41-
43+
Project originally created by https://github.com/pythcoiner

form.ui

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,9 @@
456456
<property name="singleStep">
457457
<number>10</number>
458458
</property>
459+
<property name="pageStep">
460+
<number>10</number>
461+
</property>
459462
<property name="value">
460463
<number>100</number>
461464
</property>
@@ -583,10 +586,13 @@
583586
<number>100</number>
584587
</property>
585588
<property name="maximum">
586-
<number>2000</number>
589+
<number>4000</number>
587590
</property>
588591
<property name="singleStep">
589-
<number>20</number>
592+
<number>100</number>
593+
</property>
594+
<property name="pageStep">
595+
<number>100</number>
590596
</property>
591597
<property name="value">
592598
<number>400</number>

requirements.txt

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
embit==0.7.0
2-
numpy==1.26.4
3-
opencv-python==4.7.0.72
4-
Pillow==11.0.0
5-
pypng==0.20220715.0
6-
PyYAML==6.0.1
1+
PyYAML==6.0.2
2+
PySide6==6.9.0
3+
Pillow==11.2.1
74
pyzbar==0.1.9
8-
qrcode==7.4.2
9-
typing_extensions==4.11.0
10-
PySide6==6.6.3.1
11-
shiboken6==6.6.3.1
12-
urtypes @ git+https://github.com/selfcustody/urtypes.git@7fb280eab3b3563dfc57d2733b0bf5cbc0a96a6a
5+
qrcode==8.1
6+
opencv-python==4.11.0.86
7+
urtypes @ git+https://github.com/selfcustody/urtypes.git
8+
embit==0.8.0

screenshot.png

22.1 KB
Loading

seedqreader.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -719,23 +719,6 @@ def on_btn_save(self):
719719
self.config[self.radio_selected] = self.ui.data_out.toPlainText()
720720
self.dump_config()
721721

722-
def wheelEvent(self, event):
723-
724-
# If on Send / display QR tab
725-
if self.ui.tabWidget.currentIndex() == 1:
726-
numPixels = event.pixelDelta()
727-
numDegrees = event.angleDelta() / 8
728-
step = 0
729-
if not numPixels.isNull():
730-
step = numPixels.y()
731-
elif not numDegrees.isNull():
732-
numSteps = numDegrees / 15
733-
step = numSteps.y()
734-
735-
self.ui.delay_slider.setValue(self.ui.delay_slider.value() + self.ui.delay_slider.singleStep() * step)
736-
737-
event.accept()
738-
739722

740723
if __name__ == '__main__':
741724
# the QUiLoader object needs to be initialized BEFORE the QApplication - https://stackoverflow.com/a/78041695

0 commit comments

Comments
 (0)