hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
sequencerpanel_item.SequencerPanelItem Class Reference

Used to as holder of a the button to execute a command and a label with step description. More...

Inheritance diagram for sequencerpanel_item.SequencerPanelItem:

Public Member Functions

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.
 

Public Attributes

 ui
 

Static Public Attributes

Signal process_started = Signal(str)
 
Signal process_stopped = Signal(str)
 
Signal process_about_to_stop = Signal(str)
 

Protected Attributes

 _name
 
 _command
 
 _description
 
 _seqtool_process
 
 _sequence
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def sequencerpanel_item.SequencerPanelItem.__init__ (   self,
str  name,
str  command,
str  sequence,
str  description,
  parent = None,
args,
**  kwargs 
)

Constructor.

Parameters
nameString to be displayed inside the QPushButton
sequenceSequence 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
descriptionBasic steps description done by the sequence call
parentQWidget that holds this objects as children
argsOptional arguments
kwargsNumber of arguments

◆ __del__()

def sequencerpanel_item.SequencerPanelItem.__del__ (   self)

Member Function Documentation

◆ 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
stateQProcess State :return:

Member Data Documentation

◆ _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: