Public Member Functions | |
def | __init__ |
def | init_client |
def | init_logging |
def | start_full |
def | start_daemon |
def | stop_client |
def | restart_client |
def | create_main_window |
def | init_main |
def | hide_main_window |
def | close_main_window |
def | create_controller |
def | init_controller |
def | close_controller |
def | init_sys_tray |
def | create_sys_tray |
def | close_sys_tray |
def | process_message |
def | end |
Public Attributes | |
translate | |
status | |
controller | |
main | |
sys_tray | |
logger | |
log | |
Static Public Attributes | |
tuple | restarted = QtCore.pyqtSignal() |
Detailed Description
The final layer of the class onion that is the Commotion client. This class includes functions to enable the sub-processes and modules of the Commotion Client (GUI's and controllers).
Member Function Documentation
def commotion_client.commotion_client.CommotionClientApplication.close_controller | ( | self, | |
force_close = None |
|||
) |
Closes the controller process. @param force_close bool If the application fails to kill the controller, the whole application should be shut down.
Referenced by commotion_client.commotion_client.CommotionClientApplication.stop_client().
def commotion_client.commotion_client.CommotionClientApplication.close_main_window | ( | self, | |
force_close = None |
|||
) |
Closes the main window and task-bar. Only removes the GUI components without closing the application. @param force_close bool If the application fails to kill the main window, the whole application should be shut down. @return bool
References commotion_client.commotion_client.HoldStateDuringRestart.end(), commotion_client.commotion_client.CommotionClientApplication.end(), commotion_client.commotion_client.CommotionClientApplication.main, and commotion_client.commotion_client.CommotionClientApplication.translate.
Referenced by commotion_client.commotion_client.CommotionClientApplication.hide_main_window(), and commotion_client.commotion_client.CommotionClientApplication.stop_client().
def commotion_client.commotion_client.CommotionClientApplication.close_sys_tray | ( | self, | |
force_close = None |
|||
) |
Closes the system tray. Only removes the GUI components without closing the application. @param force_close bool If the application fails to kill the main window, the whole application should be shut down. @return bool
References commotion_client.commotion_client.HoldStateDuringRestart.end(), commotion_client.commotion_client.CommotionClientApplication.end(), commotion_client.commotion_client.CommotionClientApplication.sys_tray, and commotion_client.commotion_client.CommotionClientApplication.translate.
Referenced by commotion_client.commotion_client.CommotionClientApplication.stop_client().