Used to as holder of a the button to execute a command and a label with step description.
More...
|
def | __init__ (self, str name, str command, str sequence, str description, parent=None, *args, **kwargs) |
| Constructor.
|
|
def | __del__ (self) |
|
def | execute_sequence_command (self) |
| Called by the start action menu button to begin server process.
|
|
def | on_process_state_change (self, QProcess.ProcessState state) |
| Invoked when the server state change, calling the process start and stop signals.
|
|
Used to as holder of a the button to execute a command and a label with step description.
Each Item will then be added to the Sequencer List.
◆ __init__()
def sequencerpanel_item.SequencerPanelItem.__init__ |
( |
|
self, |
|
|
str |
name, |
|
|
str |
command, |
|
|
str |
sequence, |
|
|
str |
description, |
|
|
|
parent = None , |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Constructor.
- Parameters
-
name | String to be displayed inside the QPushButton |
sequence | Sequence file to be loaded when QPushButton is clicked Three options are allowed: .json file name -> it is an OB to be found in CFGPATH .py file name -> it is a python sequence file to be found in CFGPATH python module name -> it is a python module to be found in PYTHONPATH |
description | Basic steps description done by the sequence call |
parent | QWidget that holds this objects as children |
args | Optional arguments |
kwargs | Number of arguments |
◆ __del__()
def sequencerpanel_item.SequencerPanelItem.__del__ |
( |
|
self | ) |
|
◆ execute_sequence_command()
def sequencerpanel_item.SequencerPanelItem.execute_sequence_command |
( |
|
self | ) |
|
Called by the start action menu button to begin server process.
- Returns
- Confirm if the independent process was successfully created
◆ on_process_state_change()
def sequencerpanel_item.SequencerPanelItem.on_process_state_change |
( |
|
self, |
|
|
QProcess.ProcessState |
state |
|
) |
| |
Invoked when the server state change, calling the process start and stop signals.
- Parameters
-
state | QProcess State :return: |
◆ _command
sequencerpanel_item.SequencerPanelItem._command |
|
protected |
◆ _description
sequencerpanel_item.SequencerPanelItem._description |
|
protected |
◆ _name
sequencerpanel_item.SequencerPanelItem._name |
|
protected |
◆ _seqtool_process
sequencerpanel_item.SequencerPanelItem._seqtool_process |
|
protected |
◆ _sequence
sequencerpanel_item.SequencerPanelItem._sequence |
|
protected |
◆ process_about_to_stop
Signal sequencerpanel_item.SequencerPanelItem.process_about_to_stop = Signal(str) |
|
static |
◆ process_started
Signal sequencerpanel_item.SequencerPanelItem.process_started = Signal(str) |
|
static |
◆ process_stopped
Signal sequencerpanel_item.SequencerPanelItem.process_stopped = Signal(str) |
|
static |
◆ ui
sequencerpanel_item.SequencerPanelItem.ui |
The documentation for this class was generated from the following file: