Skip to content

Commit

Permalink
ACEstatGUI
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseMBarr committed May 5, 2022
1 parent 6671e6c commit 98d74df
Show file tree
Hide file tree
Showing 49 changed files with 3,371 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.png filter=lfs diff=lfs merge=lfs -text
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build
dist
__pycache__
MANIFEST
cmd.bat
/venv
*.ini
*.json
34 changes: 34 additions & 0 deletions ACEstatGUI.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# -*- mode: python -*-

from PyInstaller.utils.hooks import collect_data_files

block_cipher = None

a = Analysis(['./src/Main.py'],
pathex=[],
binaries=[],
datas=[
('./resources', 'resources'),
*collect_data_files('acestatpy')
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)

pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='ACEstatGUI',
debug=False,
strip=False,
upx=True,
console=False,
icon='resources/icons/usace_logo.ico' )
4 changes: 4 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
USACE ERDC ACESTAT
Copyright (c) 2021 U.S. Army Corps of Engineers Engineering Research and Development Center. All rights reserved.


Creative Commons Legal Code

CC0 1.0 Universal
Expand Down
4 changes: 4 additions & 0 deletions compile.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
:: Python 3
CALL venv\Scripts\activate.bat
python -m PyInstaller ACEstatGUI.spec
pause
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#acestatpy==2022.4.28.1 # Must be installed from file
matplotlib==3.5.1
PyQt5==5.15.6
pyqtgraph==0.12.3
#PyQt6==6.0.3
#PySide6==6.0.3
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_down_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_left_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_right_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/dark/arrow_up_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/arrow_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/filesave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/minus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/move.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/next.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/prev.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/light/zoom_to_rect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/icons/usace_logo.ico
Binary file not shown.
28 changes: 28 additions & 0 deletions resources/resources.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>icons/usace_logo.ico</file>
<file>styles/ElegantDark.qss</file>
<file>Tests.xml</file>
</qresource>
<qresource prefix="/dark">
<file alias="arrow_down.png">icons/dark/arrow_down.png</file>
<file alias="arrow_down_disabled.png">icons/dark/arrow_down_disabled.png</file>
<file alias="arrow_up.png">icons/dark/arrow_up.png</file>
<file alias="arrow_up_disabled.png">icons/dark/arrow_up_disabled.png</file>
<file alias="arrow_right.png">icons/dark/arrow_right.png</file>
<file alias="arrow_right_disabled.png">icons/dark/arrow_right_disabled.png</file>
<file alias="arrow_left.png">icons/dark/arrow_left.png</file>
<file alias="arrow_left_disabled.png">icons/dark/arrow_left_disabled.png</file>
</qresource>
<qresource prefix="/light">
<file alias="arrow_down.png">icons/light/arrow_down.png</file>
<file alias="plus.png">icons/light/plus.png</file>
<file alias="minus.png">icons/light/minus.png</file>
<file alias="filesave.png">icons/light/filesave.png</file>
<file alias="home.png">icons/light/home.png</file>
<file alias="move.png">icons/light/move.png</file>
<file alias="next.png">icons/light/next.png</file>
<file alias="prev.png">icons/light/prev.png</file>
<file alias="zoom_to_rect.png">icons/light/zoom_to_rect.png</file>
</qresource>
</RCC>
Loading

0 comments on commit 98d74df

Please sign in to comment.