bullcrap
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m44s
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m44s
This commit is contained in:
@@ -897,6 +897,14 @@ class AboutWindow(QDialog):
|
|||||||
print(f"Missing a Style File! => {todo_style_path}")
|
print(f"Missing a Style File! => {todo_style_path}")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
# Create the labels for the fucking trodo ass shit ?
|
||||||
|
self.todo_archive_object = todo
|
||||||
|
todo_archive_text = self.get_archive_text()
|
||||||
|
todo_archive_label = QLabel(f"<pre>{todo_archive_text}</pre>")
|
||||||
|
todo_archive_label.setWordWrap(True)
|
||||||
|
todo_archive_label.setAlignment(Qt.AlignLeft)
|
||||||
|
todo_archive_label.setStyleSheet("color: #02d1fa ;font-style: italic;")
|
||||||
|
|
||||||
self.info_obj = todo
|
self.info_obj = todo
|
||||||
info_text = self.get_info_text()
|
info_text = self.get_info_text()
|
||||||
info_label = QLabel(f"<pre>{info_text}</pre>")
|
info_label = QLabel(f"<pre>{info_text}</pre>")
|
||||||
@@ -914,6 +922,7 @@ class AboutWindow(QDialog):
|
|||||||
if True == True:
|
if True == True:
|
||||||
layout.addWidget(info_label)
|
layout.addWidget(info_label)
|
||||||
layout.addWidget(todo_label)
|
layout.addWidget(todo_label)
|
||||||
|
layout.addWidget(todo_archive_label)
|
||||||
layout.addWidget(cam_label)
|
layout.addWidget(cam_label)
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
@@ -1023,6 +1032,16 @@ class AboutWindow(QDialog):
|
|||||||
return "Invalid"
|
return "Invalid"
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return f"fuck you => {e}"
|
return f"fuck you => {e}"
|
||||||
|
|
||||||
|
def get_archive_text(self):
|
||||||
|
try:
|
||||||
|
todo_archive_text = self.todo_archive_object.todo.getarchive()
|
||||||
|
if isinstance(todo_archive_text,str):
|
||||||
|
return todo_archive_text.strip()
|
||||||
|
else:
|
||||||
|
return "invalid format??"
|
||||||
|
except Exception as e:
|
||||||
|
return "?? ==> {e}"
|
||||||
|
|
||||||
def get_cam_text(self):
|
def get_cam_text(self):
|
||||||
try:
|
try:
|
||||||
@@ -2407,6 +2426,7 @@ class initQT():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
# Initialize Qt if on Linux ; If shit fails then modify these Functions
|
# Initialize Qt if on Linux ; If shit fails then modify these Functions
|
||||||
if platform.system() == "Linux":
|
if platform.system() == "Linux":
|
||||||
qt = initQT()
|
qt = initQT()
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class todo:
|
|||||||
MuCaPy TODO List:
|
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 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 have somehow managed to fix errors even God cant figure out.
|
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
|
NOTE: If you compiled this yourself ; you are one Fucking Genious
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
@@ -30,7 +30,6 @@ Todo in About ; Seperate File (@todo.py)
|
|||||||
|
|
||||||
|
|
||||||
""" # This will center!
|
""" # This will center!
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
||||||
"""
|
"""
|
||||||
!## This was the Quessadilla Bug at earlier 75. With next commit delete that out of the todo Variable ##!
|
!## This was the Quessadilla Bug at earlier 75. With next commit delete that out of the todo Variable ##!
|
||||||
@@ -50,29 +49,21 @@ Todo in About ; Seperate File (@todo.py)
|
|||||||
• Double-click a camera to test the connection
|
• Double-click a camera to test the connection
|
||||||
• Selected cameras will appear in the preview bellow
|
• Selected cameras will appear in the preview bellow
|
||||||
"""
|
"""
|
||||||
|
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
||||||
#-------------------------------------------------------------------------------------------------------------------------------------------------#
|
self.todo : str="""
|
||||||
|
|
||||||
self.todo:str="""
|
|
||||||
TODO:
|
TODO:
|
||||||
[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
|
|
||||||
[] - Fix Network Cameras from Crashing the Programm (This sometimes happens when only network cams are selected and it times out)
|
[] - 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)
|
[] - Make Seperate Styling (unlikely that this will happen)
|
||||||
[] - RTSP Camera Streaming
|
[] - RTSP Camera Streaming
|
||||||
[] - Make MJPEG more stable and efficient. (maybe use c++ for this or rust)
|
|
||||||
- NOTE: http://pendelcam.kip.uni-heidelberg.de/mjpg/video.mjpg
|
|
||||||
This is a Testing URL for MJPEG (stable and renders fine)
|
|
||||||
|
|
||||||
""" # This will display lefty (look in about window class)
|
""" # This will display lefty (look in about window class)
|
||||||
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
||||||
|
|
||||||
self.cameraURL : str = """
|
self.cameraURL : str = """
|
||||||
Cameras:
|
Cameras:
|
||||||
- http://pendelcam.kip.uni-heidelberg.de/mjpg/video.mjpg
|
- http://pendelcam.kip.uni-heidelberg.de/mjpg/video.mjpg
|
||||||
""" # This will also display centered
|
""" # This will also display centered
|
||||||
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
||||||
self.beaver:str="""
|
self.beaver : str="""
|
||||||
___
|
___
|
||||||
.=" "=._.---.
|
.=" "=._.---.
|
||||||
."" c ' Y'`p
|
."" c ' Y'`p
|
||||||
@@ -80,15 +71,16 @@ Cameras:
|
|||||||
jgs | '-. / /
|
jgs | '-. / /
|
||||||
_,..._| )_-\ \_=.\
|
_,..._| )_-\ \_=.\
|
||||||
`-....-'`--------)))`=-'"`'"
|
`-....-'`--------)))`=-'"`'"
|
||||||
|
""" # The beaver isnt really angry anymore. Idk why, now hes chill
|
||||||
_______________________________________________
|
#------------------------------------------------------------------------------------------------------------------------------------------------#
|
||||||
| |
|
self.archived_todo : str = """
|
||||||
| i am the angry beaver, fuck you ! :3 |
|
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.
|
For a change we actually declare the Types.
|
||||||
@@ -99,7 +91,6 @@ Cameras:
|
|||||||
# Return the Todo String
|
# Return the Todo String
|
||||||
def gettodo(self) -> str:
|
def gettodo(self) -> str:
|
||||||
return self.todo
|
return self.todo
|
||||||
|
|
||||||
# Return the Information about the Programm
|
# Return the Information about the Programm
|
||||||
def getinfo(self) -> str:
|
def getinfo(self) -> str:
|
||||||
return self.information
|
return self.information
|
||||||
@@ -113,5 +104,8 @@ Cameras:
|
|||||||
# Get the fuckass beaver. very angwy :3
|
# Get the fuckass beaver. very angwy :3
|
||||||
def get_beaver(self) -> str:
|
def get_beaver(self) -> str:
|
||||||
return self.beaver
|
return self.beaver
|
||||||
|
# Get the Archive.
|
||||||
|
def getarchive(self) -> str:
|
||||||
|
return self.archived_todo
|
||||||
|
|
||||||
todo = todo()
|
todo = todo()
|
||||||
|
|||||||
Reference in New Issue
Block a user