Controller
Main Controller
- class Moilapp_Controller.Controller(*args: Any, **kwargs: Any)[source]
-
Bases:
Ui_MainWindow
- Parameters:
-
() (parent)
- connect_event()[source]
-
Connect every event on user interface like button event, mouse event and etc to the function processing.
- open_image()[source]
-
Open Dialog to search the file image from directory. This function also will read the comment from metadata image.
- onclick_load_video()[source]
-
Open Dialog to search video file from Directory. after you select the video file, it will show the prompt to select the type of camera.
- open_camera()[source]
-
open the camera from the available source in the system, this function provide 2 source namely USB cam and Streaming cam from Raspberry pi.
- running_video(video_source, easySpin=False)[source]
-
Open Video following the source given.
- Parameters:
-
() (video_source) – the source of media, can be camera and video file.
- save_image()[source]
-
Save image into local directory, it can save original image or result image from panorama or anypoint processing.
- addWidget(image)[source]
-
Add the image widget in the list widget_controller of saved image. it can be reopen when you select. :param image (): the image saved.
- saved_image_activated()[source]
-
Function that for connect with the event in list widget to reopen the image.