hlcc 2.0.0-beta2+pre1
|
Gives an interface between the UI and the MAL client. More...
Public Member Functions | |
def | __init__ (self, list process_configuration, parent) |
Constructor. | |
def | set_connection_state (self, bool connection_status) |
Based on the facade connection save the status. | |
def | get_connection_state (self) |
Based on the facade connection return the status. | |
def | get_qeprocess_name (self) |
Return QeProcess name. | |
def | start_trigger_action (self) |
Called by the start action menu button to begin server process. | |
def | stop_trigger_action (self) |
Called by the stop action menu button to handle server termination. | |
def | on_process_state_change (self, QProcess.ProcessState state) |
Slots Methods ###. | |
Static Public Attributes | |
Signal | process_started = Signal(str) |
Signal | process_stopped = Signal(str) |
Signal | process_about_to_stop = Signal(str) |
Protected Attributes | |
_facade_connection | |
_process_name | |
_process_cmd | |
_process_args | |
_server_process | |
Gives an interface between the UI and the MAL client.
Each QeProcess is then added to the QeProcessesList.
def qeprocess_item.QeProcessItem.__init__ | ( | self, | |
list | process_configuration, | ||
parent | |||
) |
Constructor.
process_configuration | List holding the specific process configuration |
parent | QObject that contains the object as child |
def qeprocess_item.QeProcessItem.get_connection_state | ( | self | ) |
Based on the facade connection return the status.
def qeprocess_item.QeProcessItem.get_qeprocess_name | ( | self | ) |
Return QeProcess name.
def qeprocess_item.QeProcessItem.on_process_state_change | ( | self, | |
QProcess.ProcessState | state | ||
) |
Slots Methods ###.
Invoked when the server state change, calling the process start and stop signals
state | QProcess State :return: |
def qeprocess_item.QeProcessItem.set_connection_state | ( | self, | |
bool | connection_status | ||
) |
Based on the facade connection save the status.
connection_status | Boolean connection status :return: |
def qeprocess_item.QeProcessItem.start_trigger_action | ( | self | ) |
Called by the start action menu button to begin server process.
def qeprocess_item.QeProcessItem.stop_trigger_action | ( | self | ) |
Called by the stop action menu button to handle server termination.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |