dir and file structure creation

Initial window testing (POC)
This commit is contained in:
bryce
2025-08-16 13:09:32 +12:00
parent af723e27df
commit 66434a19b5
17 changed files with 65 additions and 0 deletions

0
.gitignore vendored Normal file
View File

View File

View File

View File

0
build.bat Normal file
View File

0
build.sh Normal file
View File

0
config/app_settigns.json Normal file
View File

0
config/app_settings.json Normal file
View File

29
requirements.txt Normal file
View File

@@ -0,0 +1,29 @@
certifi==2025.8.3
charset-normalizer==3.4.3
contourpy==1.3.3
cycler==0.12.1
decorator==5.2.1
fonttools==4.59.1
greenlet==3.2.4
idna==3.10
kiwisolver==1.4.9
lxml==6.0.0
matplotlib==3.10.5
numpy==2.3.2
obspy==1.4.2
packaging==25.0
pandas==2.3.1
pillow==11.3.0
pyparsing==3.2.3
PyQt6==6.9.1
PyQt6-Qt6==6.9.1
PyQt6_sip==13.10.2
python-dateutil==2.9.0.post0
pytz==2025.2
requests==2.32.4
scipy==1.16.1
setuptools==80.9.0
six==1.17.0
SQLAlchemy==1.4.54
tzdata==2025.2
urllib3==2.5.0

0
setup.py Normal file
View File

0
src/__init__.py Normal file
View File

0
src/data/__init__.py Normal file
View File

12
src/main.py Normal file
View File

@@ -0,0 +1,12 @@
import sys
from PyQt6.QtWidgets import QApplication
from src.ui.main_window import MainWindow
def main():
app = QApplication(sys.argv)
window = Mainwindow()
window.show()
sys.exit(app.exec())
if __name__ == '__main__':
main()

0
src/models/__init__.py Normal file
View File

0
src/ui/__init__.py Normal file
View File

24
src/ui/main_window.py Normal file
View File

@@ -0,0 +1,24 @@
from PyQt6.QtWidgets import QMainWindow, QLabel, QVBoxLayout, QWidget
from PyQt6.QtCore import Qt
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("NZ EarthQuake Viewer (POC)")
self.setGeometry(100, 100, 1200, 800) # x, y, width, height
central_widget = QWidget()
self.setCentralWidget(central_widget)
main_layout = QVBoxLayout(central_widget)
self.hello_label = QLabel("Hello from PyQt! This is Working.", self)
self. hello_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.hello_label.setStyleSheet("font-size: 24px; color: #333; padding: 20px;")
main_layout.addWidget(self.hello_label)

0
src/utils/__init__.py Normal file
View File