initial commit

This commit is contained in:
jothi
2025-08-06 12:24:45 +05:30
commit 6c73039a1a
22 changed files with 3273 additions and 0 deletions

15
styles.py Normal file
View File

@@ -0,0 +1,15 @@
import os
def load_login_qss():
"""
Load and return the contents of 'login.qss',
located in the same directory as this script.
"""
base = os.path.dirname(os.path.abspath(__file__))
path = os.path.join(base, "login.qss")
try:
with open(path, encoding="utf-8") as f:
return f.read()
except OSError as e:
print(f"Error loading login.qss: {e}")
return ""