Files
mucapy/mucapy/todopackage/todo.py
rattatwinko 61c8f8bd90
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m42s
CPU style add
2025-06-12 05:23:44 +00:00

113 lines
4.9 KiB
Python

"""
Here we have a simple fucking class to get the fuckass Todo thing
Probably will do none of them
anyways, if you have suggestions pr this shit
idk if you are smarter than me then actually do them.
<-----------------------------------------------------------------
I feel more like a Frontend Dev doing this shit.
If you are a Frontend Dev then fuck you. Fuckass React Devs.
----------------------------------------------------------------->
fuck you , if you can't read this then kys. This is designed to be very readable.
-Rattatwinko 8.jun.25 (20:25)
"""
class todo:
def __init__(self):
#------------------------------------------------------------------------------------------------------------------------------------------------#
self.information : str = """
MuCaPy TODO List:
NOTE: If you want to run this in Visual Studio Codes built in Terminal you will get fucked in your tiny tight ass.
NOTE: If you ran this from the Workflow Package, you cant do shit. fuck you.
NOTE: If you compiled this yourself ; you are one Fucking Genious
Changes:
Todo in About ; Seperate File (@todo.py)
""" # This will center!
#------------------------------------------------------------------------------------------------------------------------------------------------#
"""
!## This was the Quessadilla Bug at earlier 75. With next commit delete that out of the todo Variable ##!
This has nothing to do with the About Window
It just happens to fit in here.
I really dont like my Strings in my logic. It throws me off.
I know it overcomplicates shit but Python is readable anyways.
"""
self.instructions_CaSeDi_QLabel : str = """
Camera Selection Guide:\n
• Local Cameras: Built-in and USB cameras
• Network Cameras: IP cameras, DroidCam, etc.
• Use checkboxes to select/deselect cameras
• Double-click a camera to test the connection
• Selected cameras will appear in the preview bellow
"""
#------------------------------------------------------------------------------------------------------------------------------------------------#
self.todo : str="""
TODO:
[] - Fix Network Cameras from Crashing the Programm (This sometimes happens when only network cams are selected and it times out)
[/] - Make Seperate Styling (unlikely that this will happen)
- CPU seperate styling is available , set variable in QMainWindow
[] - RTSP Camera Streaming
""" # This will display lefty (look in about window class)
#------------------------------------------------------------------------------------------------------------------------------------------------#
self.cameraURL : str = """
Cameras:
- http://pendelcam.kip.uni-heidelberg.de/mjpg/video.mjpg
""" # This will also display centered
#------------------------------------------------------------------------------------------------------------------------------------------------#
self.beaver : str="""
___
.=" "=._.---.
."" c ' Y'`p
/ , `. w_/
jgs | '-. / /
_,..._| )_-\ \_=.\
`-....-'`--------)))`=-'"`'"
""" # The beaver isnt really angry anymore. Idk why, now hes chill
#------------------------------------------------------------------------------------------------------------------------------------------------#
self.archived_todo : str = """
Archived Todo List:
[X] - Fix Quesadilla Bug. @todo.py:75 , This has nothing to do with the About Window, but the Network Camera Dialog in @main.py:1038/1049
- Fixed this. @todo.py now has a Singleton Initializer. Idk. "Brotha ew - Tsoding in May". Fuck you
[] - Make MJPEG more stable and efficient. (maybe use c++ for this or rust)
- Wont happen ; remove next commit, this is as efficient as it gets
"""
#------------------------------------------------------------------------------------------------------------------------------------------------#
"""
For a change we actually declare the Types.
I usually leave this to the Interpreter, it does it anyway
"""
# Return the Todo String
def gettodo(self) -> str:
return self.todo
# Return the Information about the Programm
def getinfo(self) -> str:
return self.information
# Return the Camera URL Thing
def getcams(self) -> str:
return self.cameraURL
# Get Network Camera Instructions (in the setup dialog)
def get_instructions_CaSeDi_QLabel(self) -> str:
return self.instructions_CaSeDi_QLabel
# Get the fuckass beaver. very angwy :3
def get_beaver(self) -> str:
return self.beaver
# Get the Archive.
def getarchive(self) -> str:
return self.archived_todo
todo = todo()