Skip to content

Commit bca41e4

Browse files
committed
V1.1.1 hotfix
1 parent 0f8c3c3 commit bca41e4

9 files changed

Lines changed: 107 additions & 7 deletions

SWV.spec

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['main.py'],
6+
pathex=[],
7+
binaries=[],
8+
datas=[('images', 'images')],
9+
hiddenimports=[],
10+
hookspath=[],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
optimize=0,
16+
)
17+
pyz = PYZ(a.pure)
18+
splash = Splash(
19+
'images\\SWVtitle111.png',
20+
binaries=a.binaries,
21+
datas=a.datas,
22+
text_pos=None,
23+
text_size=12,
24+
minify_script=True,
25+
always_on_top=True,
26+
)
27+
28+
exe = EXE(
29+
pyz,
30+
a.scripts,
31+
splash,
32+
[],
33+
exclude_binaries=True,
34+
name='SWV',
35+
debug=False,
36+
bootloader_ignore_signals=False,
37+
strip=False,
38+
upx=True,
39+
console=False,
40+
disable_windowed_traceback=False,
41+
argv_emulation=False,
42+
target_arch=None,
43+
codesign_identity=None,
44+
entitlements_file=None,
45+
icon=['images\\SWVicon.ico'],
46+
)
47+
coll = COLLECT(
48+
exe,
49+
a.binaries,
50+
a.datas,
51+
splash.binaries,
52+
strip=False,
53+
upx=True,
54+
upx_exclude=[],
55+
name='SWV',
56+
)

StandingWaveViewer.spec

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['main.py'],
6+
pathex=[],
7+
binaries=[],
8+
datas=[('images', 'images')],
9+
hiddenimports=[],
10+
hookspath=[],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
optimize=0,
16+
)
17+
pyz = PYZ(a.pure)
18+
19+
exe = EXE(
20+
pyz,
21+
a.scripts,
22+
[],
23+
exclude_binaries=True,
24+
name='StandingWaveViewer',
25+
debug=False,
26+
bootloader_ignore_signals=False,
27+
strip=False,
28+
upx=True,
29+
console=False,
30+
disable_windowed_traceback=False,
31+
argv_emulation=False,
32+
target_arch=None,
33+
codesign_identity=None,
34+
entitlements_file=None,
35+
)
36+
coll = COLLECT(
37+
exe,
38+
a.binaries,
39+
a.datas,
40+
strip=False,
41+
upx=True,
42+
upx_exclude=[],
43+
name='StandingWaveViewer',
44+
)

__pycache__/config.cpython-314.pyc

36 Bytes
Binary file not shown.

__pycache__/graphs.cpython-314.pyc

36 Bytes
Binary file not shown.
36 Bytes
Binary file not shown.

__pycache__/render.cpython-314.pyc

36 Bytes
Binary file not shown.
36 Bytes
Binary file not shown.

images/SWVicon.ico

214 KB
Binary file not shown.

main.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,15 +303,15 @@ def _build_left(self):
303303
mode_lay.addWidget(QLabel("Source"), 0, 0)
304304
self.source_combo = QComboBox()
305305
self.source_combo.addItems(["1", "2"])
306-
self.source_combo.setFont(mono(10))
306+
self.source_combo.setFont(mono(9))
307307
mode_lay.addWidget(self.source_combo, 0, 1)
308308

309-
mode_lay.addWidget(QLabel("Stereo phase corr."), 1, 0)
309+
mode_lay.addWidget(QLabel("Phase correction"), 1, 0)
310310
self.phase_combo = QComboBox()
311311
self.phase_combo.addItems(
312312
["Uncorrected", "Global cancel", "True complex field"]
313313
)
314-
self.phase_combo.setFont(mono(10))
314+
self.phase_combo.setFont(mono(9))
315315
mode_lay.addWidget(self.phase_combo, 1, 1)
316316
lay.addWidget(mode_box)
317317

@@ -827,15 +827,15 @@ def _build_right(self):
827827

828828
# --- Room modes table ----------------------------------------
829829
modes_box = QGroupBox("Room modes")
830-
modes_box.setFont(mono(10, bold=True))
830+
modes_box.setFont(mono(9, bold=True))
831831
modes_lay = QVBoxLayout(modes_box)
832832
self.modes_table = QTableWidget(16, 3)
833-
self.modes_table.setFont(mono(10))
833+
self.modes_table.setFont(mono(9))
834834
self.modes_table.setHorizontalHeaderLabels(
835835
["Hz", "Modes (x, y, z)", "L (m)"]
836836
)
837837
self.modes_table.verticalHeader().setVisible(False)
838-
self.modes_table.horizontalHeader().setFont(mono(10, bold=True))
838+
self.modes_table.horizontalHeader().setFont(mono(9, bold=True))
839839
self.modes_table.setEditTriggers(QTableWidget.NoEditTriggers)
840840
# Small breathing room between cell text and the cell borders.
841841
self.modes_table.setStyleSheet("QTableWidget::item { padding: 1px; }")
@@ -865,12 +865,12 @@ def main():
865865
app = QApplication(sys.argv)
866866
app.setFont(mono(10))
867867
win = MainWindow()
868-
win.show()
869868
try:
870869
import pyi_splash
871870
pyi_splash.close()
872871
except ImportError:
873872
pass
873+
win.show()
874874
sys.exit(app.exec())
875875

876876

0 commit comments

Comments
 (0)